A class which handles tracers as specified in by ECL.
More...
#include <TracerModel.hpp>
|
| TracerModel (Simulator &simulator) |
|
void | init (bool rst) |
|
void | prepareTracerBatches () |
|
void | beginTimeStep () |
|
void | endTimeStep () |
| Informs the tracer model that a time step has just been finished. More...
|
|
template<class Restarter > |
void | serialize (Restarter &) |
| This method writes the complete state of all tracer to the hard disk. More...
|
|
template<class Restarter > |
void | deserialize (Restarter &) |
| This method restores the complete state of the tracer from disk. More...
|
|
template<class Serializer > |
void | serializeOp (Serializer &serializer) |
|
int | numTracers () const |
| Return the number of tracers considered by the tracerModel. More...
|
|
const std::string & | name (int tracerIdx) const |
| Return the tracer name. More...
|
|
std::string | fname (int tracerIdx) const |
|
std::string | sname (int tracerIdx) const |
|
std::string | wellfname (int tracerIdx) const |
|
std::string | wellsname (int tracerIdx) const |
|
Phase | phase (int tracerIdx) const |
|
const std::vector< bool > & | enableSolTracers () const |
|
GetPropType< TypeTag, Properties::Scalar > | freeTracerConcentration (int tracerIdx, int globalDofIdx) const |
| Return the tracer concentration for tracer index and global DofIdx. More...
|
|
GetPropType< TypeTag, Properties::Scalar > | solTracerConcentration (int tracerIdx, int globalDofIdx) const |
|
void | setFreeTracerConcentration (int tracerIdx, int globalDofIdx, GetPropType< TypeTag, Properties::Scalar > value) |
|
void | setSolTracerConcentration (int tracerIdx, int globalDofIdx, GetPropType< TypeTag, Properties::Scalar > value) |
|
void | setEnableSolTracers (int tracerIdx, bool enableSolTracer) |
|
const std::map< std::pair< std::string, std::string >, GetPropType< TypeTag, Properties::Scalar > > & | getWellTracerRates () const |
| Return well tracer rates. More...
|
|
const std::map< std::pair< std::string, std::string >, GetPropType< TypeTag, Properties::Scalar > > & | getWellFreeTracerRates () const |
|
const std::map< std::pair< std::string, std::string >, GetPropType< TypeTag, Properties::Scalar > > & | getWellSolTracerRates () const |
|
const std::map< std::tuple< std::string, std::string, std::size_t >, GetPropType< TypeTag, Properties::Scalar > > & | getMswTracerRates () const |
|
|
Scalar | computeFreeVolume_ (const int tracerPhaseIdx, unsigned globalDofIdx, unsigned timeIdx) |
|
Scalar | computeSolutionVolume_ (const int tracerPhaseIdx, unsigned globalDofIdx, unsigned timeIdx) |
|
void | computeFreeFlux_ (TracerEvaluation &freeFlux, bool &isUp, const int tracerPhaseIdx, const ElementContext &elemCtx, unsigned scvfIdx, unsigned timeIdx) |
|
void | computeSolFlux_ (TracerEvaluation &solFlux, bool &isUp, const int tracerPhaseIdx, const ElementContext &elemCtx, unsigned scvfIdx, unsigned timeIdx) |
|
template<class TrRe > |
void | assembleTracerEquationVolume (TrRe &tr, const ElementContext &elemCtx, const Scalar scvVolume, const Scalar dt, unsigned I, unsigned I1) |
|
template<class TrRe > |
void | assembleTracerEquationFlux (TrRe &tr, const ElementContext &elemCtx, unsigned scvfIdx, unsigned I, unsigned J, const Scalar dt) |
|
template<class TrRe , class Well > |
void | assembleTracerEquationWell (TrRe &tr, const Well &well) |
|
template<class TrRe > |
void | assembleTracerEquationSource (TrRe &tr, const Scalar dt, unsigned I) |
|
void | assembleTracerEquations_ () |
|
void | updateStorageCache () |
|
void | advanceTracerFields () |
|
void | doInit (bool rst, std::size_t numGridDof, std::size_t gasPhaseIdx, std::size_t oilPhaseIdx, std::size_t waterPhaseIdx) |
| Initialize all internal data structures needed by the tracer module. More...
|
|
bool | linearSolve_ (const TracerMatrix &M, TracerVector &x, TracerVector &b) |
|
bool | linearSolveBatchwise_ (const TracerMatrix &M, std::vector< TracerVector > &x, std::vector< TracerVector > &b) |
|
GetPropType< TypeTag, Properties::Scalar > | currentConcentration_ (const Well &eclWell, const std::string &name) const |
|
|
Simulator & | simulator_ |
|
std::array< TracerBatch< TracerVector >, 3 > | tbatch |
|
TracerBatch< TracerVector > & | wat_ |
|
TracerBatch< TracerVector > & | oil_ |
|
TracerBatch< TracerVector > & | gas_ |
|
std::array< std::vector< Scalar >, 3 > | fVol1_ |
|
std::array< std::vector< Scalar >, 3 > | sVol1_ |
|
std::array< std::vector< Scalar >, 3 > | dsVol_ |
|
std::array< std::vector< Scalar >, 3 > | dfVol_ |
|
const GetPropType< TypeTag, Properties::GridView > & | gridView_ |
|
const EclipseState & | eclState_ |
|
const CartesianIndexMapper & | cartMapper_ |
|
const GetPropType< TypeTag, Properties::DofMapper > & | dofMapper_ |
|
std::vector< int > | tracerPhaseIdx_ |
|
std::vector< bool > | enableSolTracers_ |
|
std::vector< TracerVector > | tracerConcentration_ |
|
std::unique_ptr< TracerMatrix > | tracerMatrix_ |
|
std::vector< TracerVectorSingle > | freeTracerConcentration_ |
|
std::vector< TracerVectorSingle > | solTracerConcentration_ |
|
std::map< std::pair< std::string, std::string >, GetPropType< TypeTag, Properties::Scalar > > | wellTracerRate_ |
|
std::map< std::pair< std::string, std::string >, GetPropType< TypeTag, Properties::Scalar > > | wellFreeTracerRate_ |
|
std::map< std::pair< std::string, std::string >, GetPropType< TypeTag, Properties::Scalar > > | wellSolTracerRate_ |
|
std::map< std::tuple< std::string, std::string, std::size_t >, GetPropType< TypeTag, Properties::Scalar > > | mSwTracerRate_ |
|
std::function< std::array< double, dimWorld >(int)> | centroids_ |
| Function returning the cell centers. More...
|
|
template<class TypeTag>
class Opm::TracerModel< TypeTag > A class which handles tracers as specified in by ECL.
◆ CartesianIndexMapper
using Opm::GenericTracerModel< GetPropType< TypeTag, Properties::Grid > , GetPropType< TypeTag, Properties::GridView > , GetPropType< TypeTag, Properties::DofMapper > , GetPropType< TypeTag, Properties::Stencil > , GetPropType< TypeTag, Properties::FluidSystem > , GetPropType< TypeTag, Properties::Scalar > >::CartesianIndexMapper = Dune::CartesianIndexMapper<GetPropType< TypeTag, Properties::Grid > > |
|
inherited |
◆ TracerVectorSingle
using Opm::GenericTracerModel< GetPropType< TypeTag, Properties::Grid > , GetPropType< TypeTag, Properties::GridView > , GetPropType< TypeTag, Properties::DofMapper > , GetPropType< TypeTag, Properties::Stencil > , GetPropType< TypeTag, Properties::FluidSystem > , GetPropType< TypeTag, Properties::Scalar > >::TracerVectorSingle = Dune::BlockVector<Dune::FieldVector<GetPropType< TypeTag, Properties::Scalar > , 1> > |
|
inherited |
◆ TracerModel()
◆ advanceTracerFields()
References Opm::TracerModel< TypeTag >::assembleTracerEquations_(), Opm::GenericTracerModel< GetPropType< TypeTag, Properties::Grid >, GetPropType< TypeTag, Properties::GridView >, GetPropType< TypeTag, Properties::DofMapper >, GetPropType< TypeTag, Properties::Stencil >, GetPropType< TypeTag, Properties::FluidSystem >, GetPropType< TypeTag, Properties::Scalar > >::freeTracerConcentration_, Opm::GenericTracerModel< GetPropType< TypeTag, Properties::Grid >, GetPropType< TypeTag, Properties::GridView >, GetPropType< TypeTag, Properties::DofMapper >, GetPropType< TypeTag, Properties::Stencil >, GetPropType< TypeTag, Properties::FluidSystem >, GetPropType< TypeTag, Properties::Scalar > >::linearSolveBatchwise_(), Opm::GenericTracerModel< GetPropType< TypeTag, Properties::Grid >, GetPropType< TypeTag, Properties::GridView >, GetPropType< TypeTag, Properties::DofMapper >, GetPropType< TypeTag, Properties::Stencil >, GetPropType< TypeTag, Properties::FluidSystem >, GetPropType< TypeTag, Properties::Scalar > >::mSwTracerRate_, Opm::GenericTracerModel< GetPropType< TypeTag, Properties::Grid >, GetPropType< TypeTag, Properties::GridView >, GetPropType< TypeTag, Properties::DofMapper >, GetPropType< TypeTag, Properties::Stencil >, GetPropType< TypeTag, Properties::FluidSystem >, GetPropType< TypeTag, Properties::Scalar > >::name(), Opm::TracerModel< TypeTag >::simulator_, Opm::GenericTracerModel< GetPropType< TypeTag, Properties::Grid >, GetPropType< TypeTag, Properties::GridView >, GetPropType< TypeTag, Properties::DofMapper >, GetPropType< TypeTag, Properties::Stencil >, GetPropType< TypeTag, Properties::FluidSystem >, GetPropType< TypeTag, Properties::Scalar > >::solTracerConcentration_, Opm::TracerModel< TypeTag >::tbatch, Opm::GenericTracerModel< GetPropType< TypeTag, Properties::Grid >, GetPropType< TypeTag, Properties::GridView >, GetPropType< TypeTag, Properties::DofMapper >, GetPropType< TypeTag, Properties::Stencil >, GetPropType< TypeTag, Properties::FluidSystem >, GetPropType< TypeTag, Properties::Scalar > >::wellFreeTracerRate_, Opm::GenericTracerModel< GetPropType< TypeTag, Properties::Grid >, GetPropType< TypeTag, Properties::GridView >, GetPropType< TypeTag, Properties::DofMapper >, GetPropType< TypeTag, Properties::Stencil >, GetPropType< TypeTag, Properties::FluidSystem >, GetPropType< TypeTag, Properties::Scalar > >::wellSolTracerRate_, and Opm::GenericTracerModel< GetPropType< TypeTag, Properties::Grid >, GetPropType< TypeTag, Properties::GridView >, GetPropType< TypeTag, Properties::DofMapper >, GetPropType< TypeTag, Properties::Stencil >, GetPropType< TypeTag, Properties::FluidSystem >, GetPropType< TypeTag, Properties::Scalar > >::wellTracerRate_.
Referenced by Opm::TracerModel< TypeTag >::endTimeStep().
◆ assembleTracerEquationFlux()
template<class TypeTag >
template<class TrRe >
void Opm::TracerModel< TypeTag >::assembleTracerEquationFlux |
( |
TrRe & |
tr, |
|
|
const ElementContext & |
elemCtx, |
|
|
unsigned |
scvfIdx, |
|
|
unsigned |
I, |
|
|
unsigned |
J, |
|
|
const Scalar |
dt |
|
) |
| |
|
inlineprotected |
◆ assembleTracerEquations_()
◆ assembleTracerEquationSource()
template<class TypeTag >
template<class TrRe >
void Opm::TracerModel< TypeTag >::assembleTracerEquationSource |
( |
TrRe & |
tr, |
|
|
const Scalar |
dt, |
|
|
unsigned |
I |
|
) |
| |
|
inlineprotected |
◆ assembleTracerEquationVolume()
template<class TypeTag >
template<class TrRe >
void Opm::TracerModel< TypeTag >::assembleTracerEquationVolume |
( |
TrRe & |
tr, |
|
|
const ElementContext & |
elemCtx, |
|
|
const Scalar |
scvVolume, |
|
|
const Scalar |
dt, |
|
|
unsigned |
I, |
|
|
unsigned |
I1 |
|
) |
| |
|
inlineprotected |
◆ assembleTracerEquationWell()
template<class TypeTag >
template<class TrRe , class Well >
void Opm::TracerModel< TypeTag >::assembleTracerEquationWell |
( |
TrRe & |
tr, |
|
|
const Well & |
well |
|
) |
| |
|
inlineprotected |
References Opm::GenericTracerModel< GetPropType< TypeTag, Properties::Grid >, GetPropType< TypeTag, Properties::GridView >, GetPropType< TypeTag, Properties::DofMapper >, GetPropType< TypeTag, Properties::Stencil >, GetPropType< TypeTag, Properties::FluidSystem >, GetPropType< TypeTag, Properties::Scalar > >::currentConcentration_(), Opm::TracerModel< TypeTag >::dfVol_, Opm::TracerModel< TypeTag >::dsVol_, Opm::GenericTracerModel< GetPropType< TypeTag, Properties::Grid >, GetPropType< TypeTag, Properties::GridView >, GetPropType< TypeTag, Properties::DofMapper >, GetPropType< TypeTag, Properties::Stencil >, GetPropType< TypeTag, Properties::FluidSystem >, GetPropType< TypeTag, Properties::Scalar > >::mSwTracerRate_, Opm::GenericTracerModel< GetPropType< TypeTag, Properties::Grid >, GetPropType< TypeTag, Properties::GridView >, GetPropType< TypeTag, Properties::DofMapper >, GetPropType< TypeTag, Properties::Stencil >, GetPropType< TypeTag, Properties::FluidSystem >, GetPropType< TypeTag, Properties::Scalar > >::name(), Opm::TracerModel< TypeTag >::simulator_, Opm::GenericTracerModel< GetPropType< TypeTag, Properties::Grid >, GetPropType< TypeTag, Properties::GridView >, GetPropType< TypeTag, Properties::DofMapper >, GetPropType< TypeTag, Properties::Stencil >, GetPropType< TypeTag, Properties::FluidSystem >, GetPropType< TypeTag, Properties::Scalar > >::wellFreeTracerRate_, Opm::GenericTracerModel< GetPropType< TypeTag, Properties::Grid >, GetPropType< TypeTag, Properties::GridView >, GetPropType< TypeTag, Properties::DofMapper >, GetPropType< TypeTag, Properties::Stencil >, GetPropType< TypeTag, Properties::FluidSystem >, GetPropType< TypeTag, Properties::Scalar > >::wellSolTracerRate_, and Opm::GenericTracerModel< GetPropType< TypeTag, Properties::Grid >, GetPropType< TypeTag, Properties::GridView >, GetPropType< TypeTag, Properties::DofMapper >, GetPropType< TypeTag, Properties::Stencil >, GetPropType< TypeTag, Properties::FluidSystem >, GetPropType< TypeTag, Properties::Scalar > >::wellTracerRate_.
Referenced by Opm::TracerModel< TypeTag >::assembleTracerEquations_().
◆ beginTimeStep()
References Opm::GenericTracerModel< GetPropType< TypeTag, Properties::Grid >, GetPropType< TypeTag, Properties::GridView >, GetPropType< TypeTag, Properties::DofMapper >, GetPropType< TypeTag, Properties::Stencil >, GetPropType< TypeTag, Properties::FluidSystem >, GetPropType< TypeTag, Properties::Scalar > >::numTracers(), and Opm::TracerModel< TypeTag >::updateStorageCache().
◆ computeFreeFlux_()
template<class TypeTag >
void Opm::TracerModel< TypeTag >::computeFreeFlux_ |
( |
TracerEvaluation & |
freeFlux, |
|
|
bool & |
isUp, |
|
|
const int |
tracerPhaseIdx, |
|
|
const ElementContext & |
elemCtx, |
|
|
unsigned |
scvfIdx, |
|
|
unsigned |
timeIdx |
|
) |
| |
|
inlineprotected |
◆ computeFreeVolume_()
template<class TypeTag >
Scalar Opm::TracerModel< TypeTag >::computeFreeVolume_ |
( |
const int |
tracerPhaseIdx, |
|
|
unsigned |
globalDofIdx, |
|
|
unsigned |
timeIdx |
|
) |
| |
|
inlineprotected |
◆ computeSolFlux_()
template<class TypeTag >
void Opm::TracerModel< TypeTag >::computeSolFlux_ |
( |
TracerEvaluation & |
solFlux, |
|
|
bool & |
isUp, |
|
|
const int |
tracerPhaseIdx, |
|
|
const ElementContext & |
elemCtx, |
|
|
unsigned |
scvfIdx, |
|
|
unsigned |
timeIdx |
|
) |
| |
|
inlineprotected |
◆ computeSolutionVolume_()
template<class TypeTag >
Scalar Opm::TracerModel< TypeTag >::computeSolutionVolume_ |
( |
const int |
tracerPhaseIdx, |
|
|
unsigned |
globalDofIdx, |
|
|
unsigned |
timeIdx |
|
) |
| |
|
inlineprotected |
◆ currentConcentration_()
GetPropType< TypeTag, Properties::Scalar > Opm::GenericTracerModel< GetPropType< TypeTag, Properties::Grid > , GetPropType< TypeTag, Properties::GridView > , GetPropType< TypeTag, Properties::DofMapper > , GetPropType< TypeTag, Properties::Stencil > , GetPropType< TypeTag, Properties::FluidSystem > , GetPropType< TypeTag, Properties::Scalar > >::currentConcentration_ |
( |
const Well & |
eclWell, |
|
|
const std::string & |
name |
|
) |
| const |
|
protectedinherited |
◆ deserialize()
template<class TypeTag >
template<class Restarter >
This method restores the complete state of the tracer from disk.
It is the inverse of the serialize() method.
◆ doInit()
void Opm::GenericTracerModel< GetPropType< TypeTag, Properties::Grid > , GetPropType< TypeTag, Properties::GridView > , GetPropType< TypeTag, Properties::DofMapper > , GetPropType< TypeTag, Properties::Stencil > , GetPropType< TypeTag, Properties::FluidSystem > , GetPropType< TypeTag, Properties::Scalar > >::doInit |
( |
bool |
rst, |
|
|
std::size_t |
numGridDof, |
|
|
std::size_t |
gasPhaseIdx, |
|
|
std::size_t |
oilPhaseIdx, |
|
|
std::size_t |
waterPhaseIdx |
|
) |
| |
|
protectedinherited |
Initialize all internal data structures needed by the tracer module.
◆ enableSolTracers()
const std::vector< bool > & Opm::GenericTracerModel< GetPropType< TypeTag, Properties::Grid > , GetPropType< TypeTag, Properties::GridView > , GetPropType< TypeTag, Properties::DofMapper > , GetPropType< TypeTag, Properties::Stencil > , GetPropType< TypeTag, Properties::FluidSystem > , GetPropType< TypeTag, Properties::Scalar > >::enableSolTracers |
|
inherited |
◆ endTimeStep()
Informs the tracer model that a time step has just been finished.
References Opm::TracerModel< TypeTag >::advanceTracerFields(), and Opm::GenericTracerModel< GetPropType< TypeTag, Properties::Grid >, GetPropType< TypeTag, Properties::GridView >, GetPropType< TypeTag, Properties::DofMapper >, GetPropType< TypeTag, Properties::Stencil >, GetPropType< TypeTag, Properties::FluidSystem >, GetPropType< TypeTag, Properties::Scalar > >::numTracers().
◆ fname()
std::string Opm::GenericTracerModel< GetPropType< TypeTag, Properties::Grid > , GetPropType< TypeTag, Properties::GridView > , GetPropType< TypeTag, Properties::DofMapper > , GetPropType< TypeTag, Properties::Stencil > , GetPropType< TypeTag, Properties::FluidSystem > , GetPropType< TypeTag, Properties::Scalar > >::fname |
( |
int |
tracerIdx | ) |
const |
|
inherited |
◆ freeTracerConcentration()
GetPropType< TypeTag, Properties::Scalar > Opm::GenericTracerModel< GetPropType< TypeTag, Properties::Grid > , GetPropType< TypeTag, Properties::GridView > , GetPropType< TypeTag, Properties::DofMapper > , GetPropType< TypeTag, Properties::Stencil > , GetPropType< TypeTag, Properties::FluidSystem > , GetPropType< TypeTag, Properties::Scalar > >::freeTracerConcentration |
( |
int |
tracerIdx, |
|
|
int |
globalDofIdx |
|
) |
| const |
|
inherited |
Return the tracer concentration for tracer index and global DofIdx.
◆ getMswTracerRates()
const std::map< std::tuple< std::string, std::string, std::size_t >, GetPropType< TypeTag, Properties::Scalar > > & Opm::GenericTracerModel< GetPropType< TypeTag, Properties::Grid > , GetPropType< TypeTag, Properties::GridView > , GetPropType< TypeTag, Properties::DofMapper > , GetPropType< TypeTag, Properties::Stencil > , GetPropType< TypeTag, Properties::FluidSystem > , GetPropType< TypeTag, Properties::Scalar > >::getMswTracerRates |
( |
| ) |
const |
|
inlineinherited |
◆ getWellFreeTracerRates()
const std::map< std::pair< std::string, std::string >, GetPropType< TypeTag, Properties::Scalar > > & Opm::GenericTracerModel< GetPropType< TypeTag, Properties::Grid > , GetPropType< TypeTag, Properties::GridView > , GetPropType< TypeTag, Properties::DofMapper > , GetPropType< TypeTag, Properties::Stencil > , GetPropType< TypeTag, Properties::FluidSystem > , GetPropType< TypeTag, Properties::Scalar > >::getWellFreeTracerRates |
( |
| ) |
const |
|
inlineinherited |
◆ getWellSolTracerRates()
const std::map< std::pair< std::string, std::string >, GetPropType< TypeTag, Properties::Scalar > > & Opm::GenericTracerModel< GetPropType< TypeTag, Properties::Grid > , GetPropType< TypeTag, Properties::GridView > , GetPropType< TypeTag, Properties::DofMapper > , GetPropType< TypeTag, Properties::Stencil > , GetPropType< TypeTag, Properties::FluidSystem > , GetPropType< TypeTag, Properties::Scalar > >::getWellSolTracerRates |
( |
| ) |
const |
|
inlineinherited |
◆ getWellTracerRates()
const std::map< std::pair< std::string, std::string >, GetPropType< TypeTag, Properties::Scalar > > & Opm::GenericTracerModel< GetPropType< TypeTag, Properties::Grid > , GetPropType< TypeTag, Properties::GridView > , GetPropType< TypeTag, Properties::DofMapper > , GetPropType< TypeTag, Properties::Stencil > , GetPropType< TypeTag, Properties::FluidSystem > , GetPropType< TypeTag, Properties::Scalar > >::getWellTracerRates |
( |
| ) |
const |
|
inlineinherited |
Return well tracer rates.
◆ init()
References Opm::GenericTracerModel< GetPropType< TypeTag, Properties::Grid >, GetPropType< TypeTag, Properties::GridView >, GetPropType< TypeTag, Properties::DofMapper >, GetPropType< TypeTag, Properties::Stencil >, GetPropType< TypeTag, Properties::FluidSystem >, GetPropType< TypeTag, Properties::Scalar > >::doInit(), and Opm::TracerModel< TypeTag >::simulator_.
◆ linearSolve_()
bool Opm::GenericTracerModel< GetPropType< TypeTag, Properties::Grid > , GetPropType< TypeTag, Properties::GridView > , GetPropType< TypeTag, Properties::DofMapper > , GetPropType< TypeTag, Properties::Stencil > , GetPropType< TypeTag, Properties::FluidSystem > , GetPropType< TypeTag, Properties::Scalar > >::linearSolve_ |
( |
const TracerMatrix & |
M, |
|
|
TracerVector & |
x, |
|
|
TracerVector & |
b |
|
) |
| |
|
protectedinherited |
◆ linearSolveBatchwise_()
bool Opm::GenericTracerModel< GetPropType< TypeTag, Properties::Grid > , GetPropType< TypeTag, Properties::GridView > , GetPropType< TypeTag, Properties::DofMapper > , GetPropType< TypeTag, Properties::Stencil > , GetPropType< TypeTag, Properties::FluidSystem > , GetPropType< TypeTag, Properties::Scalar > >::linearSolveBatchwise_ |
( |
const TracerMatrix & |
M, |
|
|
std::vector< TracerVector > & |
x, |
|
|
std::vector< TracerVector > & |
b |
|
) |
| |
|
protectedinherited |
◆ name()
const std::string & Opm::GenericTracerModel< GetPropType< TypeTag, Properties::Grid > , GetPropType< TypeTag, Properties::GridView > , GetPropType< TypeTag, Properties::DofMapper > , GetPropType< TypeTag, Properties::Stencil > , GetPropType< TypeTag, Properties::FluidSystem > , GetPropType< TypeTag, Properties::Scalar > >::name |
( |
int |
tracerIdx | ) |
const |
|
inherited |
◆ numTracers()
int Opm::GenericTracerModel< GetPropType< TypeTag, Properties::Grid > , GetPropType< TypeTag, Properties::GridView > , GetPropType< TypeTag, Properties::DofMapper > , GetPropType< TypeTag, Properties::Stencil > , GetPropType< TypeTag, Properties::FluidSystem > , GetPropType< TypeTag, Properties::Scalar > >::numTracers |
|
inherited |
Return the number of tracers considered by the tracerModel.
◆ phase()
Phase Opm::GenericTracerModel< GetPropType< TypeTag, Properties::Grid > , GetPropType< TypeTag, Properties::GridView > , GetPropType< TypeTag, Properties::DofMapper > , GetPropType< TypeTag, Properties::Stencil > , GetPropType< TypeTag, Properties::FluidSystem > , GetPropType< TypeTag, Properties::Scalar > >::phase |
( |
int |
tracerIdx | ) |
const |
|
inherited |
◆ prepareTracerBatches()
References Opm::TracerModel< TypeTag >::TracerBatch< TV >::addTracer(), Opm::TracerModel< TypeTag >::dfVol_, Opm::TracerModel< TypeTag >::dsVol_, Opm::GenericTracerModel< GetPropType< TypeTag, Properties::Grid >, GetPropType< TypeTag, Properties::GridView >, GetPropType< TypeTag, Properties::DofMapper >, GetPropType< TypeTag, Properties::Stencil >, GetPropType< TypeTag, Properties::FluidSystem >, GetPropType< TypeTag, Properties::Scalar > >::freeTracerConcentration_, Opm::TracerModel< TypeTag >::fVol1_, Opm::TracerModel< TypeTag >::gas_, Opm::GenericTracerModel< GetPropType< TypeTag, Properties::Grid >, GetPropType< TypeTag, Properties::GridView >, GetPropType< TypeTag, Properties::DofMapper >, GetPropType< TypeTag, Properties::Stencil >, GetPropType< TypeTag, Properties::FluidSystem >, GetPropType< TypeTag, Properties::Scalar > >::name(), Opm::TracerModel< TypeTag >::oil_, Opm::GenericTracerModel< GetPropType< TypeTag, Properties::Grid >, GetPropType< TypeTag, Properties::GridView >, GetPropType< TypeTag, Properties::DofMapper >, GetPropType< TypeTag, Properties::Stencil >, GetPropType< TypeTag, Properties::FluidSystem >, GetPropType< TypeTag, Properties::Scalar > >::solTracerConcentration_, Opm::TracerModel< TypeTag >::sVol1_, Opm::TracerModel< TypeTag >::tbatch, Opm::GenericTracerModel< GetPropType< TypeTag, Properties::Grid >, GetPropType< TypeTag, Properties::GridView >, GetPropType< TypeTag, Properties::DofMapper >, GetPropType< TypeTag, Properties::Stencil >, GetPropType< TypeTag, Properties::FluidSystem >, GetPropType< TypeTag, Properties::Scalar > >::tracerConcentration_, Opm::GenericTracerModel< GetPropType< TypeTag, Properties::Grid >, GetPropType< TypeTag, Properties::GridView >, GetPropType< TypeTag, Properties::DofMapper >, GetPropType< TypeTag, Properties::Stencil >, GetPropType< TypeTag, Properties::FluidSystem >, GetPropType< TypeTag, Properties::Scalar > >::tracerMatrix_, Opm::GenericTracerModel< GetPropType< TypeTag, Properties::Grid >, GetPropType< TypeTag, Properties::GridView >, GetPropType< TypeTag, Properties::DofMapper >, GetPropType< TypeTag, Properties::Stencil >, GetPropType< TypeTag, Properties::FluidSystem >, GetPropType< TypeTag, Properties::Scalar > >::tracerPhaseIdx_, and Opm::TracerModel< TypeTag >::wat_.
◆ serialize()
template<class TypeTag >
template<class Restarter >
This method writes the complete state of all tracer to the hard disk.
◆ serializeOp()
template<class TypeTag >
template<class Serializer >
◆ setEnableSolTracers()
void Opm::GenericTracerModel< GetPropType< TypeTag, Properties::Grid > , GetPropType< TypeTag, Properties::GridView > , GetPropType< TypeTag, Properties::DofMapper > , GetPropType< TypeTag, Properties::Stencil > , GetPropType< TypeTag, Properties::FluidSystem > , GetPropType< TypeTag, Properties::Scalar > >::setEnableSolTracers |
( |
int |
tracerIdx, |
|
|
bool |
enableSolTracer |
|
) |
| |
|
inherited |
◆ setFreeTracerConcentration()
void Opm::GenericTracerModel< GetPropType< TypeTag, Properties::Grid > , GetPropType< TypeTag, Properties::GridView > , GetPropType< TypeTag, Properties::DofMapper > , GetPropType< TypeTag, Properties::Stencil > , GetPropType< TypeTag, Properties::FluidSystem > , GetPropType< TypeTag, Properties::Scalar > >::setFreeTracerConcentration |
( |
int |
tracerIdx, |
|
|
int |
globalDofIdx, |
|
|
GetPropType< TypeTag, Properties::Scalar > |
value |
|
) |
| |
|
inherited |
◆ setSolTracerConcentration()
void Opm::GenericTracerModel< GetPropType< TypeTag, Properties::Grid > , GetPropType< TypeTag, Properties::GridView > , GetPropType< TypeTag, Properties::DofMapper > , GetPropType< TypeTag, Properties::Stencil > , GetPropType< TypeTag, Properties::FluidSystem > , GetPropType< TypeTag, Properties::Scalar > >::setSolTracerConcentration |
( |
int |
tracerIdx, |
|
|
int |
globalDofIdx, |
|
|
GetPropType< TypeTag, Properties::Scalar > |
value |
|
) |
| |
|
inherited |
◆ sname()
std::string Opm::GenericTracerModel< GetPropType< TypeTag, Properties::Grid > , GetPropType< TypeTag, Properties::GridView > , GetPropType< TypeTag, Properties::DofMapper > , GetPropType< TypeTag, Properties::Stencil > , GetPropType< TypeTag, Properties::FluidSystem > , GetPropType< TypeTag, Properties::Scalar > >::sname |
( |
int |
tracerIdx | ) |
const |
|
inherited |
◆ solTracerConcentration()
GetPropType< TypeTag, Properties::Scalar > Opm::GenericTracerModel< GetPropType< TypeTag, Properties::Grid > , GetPropType< TypeTag, Properties::GridView > , GetPropType< TypeTag, Properties::DofMapper > , GetPropType< TypeTag, Properties::Stencil > , GetPropType< TypeTag, Properties::FluidSystem > , GetPropType< TypeTag, Properties::Scalar > >::solTracerConcentration |
( |
int |
tracerIdx, |
|
|
int |
globalDofIdx |
|
) |
| const |
|
inherited |
◆ updateStorageCache()
◆ wellfname()
std::string Opm::GenericTracerModel< GetPropType< TypeTag, Properties::Grid > , GetPropType< TypeTag, Properties::GridView > , GetPropType< TypeTag, Properties::DofMapper > , GetPropType< TypeTag, Properties::Stencil > , GetPropType< TypeTag, Properties::FluidSystem > , GetPropType< TypeTag, Properties::Scalar > >::wellfname |
( |
int |
tracerIdx | ) |
const |
|
inherited |
◆ wellsname()
std::string Opm::GenericTracerModel< GetPropType< TypeTag, Properties::Grid > , GetPropType< TypeTag, Properties::GridView > , GetPropType< TypeTag, Properties::DofMapper > , GetPropType< TypeTag, Properties::Stencil > , GetPropType< TypeTag, Properties::FluidSystem > , GetPropType< TypeTag, Properties::Scalar > >::wellsname |
( |
int |
tracerIdx | ) |
const |
|
inherited |
◆ cartMapper_
const CartesianIndexMapper& Opm::GenericTracerModel< GetPropType< TypeTag, Properties::Grid > , GetPropType< TypeTag, Properties::GridView > , GetPropType< TypeTag, Properties::DofMapper > , GetPropType< TypeTag, Properties::Stencil > , GetPropType< TypeTag, Properties::FluidSystem > , GetPropType< TypeTag, Properties::Scalar > >::cartMapper_ |
|
protectedinherited |
◆ centroids_
std::function<std::array<double,dimWorld>(int)> Opm::GenericTracerModel< GetPropType< TypeTag, Properties::Grid > , GetPropType< TypeTag, Properties::GridView > , GetPropType< TypeTag, Properties::DofMapper > , GetPropType< TypeTag, Properties::Stencil > , GetPropType< TypeTag, Properties::FluidSystem > , GetPropType< TypeTag, Properties::Scalar > >::centroids_ |
|
protectedinherited |
Function returning the cell centers.
◆ dfVol_
◆ dimWorld
constexpr int Opm::GenericTracerModel< GetPropType< TypeTag, Properties::Grid > , GetPropType< TypeTag, Properties::GridView > , GetPropType< TypeTag, Properties::DofMapper > , GetPropType< TypeTag, Properties::Stencil > , GetPropType< TypeTag, Properties::FluidSystem > , GetPropType< TypeTag, Properties::Scalar > >::dimWorld |
|
staticconstexprinherited |
◆ dofMapper_
const GetPropType< TypeTag, Properties::DofMapper > & Opm::GenericTracerModel< GetPropType< TypeTag, Properties::Grid > , GetPropType< TypeTag, Properties::GridView > , GetPropType< TypeTag, Properties::DofMapper > , GetPropType< TypeTag, Properties::Stencil > , GetPropType< TypeTag, Properties::FluidSystem > , GetPropType< TypeTag, Properties::Scalar > >::dofMapper_ |
|
protectedinherited |
◆ dsVol_
◆ eclState_
const EclipseState& Opm::GenericTracerModel< GetPropType< TypeTag, Properties::Grid > , GetPropType< TypeTag, Properties::GridView > , GetPropType< TypeTag, Properties::DofMapper > , GetPropType< TypeTag, Properties::Stencil > , GetPropType< TypeTag, Properties::FluidSystem > , GetPropType< TypeTag, Properties::Scalar > >::eclState_ |
|
protectedinherited |
◆ enableSolTracers_
std::vector<bool> Opm::GenericTracerModel< GetPropType< TypeTag, Properties::Grid > , GetPropType< TypeTag, Properties::GridView > , GetPropType< TypeTag, Properties::DofMapper > , GetPropType< TypeTag, Properties::Stencil > , GetPropType< TypeTag, Properties::FluidSystem > , GetPropType< TypeTag, Properties::Scalar > >::enableSolTracers_ |
|
protectedinherited |
◆ freeTracerConcentration_
std::vector<TracerVectorSingle> Opm::GenericTracerModel< GetPropType< TypeTag, Properties::Grid > , GetPropType< TypeTag, Properties::GridView > , GetPropType< TypeTag, Properties::DofMapper > , GetPropType< TypeTag, Properties::Stencil > , GetPropType< TypeTag, Properties::FluidSystem > , GetPropType< TypeTag, Properties::Scalar > >::freeTracerConcentration_ |
|
protectedinherited |
◆ fVol1_
◆ gas_
◆ gridView_
const GetPropType< TypeTag, Properties::GridView > & Opm::GenericTracerModel< GetPropType< TypeTag, Properties::Grid > , GetPropType< TypeTag, Properties::GridView > , GetPropType< TypeTag, Properties::DofMapper > , GetPropType< TypeTag, Properties::Stencil > , GetPropType< TypeTag, Properties::FluidSystem > , GetPropType< TypeTag, Properties::Scalar > >::gridView_ |
|
protectedinherited |
◆ mSwTracerRate_
std::map<std::tuple<std::string, std::string, std::size_t>, GetPropType< TypeTag, Properties::Scalar > > Opm::GenericTracerModel< GetPropType< TypeTag, Properties::Grid > , GetPropType< TypeTag, Properties::GridView > , GetPropType< TypeTag, Properties::DofMapper > , GetPropType< TypeTag, Properties::Stencil > , GetPropType< TypeTag, Properties::FluidSystem > , GetPropType< TypeTag, Properties::Scalar > >::mSwTracerRate_ |
|
protectedinherited |
◆ oil_
◆ simulator_
◆ solTracerConcentration_
std::vector<TracerVectorSingle> Opm::GenericTracerModel< GetPropType< TypeTag, Properties::Grid > , GetPropType< TypeTag, Properties::GridView > , GetPropType< TypeTag, Properties::DofMapper > , GetPropType< TypeTag, Properties::Stencil > , GetPropType< TypeTag, Properties::FluidSystem > , GetPropType< TypeTag, Properties::Scalar > >::solTracerConcentration_ |
|
protectedinherited |
◆ sVol1_
◆ tbatch
◆ tracerConcentration_
std::vector<TracerVector> Opm::GenericTracerModel< GetPropType< TypeTag, Properties::Grid > , GetPropType< TypeTag, Properties::GridView > , GetPropType< TypeTag, Properties::DofMapper > , GetPropType< TypeTag, Properties::Stencil > , GetPropType< TypeTag, Properties::FluidSystem > , GetPropType< TypeTag, Properties::Scalar > >::tracerConcentration_ |
|
protectedinherited |
◆ tracerMatrix_
std::unique_ptr<TracerMatrix> Opm::GenericTracerModel< GetPropType< TypeTag, Properties::Grid > , GetPropType< TypeTag, Properties::GridView > , GetPropType< TypeTag, Properties::DofMapper > , GetPropType< TypeTag, Properties::Stencil > , GetPropType< TypeTag, Properties::FluidSystem > , GetPropType< TypeTag, Properties::Scalar > >::tracerMatrix_ |
|
protectedinherited |
◆ tracerPhaseIdx_
std::vector<int> Opm::GenericTracerModel< GetPropType< TypeTag, Properties::Grid > , GetPropType< TypeTag, Properties::GridView > , GetPropType< TypeTag, Properties::DofMapper > , GetPropType< TypeTag, Properties::Stencil > , GetPropType< TypeTag, Properties::FluidSystem > , GetPropType< TypeTag, Properties::Scalar > >::tracerPhaseIdx_ |
|
protectedinherited |
◆ wat_
◆ wellFreeTracerRate_
std::map<std::pair<std::string, std::string>, GetPropType< TypeTag, Properties::Scalar > > Opm::GenericTracerModel< GetPropType< TypeTag, Properties::Grid > , GetPropType< TypeTag, Properties::GridView > , GetPropType< TypeTag, Properties::DofMapper > , GetPropType< TypeTag, Properties::Stencil > , GetPropType< TypeTag, Properties::FluidSystem > , GetPropType< TypeTag, Properties::Scalar > >::wellFreeTracerRate_ |
|
protectedinherited |
◆ wellSolTracerRate_
std::map<std::pair<std::string, std::string>, GetPropType< TypeTag, Properties::Scalar > > Opm::GenericTracerModel< GetPropType< TypeTag, Properties::Grid > , GetPropType< TypeTag, Properties::GridView > , GetPropType< TypeTag, Properties::DofMapper > , GetPropType< TypeTag, Properties::Stencil > , GetPropType< TypeTag, Properties::FluidSystem > , GetPropType< TypeTag, Properties::Scalar > >::wellSolTracerRate_ |
|
protectedinherited |
◆ wellTracerRate_
std::map<std::pair<std::string, std::string>, GetPropType< TypeTag, Properties::Scalar > > Opm::GenericTracerModel< GetPropType< TypeTag, Properties::Grid > , GetPropType< TypeTag, Properties::GridView > , GetPropType< TypeTag, Properties::DofMapper > , GetPropType< TypeTag, Properties::Stencil > , GetPropType< TypeTag, Properties::FluidSystem > , GetPropType< TypeTag, Properties::Scalar > >::wellTracerRate_ |
|
protectedinherited |
The documentation for this class was generated from the following file:
|