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
80fe8bf4
Commit
80fe8bf4
authored
Dec 15, 2017
by
Kilian Weishaupt
Committed by
Timo Koch
Dec 19, 2017
Browse files
[freeflow][staggered] Remove PrimaryVariables property
parent
8c30d792
Changes
1
Hide whitespace changes
Inline
Side-by-side
dumux/discretization/staggered/freeflow/properties.hh
View file @
80fe8bf4
...
...
@@ -103,28 +103,10 @@ public:
//! The variables living on the faces
SET_TYPE_PROP
(
StaggeredFreeFlowModel
,
FaceVariables
,
StaggeredFaceVariables
<
TypeTag
>
);
//! A container class used to specify values for boundary/initial conditions
SET_PROP
(
StaggeredFreeFlowModel
,
PrimaryVariables
)
{
private:
using
CellCenterBoundaryValues
=
typename
GET_PROP_TYPE
(
TypeTag
,
CellCenterPrimaryVariables
);
using
GridView
=
typename
GET_PROP_TYPE
(
TypeTag
,
GridView
);
using
FaceBoundaryValues
=
Dune
::
FieldVector
<
typename
GET_PROP_TYPE
(
TypeTag
,
Scalar
),
GridView
::
dimension
>
;
public:
using
type
=
StaggeredPrimaryVariables
<
TypeTag
,
CellCenterBoundaryValues
,
FaceBoundaryValues
>
;
};
//! A container class used to specify values for sources and Neumann BCs
SET_PROP
(
StaggeredFreeFlowModel
,
NumEqVector
)
{
private:
using
CellCenterBoundaryValues
=
typename
GET_PROP_TYPE
(
TypeTag
,
CellCenterPrimaryVariables
);
using
GridView
=
typename
GET_PROP_TYPE
(
TypeTag
,
GridView
);
using
FaceBoundaryValues
=
Dune
::
FieldVector
<
typename
GET_PROP_TYPE
(
TypeTag
,
Scalar
),
GridView
::
dimension
>
;
public:
using
type
=
StaggeredPrimaryVariables
<
TypeTag
,
CellCenterBoundaryValues
,
FaceBoundaryValues
>
;
using
type
=
Dune
::
FieldVector
<
typename
GET_PROP_TYPE
(
TypeTag
,
Scalar
),
GET_PROP_VALUE
(
TypeTag
,
NumEq
)
>
;
};
//! Boundary types at a single degree of freedom
...
...
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