mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
refactoring: rename GridCreator to GridManager
because "manager" sounds less religious than "creator" and the GridCreators did all kinds of other stuff besides creating the grid. this patch also gets rid of the static function inside these classes, which should make them easier to understand...
This commit is contained in:
@@ -43,7 +43,7 @@
|
||||
|
||||
// For the DUNE grid
|
||||
#include <dune/grid/yaspgrid.hh> /*@\label{tutorial1:include-grid-manager}@*/
|
||||
#include <ewoms/io/cubegridcreator.hh> /*@\label{tutorial1:include-grid-creator}@*/
|
||||
#include <ewoms/io/cubegridmanager.hh> /*@\label{tutorial1:include-grid-manager}@*/
|
||||
|
||||
// For Dune::FieldMatrix
|
||||
#include <dune/common/fmatrix.hh>
|
||||
@@ -68,9 +68,9 @@ SET_TAG_PROP(Tutorial1Problem, SpatialDiscretizationSplice,
|
||||
SET_TYPE_PROP(Tutorial1Problem, Problem,
|
||||
Ewoms::Tutorial1Problem<TypeTag>); /*@\label{tutorial1:set-problem}@*/
|
||||
|
||||
// Set grid and the grid creator to be used
|
||||
// Set grid and the grid manager to be used
|
||||
SET_TYPE_PROP(Tutorial1Problem, Grid, Dune::YaspGrid</*dim=*/2>); /*@\label{tutorial1:set-grid}@*/
|
||||
SET_TYPE_PROP(Tutorial1Problem, GridCreator, Ewoms::CubeGridCreator<TypeTag>); /*@\label{tutorial1:set-gridcreator}@*/
|
||||
SET_TYPE_PROP(Tutorial1Problem, GridManager, Ewoms::CubeGridManager<TypeTag>); /*@\label{tutorial1:set-grid-manager}@*/
|
||||
|
||||
// Set the wetting phase /*@\label{tutorial1:2p-system-start}@*/
|
||||
SET_TYPE_PROP(Tutorial1Problem,
|
||||
|
||||
Reference in New Issue
Block a user