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
0d434400
Commit
0d434400
authored
Dec 15, 2017
by
Kilian Weishaupt
Committed by
Timo Koch
Dec 19, 2017
Browse files
[staggered] Remove PrimaryVariable and NumEqVector properties
parent
80fe8bf4
Changes
1
Hide whitespace changes
Inline
Side-by-side
dumux/discretization/staggered/properties.hh
View file @
0d434400
...
...
@@ -250,25 +250,7 @@ public:
using
type
=
BoundaryTypes
<
numEqCellCenter
+
numEqFace
>
;
};
//! A container class used to specify values for boundary/initial conditions
SET_PROP
(
StaggeredModel
,
PrimaryVariables
)
{
private:
using
CellCenterPrimaryVariables
=
typename
GET_PROP_TYPE
(
TypeTag
,
CellCenterPrimaryVariables
);
using
FacePrimaryVariables
=
typename
GET_PROP_TYPE
(
TypeTag
,
FacePrimaryVariables
);
public:
using
type
=
StaggeredPrimaryVariables
<
TypeTag
,
CellCenterPrimaryVariables
,
FacePrimaryVariables
>
;
};
//! A container class used to specify values for sources and Neumann BCs
SET_PROP
(
StaggeredModel
,
NumEqVector
)
{
private:
using
CellCenterPrimaryVariables
=
typename
GET_PROP_TYPE
(
TypeTag
,
CellCenterPrimaryVariables
);
using
FacePrimaryVariables
=
typename
GET_PROP_TYPE
(
TypeTag
,
FacePrimaryVariables
);
public:
using
type
=
StaggeredPrimaryVariables
<
TypeTag
,
CellCenterPrimaryVariables
,
FacePrimaryVariables
>
;
};
SET_TYPE_PROP
(
StaggeredModel
,
GridVariables
,
StaggeredGridVariables
<
TypeTag
>
);
...
...
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