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, TimeManager) TimeManager;
|
||||||
typedef typename GET_PROP_TYPE(TypeTag, Indices) Indices;
|
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_TYPE(TypeTag, BoundaryTypes) BoundaryTypes;
|
||||||
typedef typename GET_PROP(TypeTag, SolutionTypes) SolutionTypes;
|
typedef typename GET_PROP(TypeTag, SolutionTypes) SolutionTypes;
|
||||||
typedef typename SolutionTypes::PrimaryVariables PrimaryVariables;
|
typedef typename SolutionTypes::PrimaryVariables PrimaryVariables;
|
||||||
|
|
||||||
enum
|
enum { dimWorld = GridView::dimensionworld };
|
||||||
{
|
|
||||||
dim = GridView::dimension, dimWorld = GridView::dimensionworld
|
|
||||||
};
|
|
||||||
|
|
||||||
enum
|
enum
|
||||||
{
|
{
|
||||||
wPhaseIdx = Indices::wPhaseIdx,
|
|
||||||
nPhaseIdx = Indices::nPhaseIdx,
|
nPhaseIdx = Indices::nPhaseIdx,
|
||||||
pWIdx = Indices::pwIdx,
|
pWIdx = Indices::pwIdx,
|
||||||
SwIdx = Indices::SwIdx,
|
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, Grid) Grid;
|
||||||
typedef typename GET_PROP_TYPE(TypeTag, GridView) GridView;
|
typedef typename GET_PROP_TYPE(TypeTag, GridView) GridView;
|
||||||
typedef typename GET_PROP_TYPE(TypeTag, Scalar) Scalar;
|
typedef typename GET_PROP_TYPE(TypeTag, Scalar) Scalar;
|
||||||
typedef typename Grid::ctype CoordScalar;
|
|
||||||
|
|
||||||
enum
|
enum
|
||||||
{dim=Grid::dimension, dimWorld=Grid::dimensionworld, numEq=1};
|
{dim=Grid::dimension, dimWorld=Grid::dimensionworld, numEq=1};
|
||||||
typedef typename Grid::Traits::template Codim<0>::Entity Element;
|
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;
|
typedef Dune::FieldMatrix<Scalar,dim,dim> FieldMatrix;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
Loading…
Reference in New Issue
Block a user