opm-common
Loading...
Searching...
No Matches
Opm::PhaseUsageInfo< IndexTraits > Class Template Reference

Public Member Functions

OPM_HOST_DEVICE unsigned numActivePhases () const
OPM_HOST_DEVICE bool phaseIsActive (unsigned phaseIdx) const
OPM_HOST_DEVICE short canonicalToActivePhaseIdx (unsigned phaseIdx) const
OPM_HOST_DEVICE short activeToCanonicalPhaseIdx (unsigned activePhaseIdx) const
OPM_HOST_DEVICE short activeToCanonicalCompIdx (unsigned activeCompIdx) const
OPM_HOST_DEVICE short canonicalToActiveCompIdx (unsigned compIdx) const
OPM_HOST_DEVICE short activePhaseToActiveCompIdx (unsigned activePhaseIdx) const
OPM_HOST_DEVICE short activeCompToActivePhaseIdx (unsigned activeCompIdx) const
void initFromPhases (const Phases &phases)
void initFromState (const EclipseState &eclState)
OPM_HOST_DEVICE bool hasSolvent () const noexcept
OPM_HOST_DEVICE bool hasPolymer () const noexcept
OPM_HOST_DEVICE bool hasEnergy () const noexcept
OPM_HOST_DEVICE bool hasPolymerMW () const noexcept
OPM_HOST_DEVICE bool hasFoam () const noexcept
OPM_HOST_DEVICE bool hasBrine () const noexcept
OPM_HOST_DEVICE bool hasZFraction () const noexcept
OPM_HOST_DEVICE bool hasBiofilm () const noexcept
OPM_HOST_DEVICE bool hasMICP () const noexcept
OPM_HOST_DEVICE bool hasCO2orH2Store () const noexcept

Static Public Attributes

static constexpr int numPhases = IndexTraits::numPhases
static constexpr int numComponents = IndexTraits::numComponents
static constexpr int waterPhaseIdx = IndexTraits::waterPhaseIdx
static constexpr int oilPhaseIdx = IndexTraits::oilPhaseIdx
static constexpr int gasPhaseIdx = IndexTraits::gasPhaseIdx
static constexpr int waterCompIdx = IndexTraits::waterCompIdx
static constexpr int oilCompIdx = IndexTraits::oilCompIdx
static constexpr int gasCompIdx = IndexTraits::gasCompIdx

The documentation for this class was generated from the following files:
  • opm/material/fluidsystems/PhaseUsageInfo.hpp
  • opm/material/fluidsystems/PhaseUsageInfo.cpp