mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Clean up and remove unnecessary parts from flow_blackoil_tpfa.cpp.
This commit is contained in:
parent
55b637aedd
commit
750e7ac5dd
@ -25,8 +25,6 @@
|
|||||||
#include <opm/models/blackoil/blackoilintensivequantitiessimple.hh>
|
#include <opm/models/blackoil/blackoilintensivequantitiessimple.hh>
|
||||||
#include <opm/models/discretization/common/smallelementcontext.hh>
|
#include <opm/models/discretization/common/smallelementcontext.hh>
|
||||||
#include <opm/models/discretization/common/tpfalinearizer.hh>
|
#include <opm/models/discretization/common/tpfalinearizer.hh>
|
||||||
#include <ebos/eclfluxmoduletpfa.hh>
|
|
||||||
#include <ebos/eclproblem.hh>
|
|
||||||
|
|
||||||
namespace Opm {
|
namespace Opm {
|
||||||
namespace Properties {
|
namespace Properties {
|
||||||
@ -38,48 +36,23 @@ namespace Opm {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
namespace Opm {
|
namespace Opm {
|
||||||
namespace Properties {
|
namespace Properties {
|
||||||
|
|
||||||
template<class TypeTag>
|
template<class TypeTag>
|
||||||
struct Linearizer<TypeTag, TTag::EclFlowProblemTPFA> { using type = TpfaLinearizer<TypeTag>; };
|
struct Linearizer<TypeTag, TTag::EclFlowProblemTPFA> { using type = TpfaLinearizer<TypeTag>; };
|
||||||
}
|
|
||||||
}
|
|
||||||
namespace Opm {
|
|
||||||
namespace Properties {
|
|
||||||
template<class TypeTag>
|
template<class TypeTag>
|
||||||
struct LocalResidual<TypeTag, TTag::EclFlowProblemTPFA> { using type = BlackOilLocalResidualTPFA<TypeTag>; };
|
struct LocalResidual<TypeTag, TTag::EclFlowProblemTPFA> { using type = BlackOilLocalResidualTPFA<TypeTag>; };
|
||||||
|
|
||||||
template<class TypeTag>
|
template<class TypeTag>
|
||||||
//struct ElementContext<TypeTag, TTag::EclFlowProblemTPFA> { using type = SmallElementContext<TypeTag>; };
|
//struct ElementContext<TypeTag, TTag::EclFlowProblemTPFA> { using type = SmallElementContext<TypeTag>; };
|
||||||
struct ElementContext<TypeTag, TTag::EclFlowProblemTPFA> { using type = FvBaseElementContext<TypeTag>; };
|
struct ElementContext<TypeTag, TTag::EclFlowProblemTPFA> { using type = FvBaseElementContext<TypeTag>; };
|
||||||
}
|
|
||||||
}
|
|
||||||
namespace Opm{
|
|
||||||
template <class TypeTag>
|
|
||||||
struct EclTransFluxModuleTPFA
|
|
||||||
{
|
|
||||||
typedef EclTransIntensiveQuantities<TypeTag> FluxIntensiveQuantities;
|
|
||||||
typedef EclTransExtensiveQuantitiesTPFA<TypeTag> FluxExtensiveQuantities;
|
|
||||||
typedef EclTransBaseProblem<TypeTag> FluxBaseProblem;
|
|
||||||
|
|
||||||
/// \brief Register all run-time parameters for the flux module.
|
|
||||||
static void registerParameters()
|
|
||||||
{ }
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
namespace Opm {
|
|
||||||
namespace Properties {
|
|
||||||
|
|
||||||
template<class TypeTag>
|
|
||||||
struct FluxModule<TypeTag, TTag::EclFlowProblemTPFA> {
|
|
||||||
using type = EclTransFluxModuleTPFA<TypeTag>;
|
|
||||||
};
|
|
||||||
template<class TypeTag>
|
template<class TypeTag>
|
||||||
struct IntensiveQuantities<TypeTag, TTag::EclFlowProblemTPFA> {
|
struct IntensiveQuantities<TypeTag, TTag::EclFlowProblemTPFA> {
|
||||||
using type = BlackOilIntensiveQuantitiesSimple<TypeTag>;
|
//using type = BlackOilIntensiveQuantitiesSimple<TypeTag>;
|
||||||
|
using type = BlackOilIntensiveQuantities<TypeTag>;
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user