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
ade5a1c2
Commit
ade5a1c2
authored
Jan 16, 2018
by
Timo Koch
Browse files
[common] Get the scv, scvf types from the FVElementGeometry
parent
d07acc56
Changes
3
Hide whitespace changes
Inline
Side-by-side
dumux/common/fvproblem.hh
View file @
ade5a1c2
...
...
@@ -56,8 +56,8 @@ class FVProblem
using
VertexMapper
=
typename
GET_PROP_TYPE
(
TypeTag
,
VertexMapper
);
using
FVGridGeometry
=
typename
GET_PROP_TYPE
(
TypeTag
,
FVGridGeometry
);
using
FVElementGeometry
=
typename
GET_PROP_TYPE
(
TypeTag
,
FVElementGeometry
);
using
SubControlVolume
=
typename
GET_PROP_TYPE
(
TypeTag
,
SubControlVolume
)
;
using
SubControlVolumeFace
=
typename
GET_PROP_TYPE
(
TypeTag
,
SubControlVolumeFace
)
;
using
SubControlVolume
=
typename
FVElementGeometry
::
SubControlVolume
;
using
SubControlVolumeFace
=
typename
FVElementGeometry
::
SubControlVolumeFace
;
using
BoundaryTypes
=
typename
GET_PROP_TYPE
(
TypeTag
,
BoundaryTypes
);
using
PointSource
=
typename
GET_PROP_TYPE
(
TypeTag
,
PointSource
);
using
PointSourceHelper
=
typename
GET_PROP_TYPE
(
TypeTag
,
PointSourceHelper
);
...
...
dumux/common/pointsource.hh
View file @
ade5a1c2
...
...
@@ -56,7 +56,7 @@ class PointSource
using
Problem
=
typename
GET_PROP_TYPE
(
TypeTag
,
Problem
);
using
ElementVolumeVariables
=
typename
GET_PROP_TYPE
(
TypeTag
,
ElementVolumeVariables
);
using
FVElementGeometry
=
typename
GET_PROP_TYPE
(
TypeTag
,
FVElementGeometry
);
using
SubControlVolume
=
typename
GET_PROP_TYPE
(
TypeTag
,
SubControlVolume
)
;
using
SubControlVolume
=
typename
FVElementGeometry
::
SubControlVolume
;
using
Element
=
typename
GridView
::
template
Codim
<
0
>
::
Entity
;
static
const
int
dimworld
=
GridView
::
dimensionworld
;
...
...
@@ -218,7 +218,7 @@ class SolDependentPointSource : public PointSource<TypeTag>
using
Problem
=
typename
GET_PROP_TYPE
(
TypeTag
,
Problem
);
using
ElementVolumeVariables
=
typename
GET_PROP_TYPE
(
TypeTag
,
ElementVolumeVariables
);
using
FVElementGeometry
=
typename
GET_PROP_TYPE
(
TypeTag
,
FVElementGeometry
);
using
SubControlVolume
=
typename
GET_PROP_TYPE
(
TypeTag
,
SubControlVolume
)
;
using
SubControlVolume
=
typename
FVElementGeometry
::
SubControlVolume
;
using
Element
=
typename
GridView
::
template
Codim
<
0
>
::
Entity
;
static
const
int
dimworld
=
GridView
::
dimensionworld
;
...
...
dumux/common/staggeredfvproblem.hh
View file @
ade5a1c2
...
...
@@ -58,8 +58,9 @@ class StaggeredFVProblem : public FVProblem<TypeTag>
using
ElementSolutionVector
=
typename
GET_PROP_TYPE
(
TypeTag
,
ElementSolutionVector
);
using
ElementVolumeVariables
=
typename
GET_PROP_TYPE
(
TypeTag
,
ElementVolumeVariables
);
using
Indices
=
typename
GET_PROP_TYPE
(
TypeTag
,
Indices
);
using
SubControlVolume
=
typename
GET_PROP_TYPE
(
TypeTag
,
SubControlVolume
);
using
SubControlVolumeFace
=
typename
GET_PROP_TYPE
(
TypeTag
,
SubControlVolumeFace
);
using
FVElementGeometry
=
typename
GET_PROP_TYPE
(
TypeTag
,
FVElementGeometry
);
using
SubControlVolume
=
typename
FVElementGeometry
::
SubControlVolume
;
using
SubControlVolumeFace
=
typename
FVElementGeometry
::
SubControlVolumeFace
;
enum
{
dim
=
GridView
::
dimension
,
...
...
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