This template class represents the extensive quantities of the compositional NCP model.
More...
#include <ncpextensivequantities.hh>
|
| void | update (const ElementContext &elemCtx, unsigned scvfIdx, unsigned timeIdx) |
| | Update the extensive quantities for a given sub-control-volume-face. More...
|
| |
| template<class Context , class FluidState > |
| void | updateBoundary (const Context &context, unsigned bfIdx, unsigned timeIdx, const FluidState &fluidState) |
| | Update the extensive quantities for a given boundary face. More...
|
| |
| void | update (const ElementContext &elemCtx, unsigned scvfIdx, unsigned timeIdx) |
| | Update the extensive quantities for a given sub-control-volume-face. More...
|
| |
| template<class Context , class FluidState > |
| void | updateBoundary (const Context &context, unsigned bfIdx, unsigned timeIdx, const FluidState &fluidState) |
| | Update the extensive quantities for a given boundary face. More...
|
| |
| short | upstreamIndex (unsigned phaseIdx) const |
| | Return the local index of the upstream control volume for a given phase as a function of the normal flux. More...
|
| |
| short | downstreamIndex (unsigned phaseIdx) const |
| | Return the local index of the downstream control volume for a given phase as a function of the normal flux. More...
|
| |
| Scalar | upstreamWeight (unsigned) const |
| | Return the weight of the upstream control volume for a given phase as a function of the normal flux. More...
|
| |
| Scalar | downstreamWeight (unsigned phaseIdx) const |
| | Return the weight of the downstream control volume for a given phase as a function of the normal flux. More...
|
| |
|
|
static void | registerParameters () |
| | Register all run-time parameters for the extensive quantities.
|
| |
template<class TypeTag>
class Opm::NcpExtensiveQuantities< TypeTag >
This template class represents the extensive quantities of the compositional NCP model.
◆ update()
Update the extensive quantities for a given sub-control-volume-face.
- Parameters
-
| elemCtx | Reference to the current element context. |
| scvfIdx | The local index of the sub-control-volume face for which the extensive quantities should be calculated. |
| timeIdx | The index used by the time discretization. |
◆ updateBoundary()
template<class TypeTag >
template<class Context , class FluidState >
| void Opm::NcpExtensiveQuantities< TypeTag >::updateBoundary |
( |
const Context & |
context, |
|
|
unsigned |
bfIdx, |
|
|
unsigned |
timeIdx, |
|
|
const FluidState & |
fluidState |
|
) |
| |
|
inline |
Update the extensive quantities for a given boundary face.
- Parameters
-
| context | Reference to the current execution context. |
| bfIdx | The local index of the boundary face for which the extensive quantities should be calculated. |
| timeIdx | The index used by the time discretization. |
| fluidState | The FluidState on the domain boundary. |
The documentation for this class was generated from the following file: