From: Luca Heltai Date: Mon, 7 Mar 2016 13:27:19 +0000 (+0100) Subject: Minor cleanups. X-Git-Tag: v8.5.0-rc1~1236^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=059e577f2cc43d5ddd42b07a7964f6e7bc121907;p=dealii.git Minor cleanups. --- diff --git a/source/grid/manifold_lib.cc b/source/grid/manifold_lib.cc index bb5b91c861..4740f4e65c 100644 --- a/source/grid/manifold_lib.cc +++ b/source/grid/manifold_lib.cc @@ -93,7 +93,7 @@ SphericalManifold::push_forward(const Point &spherical_p break; } default: - Assert(false, ExcInternalError()); + Assert(false, ExcNotImplemented()); } return p+center; } @@ -152,7 +152,7 @@ SphericalManifold::push_forward_gradient(const Point &sp break; case 3: { - const double &phi= spherical_point[2]; + const double phi= spherical_point[2]; DX[0][0] = sin(theta)*cos(phi); DX[0][1] = rho*cos(theta)*cos(phi); DX[0][2] = -rho*sin(theta)*sin(phi); @@ -164,8 +164,8 @@ SphericalManifold::push_forward_gradient(const Point &sp DX[2][0] = cos(theta); DX[2][1] = -rho*sin(theta); DX[2][2] = 0; + break; } - break; default: Assert(false, ExcInternalError()); }