mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Implement numTracers with embedded EclipseState
This commit is contained in:
@@ -134,6 +134,13 @@ setTracerConcentration(int tracerIdx, int globalDofIdx, Scalar value)
|
|||||||
this->tracerConcentration_[tracerIdx][globalDofIdx] = value;
|
this->tracerConcentration_[tracerIdx][globalDofIdx] = value;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
template<class Grid,class GridView, class DofMapper, class Stencil, class Scalar>
|
||||||
|
int EclGenericTracerModel<Grid,GridView,DofMapper,Stencil,Scalar>::
|
||||||
|
numTracers() const
|
||||||
|
{
|
||||||
|
return this->eclState_.tracer().size();
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
template<class Grid,class GridView, class DofMapper, class Stencil, class Scalar>
|
template<class Grid,class GridView, class DofMapper, class Stencil, class Scalar>
|
||||||
void EclGenericTracerModel<Grid,GridView,DofMapper,Stencil,Scalar>::
|
void EclGenericTracerModel<Grid,GridView,DofMapper,Stencil,Scalar>::
|
||||||
|
|||||||
@@ -55,8 +55,7 @@ public:
|
|||||||
/*!
|
/*!
|
||||||
* \brief Return the number of tracers considered by the tracerModel.
|
* \brief Return the number of tracers considered by the tracerModel.
|
||||||
*/
|
*/
|
||||||
int numTracers() const
|
int numTracers() const;
|
||||||
{ return tracerNames_.size(); }
|
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
* \brief Return the tracer name
|
* \brief Return the tracer name
|
||||||
|
|||||||
Reference in New Issue
Block a user