Skip to content
GitLab
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
10a79f60
Commit
10a79f60
authored
Jan 17, 2018
by
Timo Koch
Browse files
[assembly] Extract FVElementGeometry type from grid geometry
parent
76e09fde
Changes
7
Hide whitespace changes
Inline
Side-by-side
dumux/assembly/boxlocalresidual.hh
View file @
10a79f60
...
...
@@ -48,7 +48,7 @@ class BoxLocalResidual : public FVLocalResidual<TypeTag>
using
GridView
=
typename
GET_PROP_TYPE
(
TypeTag
,
GridView
);
using
Element
=
typename
GridView
::
template
Codim
<
0
>
::
Entity
;
using
ElementBoundaryTypes
=
typename
GET_PROP_TYPE
(
TypeTag
,
ElementBoundaryTypes
);
using
FVElementGeometry
=
typename
GET_PROP_TYPE
(
TypeTag
,
FV
Element
Geometry
);
using
FVElementGeometry
=
typename
GET_PROP_TYPE
(
TypeTag
,
FV
Grid
Geometry
)
::
LocalView
;
using
ElementVolumeVariables
=
typename
GET_PROP_TYPE
(
TypeTag
,
ElementVolumeVariables
);
using
SubControlVolumeFace
=
typename
FVElementGeometry
::
SubControlVolumeFace
;
using
ElementFluxVariablesCache
=
typename
GET_PROP_TYPE
(
TypeTag
,
ElementFluxVariablesCache
);
...
...
dumux/assembly/cclocalassembler.hh
View file @
10a79f60
...
...
@@ -123,7 +123,7 @@ class CCLocalAssembler<TypeTag, Assembler, DiffMethod::numeric, /*implicit=*/tru
using
Element
=
typename
GET_PROP_TYPE
(
TypeTag
,
GridView
)
::
template
Codim
<
0
>
::
Entity
;
using
ElementSolutionVector
=
typename
GET_PROP_TYPE
(
TypeTag
,
ElementSolutionVector
);
using
FVGridGeometry
=
typename
GET_PROP_TYPE
(
TypeTag
,
FVGridGeometry
);
using
FVElementGeometry
=
typename
GET_PROP_TYPE
(
TypeTag
,
FV
Element
Geometry
);
using
FVElementGeometry
=
typename
GET_PROP_TYPE
(
TypeTag
,
FV
Grid
Geometry
)
::
LocalView
;
using
GridVariables
=
typename
GET_PROP_TYPE
(
TypeTag
,
GridVariables
);
using
JacobianMatrix
=
typename
GET_PROP_TYPE
(
TypeTag
,
JacobianMatrix
);
...
...
dumux/assembly/cclocalresidual.hh
View file @
10a79f60
...
...
@@ -46,7 +46,7 @@ class CCLocalResidual : public FVLocalResidual<TypeTag>
using
ElementBoundaryTypes
=
typename
GET_PROP_TYPE
(
TypeTag
,
ElementBoundaryTypes
);
using
ElementVolumeVariables
=
typename
GET_PROP_TYPE
(
TypeTag
,
ElementVolumeVariables
);
using
ElementFluxVariablesCache
=
typename
GET_PROP_TYPE
(
TypeTag
,
ElementFluxVariablesCache
);
using
FVElementGeometry
=
typename
GET_PROP_TYPE
(
TypeTag
,
FV
Element
Geometry
);
using
FVElementGeometry
=
typename
GET_PROP_TYPE
(
TypeTag
,
FV
Grid
Geometry
)
::
LocalView
;
using
SubControlVolumeFace
=
typename
FVElementGeometry
::
SubControlVolumeFace
;
public:
...
...
dumux/assembly/fvlocalassemblerbase.hh
View file @
10a79f60
...
...
@@ -54,7 +54,7 @@ class FVLocalAssemblerBase
using
GridVariables
=
typename
GET_PROP_TYPE
(
TypeTag
,
GridVariables
);
using
SolutionVector
=
typename
GET_PROP_TYPE
(
TypeTag
,
SolutionVector
);
using
ElementBoundaryTypes
=
typename
GET_PROP_TYPE
(
TypeTag
,
ElementBoundaryTypes
);
using
FVElementGeometry
=
typename
GET_PROP_TYPE
(
TypeTag
,
FV
Element
Geometry
);
using
FVElementGeometry
=
typename
GET_PROP_TYPE
(
TypeTag
,
FV
Grid
Geometry
)
::
LocalView
;
using
SubControlVolume
=
typename
FVElementGeometry
::
SubControlVolume
;
using
SubControlVolumeFace
=
typename
FVElementGeometry
::
SubControlVolumeFace
;
using
GridVolumeVariables
=
typename
GET_PROP_TYPE
(
TypeTag
,
GridVolumeVariables
);
...
...
dumux/assembly/fvlocalresidual.hh
View file @
10a79f60
...
...
@@ -49,7 +49,7 @@ class FVLocalResidual
using
Scalar
=
typename
GET_PROP_TYPE
(
TypeTag
,
Scalar
);
using
GridView
=
typename
GET_PROP_TYPE
(
TypeTag
,
GridView
);
using
Element
=
typename
GridView
::
template
Codim
<
0
>
::
Entity
;
using
FVElementGeometry
=
typename
GET_PROP_TYPE
(
TypeTag
,
FV
Element
Geometry
);
using
FVElementGeometry
=
typename
GET_PROP_TYPE
(
TypeTag
,
FV
Grid
Geometry
)
::
LocalView
;
using
GridVariables
=
typename
GET_PROP_TYPE
(
TypeTag
,
GridVariables
);
using
FVGridGeometry
=
typename
GET_PROP_TYPE
(
TypeTag
,
FVGridGeometry
);
using
SubControlVolume
=
typename
FVElementGeometry
::
SubControlVolume
;
...
...
dumux/assembly/staggeredlocalassembler.hh
View file @
10a79f60
...
...
@@ -69,7 +69,7 @@ class StaggeredLocalAssembler<TypeTag,
using
Scalar
=
typename
GET_PROP_TYPE
(
TypeTag
,
Scalar
);
using
NumEqVector
=
typename
GET_PROP_TYPE
(
TypeTag
,
NumEqVector
);
using
ElementBoundaryTypes
=
typename
GET_PROP_TYPE
(
TypeTag
,
ElementBoundaryTypes
);
using
FVElementGeometry
=
typename
GET_PROP_TYPE
(
TypeTag
,
FV
Element
Geometry
);
using
FVElementGeometry
=
typename
GET_PROP_TYPE
(
TypeTag
,
FV
Grid
Geometry
)
::
LocalView
;
using
GridFaceVariables
=
typename
GET_PROP_TYPE
(
TypeTag
,
GridFaceVariables
);
using
ElementFluxVariablesCache
=
typename
GET_PROP_TYPE
(
TypeTag
,
ElementFluxVariablesCache
);
using
Element
=
typename
GET_PROP_TYPE
(
TypeTag
,
GridView
)
::
template
Codim
<
0
>
::
Entity
;
...
...
dumux/assembly/staggeredlocalresidual.hh
View file @
10a79f60
...
...
@@ -47,7 +47,7 @@ class StaggeredLocalResidual
using
ElementBoundaryTypes
=
typename
GET_PROP_TYPE
(
TypeTag
,
ElementBoundaryTypes
);
using
ElementVolumeVariables
=
typename
GET_PROP_TYPE
(
TypeTag
,
ElementVolumeVariables
);
using
ElementFluxVariablesCache
=
typename
GET_PROP_TYPE
(
TypeTag
,
ElementFluxVariablesCache
);
using
FVElementGeometry
=
typename
GET_PROP_TYPE
(
TypeTag
,
FV
Element
Geometry
);
using
FVElementGeometry
=
typename
GET_PROP_TYPE
(
TypeTag
,
FV
Grid
Geometry
)
::
LocalView
;
using
SubControlVolume
=
typename
FVElementGeometry
::
SubControlVolume
;
using
SubControlVolumeFace
=
typename
FVElementGeometry
::
SubControlVolumeFace
;
using
CellCenterPrimaryVariables
=
typename
GET_PROP_TYPE
(
TypeTag
,
CellCenterPrimaryVariables
);
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment