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
db384761
Commit
db384761
authored
Jul 01, 2020
by
Martin Schneider
Committed by
Timo Koch
Sep 30, 2020
Browse files
[assembly][wmpfa] Add WMpfa discretization to assembly
parent
71a5c7cc
Changes
2
Hide whitespace changes
Inline
Side-by-side
dumux/assembly/jacobianpattern.hh
View file @
db384761
...
...
@@ -85,7 +85,8 @@ Dune::MatrixIndexSet getJacobianPattern(const GridGeometry& gridGeometry)
*/
template
<
bool
isImplicit
,
class
GridGeometry
,
typename
std
::
enable_if_t
<
(
(
GridGeometry
::
discMethod
==
DiscretizationMethod
::
cctpfa
)
||
(
GridGeometry
::
discMethod
==
DiscretizationMethod
::
ccmpfa
)
),
int
>
=
0
>
||
(
GridGeometry
::
discMethod
==
DiscretizationMethod
::
ccmpfa
)
||
(
GridGeometry
::
discMethod
==
DiscretizationMethod
::
ccwmpfa
)),
int
>
=
0
>
Dune
::
MatrixIndexSet
getJacobianPattern
(
const
GridGeometry
&
gridGeometry
)
{
const
auto
numDofs
=
gridGeometry
.
numDofs
();
...
...
dumux/assembly/partialreassembler.hh
View file @
db384761
...
...
@@ -407,6 +407,19 @@ public:
using
ParentType
::
ParentType
;
};
/*!
* \ingroup Assembly
* \brief The partial reassembler engine specialized for the cellcentered WMPFA method
*/
template
<
class
Assembler
>
class
PartialReassemblerEngine
<
Assembler
,
DiscretizationMethod
::
ccwmpfa
>
:
public
PartialReassemblerEngine
<
Assembler
,
DiscretizationMethod
::
cctpfa
>
{
using
ParentType
=
PartialReassemblerEngine
<
Assembler
,
DiscretizationMethod
::
cctpfa
>
;
public:
using
ParentType
::
ParentType
;
};
//! helper struct to determine whether the an engine class has vertex colors
struct
hasVertexColor
{
...
...
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