Commit db384761 authored by Martin Schneider's avatar Martin Schneider Committed by Timo Koch
Browse files

[assembly][wmpfa] Add WMpfa discretization to assembly

parent 71a5c7cc
...@@ -85,7 +85,8 @@ Dune::MatrixIndexSet getJacobianPattern(const GridGeometry& gridGeometry) ...@@ -85,7 +85,8 @@ Dune::MatrixIndexSet getJacobianPattern(const GridGeometry& gridGeometry)
*/ */
template<bool isImplicit, class GridGeometry, template<bool isImplicit, class GridGeometry,
typename std::enable_if_t<( (GridGeometry::discMethod == DiscretizationMethod::cctpfa) 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) Dune::MatrixIndexSet getJacobianPattern(const GridGeometry& gridGeometry)
{ {
const auto numDofs = gridGeometry.numDofs(); const auto numDofs = gridGeometry.numDofs();
......
...@@ -407,6 +407,19 @@ public: ...@@ -407,6 +407,19 @@ public:
using ParentType::ParentType; 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 //! helper struct to determine whether the an engine class has vertex colors
struct hasVertexColor struct hasVertexColor
{ {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment