HairSplittingFluidState< ScalarT, FluidSystem, BaseFluidState > Class Template Reference
This is a fluid state which makes sure that only the quantities allowed are accessed.
More...
#include <checkFluidSystem.hpp>
List of all members.
Public Types |
enum | { numPhases = FluidSystem::numPhases
} |
enum | { numComponents = FluidSystem::numComponents
} |
typedef ScalarT | Scalar |
Public Member Functions |
void | allowTemperature (bool yesno) |
void | allowPressure (bool yesno) |
void | allowComposition (bool yesno) |
void | allowDensity (bool yesno) |
void | restrictToPhase (int phaseIdx) |
BaseFluidState & | base () |
const BaseFluidState & | base () const |
auto | temperature (unsigned phaseIdx) const -> decltype(this->base().temperature(phaseIdx)) |
auto | pressure (unsigned phaseIdx) const -> decltype(this->base().pressure(phaseIdx)) |
auto | moleFraction (unsigned phaseIdx, unsigned compIdx) const -> decltype(this->base().moleFraction(phaseIdx |
Public Attributes |
bool | allowTemperature_ |
bool | allowPressure_ |
bool | allowComposition_ |
bool | allowDensity_ |
int | restrictPhaseIdx_ |
Detailed Description
template<class ScalarT, class FluidSystem, class BaseFluidState = Opm::CompositionalFluidState<ScalarT, FluidSystem>>
class HairSplittingFluidState< ScalarT, FluidSystem, BaseFluidState >
This is a fluid state which makes sure that only the quantities allowed are accessed.
The documentation for this class was generated from the following file: