Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
dumux-repositories
dumux
Commits
486db375
Commit
486db375
authored
Jan 09, 2020
by
Beatrix Becker
Browse files
[discretization] rotate around second axis
parent
4352c78e
Changes
2
Hide whitespace changes
Inline
Side-by-side
dumux/discretization/rotationsymmetricscv.hh
View file @
486db375
...
...
@@ -113,7 +113,7 @@ public:
//! The volume of the sub control volume (Guldinus theorem)
Scalar
volume
()
const
{
const
auto
radius
=
this
->
center
()[
1
];
const
auto
radius
=
this
->
center
()[
0
];
return
SubControlVolume
::
volume
()
*
2.0
*
M_PI
*
radius
;
}
};
...
...
dumux/discretization/rotationsymmetricscvf.hh
View file @
486db375
...
...
@@ -109,7 +109,7 @@ public:
//! The area of the sub control volume face (Guldinus theorem)
Scalar
area
()
const
{
const
auto
radius
=
this
->
center
()[
1
];
const
auto
radius
=
this
->
center
()[
0
];
return
SubControlVolumeFace
::
area
()
*
2.0
*
M_PI
*
radius
;
}
};
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment