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:
@@ -25,7 +25,7 @@
|
||||
#define EWOMS_POWER_INJECTION_PROBLEM_HH
|
||||
|
||||
#include <ewoms/models/ncp/ncpproperties.hh>
|
||||
#include <ewoms/io/cubegridcreator.hh>
|
||||
#include <ewoms/io/cubegridmanager.hh>
|
||||
|
||||
#include <opm/material/fluidmatrixinteractions/LinearMaterial.hpp>
|
||||
#include <opm/material/fluidmatrixinteractions/MaterialTraits.hpp>
|
||||
@@ -53,8 +53,8 @@ NEW_TYPE_TAG(DiffusionBaseProblem);
|
||||
// Set the grid implementation to be used
|
||||
SET_TYPE_PROP(DiffusionBaseProblem, Grid, Dune::YaspGrid</*dim=*/1>);
|
||||
|
||||
// set the GridCreator property
|
||||
SET_TYPE_PROP(DiffusionBaseProblem, GridCreator, Ewoms::CubeGridCreator<TypeTag>);
|
||||
// set the GridManager property
|
||||
SET_TYPE_PROP(DiffusionBaseProblem, GridManager, Ewoms::CubeGridManager<TypeTag>);
|
||||
|
||||
// Set the problem property
|
||||
SET_TYPE_PROP(DiffusionBaseProblem, Problem, Ewoms::DiffusionProblem<TypeTag>);
|
||||
|
||||
Reference in New Issue
Block a user