mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
remove unused typedefs and enums
This commit is contained in:
parent
4a0aaecead
commit
a8c039bb8b
@ -122,21 +122,15 @@ class TutorialProblemDecoupled: public IMPESProblem2P<TypeTag> /*@\label{tutoria
|
||||
typedef typename GET_PROP_TYPE(TypeTag, TimeManager) TimeManager;
|
||||
typedef typename GET_PROP_TYPE(TypeTag, Indices) Indices;
|
||||
|
||||
typedef typename GET_PROP_TYPE(TypeTag, FluidSystem) FluidSystem;
|
||||
typedef typename GET_PROP_TYPE(TypeTag, FluidState) FluidState;
|
||||
|
||||
typedef typename GET_PROP_TYPE(TypeTag, BoundaryTypes) BoundaryTypes;
|
||||
typedef typename GET_PROP(TypeTag, SolutionTypes) SolutionTypes;
|
||||
typedef typename SolutionTypes::PrimaryVariables PrimaryVariables;
|
||||
|
||||
enum
|
||||
{
|
||||
dim = GridView::dimension, dimWorld = GridView::dimensionworld
|
||||
};
|
||||
enum { dimWorld = GridView::dimensionworld };
|
||||
|
||||
enum
|
||||
{
|
||||
wPhaseIdx = Indices::wPhaseIdx,
|
||||
nPhaseIdx = Indices::nPhaseIdx,
|
||||
pWIdx = Indices::pwIdx,
|
||||
SwIdx = Indices::SwIdx,
|
||||
|
@ -72,14 +72,11 @@ class TutorialSpatialParamsDecoupled: public FVSpatialParams<TypeTag>
|
||||
typedef typename GET_PROP_TYPE(TypeTag, Grid) Grid;
|
||||
typedef typename GET_PROP_TYPE(TypeTag, GridView) GridView;
|
||||
typedef typename GET_PROP_TYPE(TypeTag, Scalar) Scalar;
|
||||
typedef typename Grid::ctype CoordScalar;
|
||||
|
||||
enum
|
||||
{dim=Grid::dimension, dimWorld=Grid::dimensionworld, numEq=1};
|
||||
typedef typename Grid::Traits::template Codim<0>::Entity Element;
|
||||
|
||||
typedef Dune::FieldVector<CoordScalar, dimWorld> GlobalPosition;
|
||||
typedef Dune::FieldVector<CoordScalar, dim> LocalPosition;
|
||||
typedef Dune::FieldMatrix<Scalar,dim,dim> FieldMatrix;
|
||||
|
||||
public:
|
||||
|
Loading…
Reference in New Issue
Block a user