return;
}
AssertThrow (false, ExcNotImplemented());
+ break;
case 2:
switch (dimensions.second)
return;
}
AssertThrow (false, ExcNotImplemented());
+ break;
case 3:
switch (dimensions.second)
switch (N)
{
- case 1: // fallthrough
+ case 1:
Assert (index1 == numbers::invalid_unsigned_int, ExcMessage("more than N index values provided"));
- case 2: // fallthrough
+ DEAL_II_FALLTHROUGH;
+ case 2:
Assert (index2 == numbers::invalid_unsigned_int, ExcMessage("more than N index values provided"));
- case 3: // fallthrough
+ DEAL_II_FALLTHROUGH;
+ case 3:
Assert (index3 == numbers::invalid_unsigned_int, ExcMessage("more than N index values provided"));
- case 4: // fallthrough
+ DEAL_II_FALLTHROUGH;
+ case 4:
Assert (index4 == numbers::invalid_unsigned_int, ExcMessage("more than N index values provided"));
- case 5: // fallthrough
+ DEAL_II_FALLTHROUGH;
+ case 5:
Assert (index5 == numbers::invalid_unsigned_int, ExcMessage("more than N index values provided"));
- case 6: // fallthrough
+ DEAL_II_FALLTHROUGH;
+ case 6:
Assert (index6 == numbers::invalid_unsigned_int, ExcMessage("more than N index values provided"));
- case 7: // fallthrough
+ DEAL_II_FALLTHROUGH;
+ case 7:
Assert (index7 == numbers::invalid_unsigned_int, ExcMessage("more than N index values provided"));
- case 8: // fallthrough
+ DEAL_II_FALLTHROUGH;
+ case 8:
Assert (index8 == numbers::invalid_unsigned_int, ExcMessage("more than N index values provided"));
+ break;
default:
;
}
// remaining indices to numbers::invalid_unsigned_int:
for (unsigned int i=0; i<N; ++i)
indices[i] = numbers::invalid_unsigned_int;
- case 9: // fallthrough
+ DEAL_II_FALLTHROUGH;
+ case 9:
indices[8 % N] = index8;
- case 8: // fallthrough
+ DEAL_II_FALLTHROUGH;
+ case 8:
indices[7 % N] = index7;
- case 7: // fallthrough
+ DEAL_II_FALLTHROUGH;
+ case 7:
indices[6 % N] = index6;
- case 6: // fallthrough
+ DEAL_II_FALLTHROUGH;
+ case 6:
indices[5 % N] = index5;
- case 5: // fallthrough
+ DEAL_II_FALLTHROUGH;
+ case 5:
indices[4 % N] = index4;
- case 4: // fallthrough
+ DEAL_II_FALLTHROUGH;
+ case 4:
indices[3 % N] = index3;
- case 3: // fallthrough
+ DEAL_II_FALLTHROUGH;
+ case 3:
indices[2 % N] = index2;
- case 2: // fallthrough
+ DEAL_II_FALLTHROUGH;
+ case 2:
indices[1 % N] = index1;
- case 1: // fallthrough
+ DEAL_II_FALLTHROUGH;
+ case 1:
indices[0 % N] = index0;
}
if (!comp(*first, val))
return first;
++first;
+ DEAL_II_FALLTHROUGH;
case 6:
if (!comp(*first, val))
return first;
++first;
+ DEAL_II_FALLTHROUGH;
case 5:
if (!comp(*first, val))
return first;
++first;
+ DEAL_II_FALLTHROUGH;
case 4:
if (!comp(*first, val))
return first;
++first;
+ DEAL_II_FALLTHROUGH;
case 3:
if (!comp(*first, val))
return first;
++first;
+ DEAL_II_FALLTHROUGH;
case 2:
if (!comp(*first, val))
return first;
++first;
+ DEAL_II_FALLTHROUGH;
case 1:
if (!comp(*first, val))
return first;
for (unsigned int k=0; k<this->dofs_per_quad; ++k)
output_data.shape_values(foffset+k,i) = fe_data.shape_values[k+this->first_face_quad_index][i];
}
-
- // fall through...
}
+ DEAL_II_FALLTHROUGH;
case 2:
{
= fe_data.shape_values[k+(line*this->dofs_per_line)+this->first_face_line_index][i];
}
}
-
- // fall through...
}
+ DEAL_II_FALLTHROUGH;
case 1:
{
else
Assert(false,
ExcMessage("This cell has no grandchildren equivalent to isotropic refinement"));
+ break;
}
case 3:
else
Assert(false,
ExcMessage("This cell has no grandchildren equivalent to isotropic refinement"));
+ break;
}
default:
r2 = op(index++);
for (size_type j=1; j<8; ++j)
r2 += op(index++);
- // no break
+ DEAL_II_FALLTHROUGH;
case 2:
r1 = op(index++);
for (size_type j=1; j<8; ++j)
r1 += op(index++);
r1 += r2;
- // no break
+ DEAL_II_FALLTHROUGH;
case 1:
r2 = op(index++);
for (size_type j=1; j<8; ++j)
r2 += op(index++);
- // no break
+ DEAL_II_FALLTHROUGH;
default:
for (size_type j=0; j<remainder_inner; ++j)
r0 += op(index++);
update_flags |= UpdateFlags (update_gradients);
if (spacedim == dim+1)
update_flags |= UpdateFlags (update_normal_vectors);
- // no break!
+ DEAL_II_FALLTHROUGH;
default:
update_flags |= UpdateFlags (update_values);
{
while (1)
{
+ DEAL_II_FALLTHROUGH;
case step_A:
{
if (plainchar == plaintextend)
result = (fragment & 0x0fc) >> 2;
*codechar++ = base64_encode_value(result);
result = (fragment & 0x003) << 4;
+ DEAL_II_FALLTHROUGH;
}
case step_B:
{
result |= (fragment & 0x0f0) >> 4;
*codechar++ = base64_encode_value(result);
result = (fragment & 0x00f) << 2;
+ DEAL_II_FALLTHROUGH;
}
case step_C:
{
if (patch->points_are_available)
{
unsigned int point_no=0;
- // note: switch without break !
switch (dim)
{
case 3:
Assert (zstep<n_subdivisions+1, ExcIndexRange(zstep,0,n_subdivisions+1));
point_no+=(n_subdivisions+1)*(n_subdivisions+1)*zstep;
+ DEAL_II_FALLTHROUGH;
case 2:
Assert (ystep<n_subdivisions+1, ExcIndexRange(ystep,0,n_subdivisions+1));
point_no+=(n_subdivisions+1)*ystep;
+ DEAL_II_FALLTHROUGH;
case 1:
Assert (xstep<n_subdivisions+1, ExcIndexRange(xstep,0,n_subdivisions+1));
point_no+=xstep;
rgb_values.red = 1;
rgb_values.green = (4*x-xmin-3*xmax)*rezdif;
rgb_values.blue = (4.*x-sum13)*rezdif;
+ break;
default:
break;
}
case 1:
return x;
}
+ break;
}
case 2:
case 3:
return x*y;
}
+ break;
}
case 3:
case 7:
return x*y*z;
}
+ break;
}
default:
out |= update_hessians | update_values | update_gradients |
update_jacobian_pushed_forward_grads |
update_jacobian_pushed_forward_2nd_derivatives;
+ break;
}
+
case mapping_raviart_thomas:
case mapping_piola:
{
// we now also need to adjust the line index for the case of
// face orientation, face flips, etc
- unsigned int adjusted_dof_index_on_line;
+ unsigned int adjusted_dof_index_on_line = 0;
switch (dim)
{
case 1:
Assert (false, ExcInternalError());
+ break;
case 2:
// in 2d, only face_flip has a meaning. if it is set, consider
ExcNotImplemented());
adjusted_dof_index_on_line = dof_index_on_line;
break;
+
+ default:
+ Assert (false, ExcInternalError());
}
return (this->first_line_index
break;
case 7:
cell->face(f)->vertex(v) = center+Point<dim>(outer_radius,-outer_radius);
+ break;
default:
break;
}
{
case 3:
IJK[2]=0;
+ DEAL_II_FALLTHROUGH;
case 2:
IJK[1]=0;
+ DEAL_II_FALLTHROUGH;
case 1:
IJK[0]=0;
}
case -1:
AssertThrow (false, ExcMessage("AztecOO::Iterate error code -1: "
"option not implemented"));
+ break;
case -2:
AssertThrow (false, ExcMessage("AztecOO::Iterate error code -2: "
"numerical breakdown"));
+ break;
case -3:
AssertThrow (false, ExcMessage("AztecOO::Iterate error code -3: "
"loss of precision"));
+ break;
case -4:
AssertThrow (false, ExcMessage("AztecOO::Iterate error code -4: "
"GMRES Hessenberg ill-conditioned"));
+ break;
default:
AssertThrow (ierr >= 0, ExcTrilinosError(ierr));
}