rename the "grid manager" to "vanguard"

IMO the term "vanguard" expresses better what these classes are
supposed to do: level the ground for the cavalry. Normally this simply
means to create and distribute a grid object, but it can become quite
a bit more complicated, as exemplified by the vanguard classes of
ebos..
This commit is contained in:
Andreas Lauser
2018-02-01 16:26:58 +01:00
parent e5344a2add
commit 2f4b835a16
7 changed files with 47 additions and 47 deletions

View File

@@ -38,7 +38,7 @@
#endif
#include <ewoms/models/discretefracture/discretefracturemodel.hh>
#include <ewoms/io/dgfgridmanager.hh>
#include <ewoms/io/dgfvanguard.hh>
#include <opm/material/fluidmatrixinteractions/RegularizedBrooksCorey.hpp>
#include <opm/material/fluidmatrixinteractions/RegularizedVanGenuchten.hpp>
@@ -75,8 +75,8 @@ SET_TYPE_PROP(
FractureProblem, Grid,
Dune::ALUGrid</*dim=*/2, /*dimWorld=*/2, Dune::simplex, Dune::nonconforming>);
// Set the GridManager property
SET_TYPE_PROP(FractureProblem, GridManager, Ewoms::DgfGridManager<TypeTag>);
// Set the Vanguard property
SET_TYPE_PROP(FractureProblem, Vanguard, Ewoms::DgfVanguard<TypeTag>);
// Set the problem property
SET_TYPE_PROP(FractureProblem, Problem, Ewoms::FractureProblem<TypeTag>);
@@ -398,7 +398,7 @@ public:
* \brief Returns the object representating the fracture topology.
*/
const FractureMapper& fractureMapper() const
{ return this->simulator().gridManager().fractureMapper(); }
{ return this->simulator().vanguard().fractureMapper(); }
/*!
* \brief Returns the width of the fracture.