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
542c244b
Commit
542c244b
authored
Jul 22, 2020
by
Martin Schneider
Committed by
Timo Koch
Sep 30, 2020
Browse files
[flux][mpfa] Add possibility to add submethod for some type of mpfa schemes
parent
aa5fb786
Changes
2
Hide whitespace changes
Inline
Side-by-side
dumux/common/properties.hh
View file @
542c244b
...
...
@@ -130,7 +130,8 @@ template<class TypeTag, class MyTypeTag>
struct
SecondaryInteractionVolume
{
using
type
=
UndefinedProperty
;
};
//!< The secondary interaction volume type used e.g. on the boundaries
template
<
class
TypeTag
,
class
MyTypeTag
>
struct
DualGridNodalIndexSet
{
using
type
=
UndefinedProperty
;
};
//!< The type used for the nodal index sets of the dual grid
template
<
class
TypeTag
,
class
MyTypeTag
>
struct
DiscretizationSubmethod
{
using
type
=
UndefinedProperty
;
};
//!< The type used for an mpfa submethod belonging to a specific family of schemes
/////////////////////////////////////////////////////////////
// Properties used by models involving flow in porous media:
/////////////////////////////////////////////////////////////
...
...
dumux/discretization/ccwmpfa.hh
View file @
542c244b
...
...
@@ -117,9 +117,6 @@ struct ElementBoundaryTypes<TypeTag, TTag::CCWMpfaModel> { using type = CCElemen
template
<
class
TypeTag
>
struct
BaseLocalResidual
<
TypeTag
,
TTag
::
CCWMpfaModel
>
{
using
type
=
CCLocalResidual
<
TypeTag
>
;
};
template
<
class
TypeTag
,
class
MyTypeTag
>
struct
DiscretizationSubmethod
{
using
type
=
UndefinedProperty
;
};
template
<
class
TypeTag
>
struct
DiscretizationSubmethod
<
TypeTag
,
TTag
::
CCWMpfaModel
>
{
static
constexpr
WMpfaMethod
value
=
WMpfaMethod
::
avgmpfa
;
};
}
// namespace Properties
...
...
Write
Preview
Markdown
is supported
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