Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
dumux
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
dumux-repositories
dumux
Commits
84754f5c
Commit
84754f5c
authored
6 years ago
by
Dennis Gläser
Browse files
Options
Downloads
Patches
Plain Diff
[elastic][test] use M_PI
parent
ae976bc6
No related branches found
No related tags found
1 merge request
!991
respect dumux conventions
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
test/geomechanics/elastic/problem.hh
+1
-3
1 addition, 3 deletions
test/geomechanics/elastic/problem.hh
with
1 addition
and
3 deletions
test/geomechanics/elastic/problem.hh
+
1
−
3
View file @
84754f5c
...
...
@@ -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
];
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment