mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Get rid off TypeTag system in StandardWellsDense.
Previously, we kind of hard coded the problem using the TypeTag system. Instead of this we now simply pass the only additional thing needed, the ElementContext, as an additional template parameter. Removes the include of removed header BlackoilModelEbosTypeTags.hpp.
This commit is contained in:
@@ -24,8 +24,6 @@
|
||||
#ifndef OPM_STANDARDWELLSDENSE_HEADER_INCLUDED
|
||||
#define OPM_STANDARDWELLSDENSE_HEADER_INCLUDED
|
||||
|
||||
#include <opm/autodiff/BlackoilModelEbosTypeTags.hpp>
|
||||
|
||||
#include <opm/common/OpmLog/OpmLog.hpp>
|
||||
|
||||
#include <opm/common/utility/platform_dependent/disable_warnings.h>
|
||||
@@ -69,12 +67,9 @@ enum WellVariablePositions {
|
||||
|
||||
|
||||
/// Class for handling the standard well model.
|
||||
template<typename FluidSystem, typename BlackoilIndices>
|
||||
template<typename FluidSystem, typename BlackoilIndices, typename ElementContext>
|
||||
class StandardWellsDense {
|
||||
public:
|
||||
// --------- Ebos property system stuff -------
|
||||
typedef typename TTAG(EclFlowProblem) TypeTag;
|
||||
typedef typename GET_PROP_TYPE(TypeTag, ElementContext) ElementContext;
|
||||
// --------- Types ---------
|
||||
typedef WellStateFullyImplicitBlackoilDense WellState;
|
||||
typedef BlackoilModelParameters ModelParameters;
|
||||
|
||||
Reference in New Issue
Block a user