This also avoids writing a lot of (void)s.
else
r = radius;
-
- const double r2=r*r;
- Assert(std::fabs(v0*v0-r2)<eps*r2, ExcInternalError());
- Assert(std::fabs(v1*v1-r2)<eps*r2, ExcInternalError());
+ Assert(std::fabs(v0*v0-r*r)<eps*r*r, ExcInternalError());
+ Assert(std::fabs(v1*v1-r*r)<eps*r*r, ExcInternalError());
const double alpha=std::acos((v0*v1)/std::sqrt((v0*v0)*(v1*v1)));
const Tensor<1,spacedim> pm=0.5*(v0+v1);
tolerance(tolerance)
{
Assert(spacedim == 3, ExcNotImplemented());
-
- std_cxx11::tuple<unsigned int, unsigned int, unsigned int>
- counts = count_elements(sh);
-
- Assert(std_cxx11::get<0>(counts) > 0, ExcMessage("NormalToMeshProjectionBoundary needs a shape containing faces to operate."));
+ Assert(std_cxx11::get<0>(count_elements(sh)) > 0,
+ ExcMessage("NormalToMeshProjectionBoundary needs a shape containing faces to operate."));
}
In the beginning the Universe was created. This has made a lot of
people very angry and has been widely regarded as a bad move.
Douglas Adams