Represents the primary variables used in the primary variable switching compositional model.
More...
|
| PvsPrimaryVariables (Scalar value) |
| Constructor with assignment from scalar.
|
|
| PvsPrimaryVariables (const PvsPrimaryVariables &value) |
|
template<class FluidState > |
void | assignMassConservative (const FluidState &fluidState, const MaterialLawParams &matParams, bool isInEquilibrium=false) |
| Set the primary variables from an arbitrary fluid state in a mass conservative way.
|
|
short | phasePresence () const |
| Return the fluid phases which are present in a given control volume.
|
|
void | setPhasePresence (short value) |
| Set which fluid phases are present in a given control volume.
|
|
void | setPhasePresent (unsigned phaseIdx, bool yesno=true) |
| Set whether a given indivividual phase should be present or not.
|
|
unsigned | implicitSaturationIdx () const |
| Returns the index of the phase with's its saturation is determined by the closure condition of saturation.
|
|
bool | phaseIsPresent (unsigned phaseIdx) const |
| Returns true iff a phase is present for the current phase presence.
|
|
unsigned | lowestPresentPhaseIdx () const |
| Returns the phase with the lowest index that is present.
|
|
ThisType & | operator= (const Implementation &value) |
| Assignment operator from an other primary variables object.
|
|
ThisType & | operator= (Scalar value) |
| Assignment operator from a scalar value.
|
|
Evaluation | explicitSaturationValue (unsigned phaseIdx, unsigned timeIdx) const |
| Returns an explcitly stored saturation for a given phase.
|
|
template<class FluidState > |
void | assignNaive (const FluidState &fluidState) |
| Directly retrieve the primary variables from an arbitrary fluid state.
|
|
void | print (std::ostream &os=std::cout) const |
| Prints the names of the primary variables and their values.
|
|
| FvBasePrimaryVariables (Scalar value) |
| Construction from a scalar value.
|
|
| FvBasePrimaryVariables (const FvBasePrimaryVariables &value)=default |
| Assignment from another primary variables object.
|
|
FvBasePrimaryVariables & | operator= (const FvBasePrimaryVariables &value)=default |
| Assignment from another primary variables object.
|
|
Evaluation | makeEvaluation (unsigned varIdx, unsigned timeIdx, LinearizationType linearizationType=LinearizationType()) const |
| Return a primary variable intensive evaluation.
|
|
template<class FluidState > |
void | assignNaive (const FluidState &) |
| Assign the primary variables "somehow" from a fluid state.
|
|
void | checkDefined () const |
| Instruct valgrind to check the definedness of all attributes of this class.
|
|
template<class TypeTag>
class Opm::PvsPrimaryVariables< TypeTag >
Represents the primary variables used in the primary variable switching compositional model.
This class is basically a Dune::FieldVector which can retrieve its contents from an aribitatry fluid state.