fix the grid adaptivity functionality

Note that this is rarely tested because it requires the availability
of dune-alugrid and dune-fem.
This commit is contained in:
Andreas Lauser 2016-11-02 17:14:07 +01:00
parent 00a907962b
commit 79a838e7c8
2 changed files with 2856 additions and 0 deletions

View File

@ -47,6 +47,10 @@
#include <ewoms/models/immiscible/immiscibleproperties.hh>
#include <ewoms/disc/common/restrictprolong.hh>
#if HAVE_DUNE_ALUGRID
#include <dune/alugrid/grid.hh>
#endif
#include <dune/common/version.hh>
#include <dune/common/fvector.hh>
#include <dune/common/fmatrix.hh>
@ -62,6 +66,16 @@ class FingerProblem;
namespace Properties {
NEW_TYPE_TAG(FingerBaseProblem, INHERITS_FROM(StructuredGridManager));
#if HAVE_DUNE_ALUGRID
// use dune-alugrid if available
SET_TYPE_PROP(FingerBaseProblem,
Grid,
Dune::ALUGrid</*dim=*/2,
/*dimWorld=*/2,
Dune::cube,
Dune::nonconforming>);
#endif
// declare the properties used by the finger problem
NEW_PROP_TAG(InitialWaterSaturation);

File diff suppressed because it is too large Load Diff