Skip to content
Snippets Groups Projects
Commit 84754f5c authored by Dennis Gläser's avatar Dennis Gläser
Browse files

[elastic][test] use M_PI

parent ae976bc6
No related branches found
No related tags found
1 merge request!991respect dumux conventions
......@@ -73,6 +73,7 @@ class ElasticProblem : public GeomechanicsFVProblem<TypeTag>
using Element = typename GridView::template Codim<0>::Entity;
using GlobalPosition = typename Element::Geometry::GlobalCoordinate;
static constexpr Scalar pi = M_PI;
static constexpr int dim = GridView::dimension;
static constexpr int dimWorld = GridView::dimensionworld;
using GradU = Dune::FieldMatrix<Scalar, dim, dimWorld>;
......@@ -116,7 +117,6 @@ public:
using std::sin;
using std::cos;
static const Scalar pi = 3.14159265358979323846;
const auto ipGlobal = scv.center();
const auto x = ipGlobal[0];
const auto y = ipGlobal[1];
......@@ -155,7 +155,6 @@ public:
{
using std::sin;
static const Scalar pi = 3.14159265358979323846;
const auto x = globalPos[0];
const auto y = globalPos[1];
......@@ -173,7 +172,6 @@ public:
using std::sin;
using std::cos;
static const Scalar pi = 3.14159265358979323846;
const auto x = globalPos[0];
const auto y = globalPos[1];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment