Adapter class for fluid states with different indices. More...
#include <dumux/material/fluidstates/adapter.hh>
Adapter class for fluid states with different indices.
FluidState | the fluid state that is adapted to another fluid state's index set |
AdapterPolicy |
Public Types | |
using | Scalar = typename FluidState::Scalar |
export scalar type More... | |
Public Member Functions | |
FluidStateAdapter (const FluidState &fluidState) | |
Adapter class for fluid states with different indices. More... | |
Static Public Attributes | |
static constexpr int | numPhases = FluidSystem::numPhases |
export number of phases and components of the embedded fluid system More... | |
static constexpr int | numComponents = FluidSystem::numComponents |
Member functions forwarding to the fluid state mapping the indices | |
int | wettingPhase () const |
Scalar | moleFraction (int phaseIdx, int compIdx) const |
Scalar | massFraction (int phaseIdx, int compIdx) const |
Scalar | averageMolarMass (int phaseIdx) const |
Scalar | pressure (int phaseIdx) const |
Scalar | partialPressure (int phaseIdx, int compIdx) const |
Scalar | temperature (int phaseIdx) const |
Scalar | temperature () const |
using Dumux::FluidStateAdapter< FluidState, AdapterPolicy >::Scalar = typename FluidState::Scalar |
export scalar type
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
staticconstexpr |
|
staticconstexpr |
export number of phases and components of the embedded fluid system