20 #ifndef OPM_EMPTY_MODEL_HPP 21 #define OPM_EMPTY_MODEL_HPP 26 #include <opm/output/data/Aquifer.hpp> 32 template<
typename TypeTag>
47 template<
class Something>
48 void init(Something ){}
49 void prepareTracerBatches(){};
50 using NeighborSet = std::set<unsigned>;
51 void linearize(SparseMatrixAdapter& , GlobalEqVector& )
override {}
52 unsigned numDofs()
const override {
return 0; }
54 void initialSolutionApplied(){};
55 template <
class Restarter>
56 void serialize(Restarter& ){};
58 template <
class Restarter>
59 void deserialize(Restarter& ){};
62 template<
class Serializer>
63 void serializeOp(Serializer& ){};
65 void beginEpisode(){};
66 void beginTimeStep(){};
67 void beginIteration(){};
69 template<
class RateVector,
class Context>
70 void addToSource(RateVector& ,
const Context& ,
71 unsigned ,
unsigned )
const {}
72 template<
class RateVector>
73 void addToSource(RateVector& ,
unsigned ,
75 void endIteration()
const{};
79 auto aquiferData()
const {
80 return data::Aquifers{};
86 #endif // OPM_EMPTY_MODEL_HPP void applyInitial() override
Set the initial condition of the auxiliary module in the solution vector.
Definition: EmptyModel.hpp:78
typename Properties::Detail::GetPropImpl< TypeTag, Property >::type::type GetPropType
get the type alias defined in the property (equivalent to old macro GET_PROP_TYPE(...))
Definition: propertysystem.hh:233
Base class for specifying auxiliary equations.
Structs needed for tpfalinearizer and its gpuparams struct extracted to be defined in one place that ...
Definition: blackoilbioeffectsmodules.hh:45
void addNeighbors(std::vector< NeighborSet > &) const override
Specify the additional neighboring correlations caused by the auxiliary module.
Definition: EmptyModel.hpp:53
unsigned numDofs() const override
Returns the number of additional degrees of freedom required for the auxiliary module.
Definition: EmptyModel.hpp:52
void linearize(SparseMatrixAdapter &, GlobalEqVector &) override
Linearize the auxiliary equation.
Definition: EmptyModel.hpp:51
Definition: EmptyModel.hpp:33
Base class for specifying auxiliary equations.
Definition: baseauxiliarymodule.hh:55