27 #ifndef OPM_BLACK_OIL_DEFAULT_FLUID_SYSTEM_INDICES_HPP 28 #define OPM_BLACK_OIL_DEFAULT_FLUID_SYSTEM_INDICES_HPP 66 assert(compIdx >= 0 && compIdx < static_cast<int>(
numComponents));
77 assert(phaseIdx >= 0 && phaseIdx < static_cast<int>(
numPhases));
The class which specifies the default phase and component indices for the black-oil fluid system...
Definition: BlackOilDefaultFluidSystemIndices.hpp:38
static constexpr int componentToPhaseIdx(int compIdx)
Map component index to phase index.
Definition: BlackOilDefaultFluidSystemIndices.hpp:65
This class implements a small container which holds the transmissibility mulitpliers for all the face...
Definition: Exceptions.hpp:30
static constexpr unsigned numPhases
Total number of phases.
Definition: BlackOilDefaultFluidSystemIndices.hpp:42
static constexpr int gasCompIdx
Index of the gas component.
Definition: BlackOilDefaultFluidSystemIndices.hpp:59
static constexpr int oilCompIdx
Index of the oil component.
Definition: BlackOilDefaultFluidSystemIndices.hpp:55
static constexpr unsigned gasPhaseIdx
Index of the gas phase.
Definition: BlackOilDefaultFluidSystemIndices.hpp:49
static constexpr unsigned oilPhaseIdx
Index of the oil phase.
Definition: BlackOilDefaultFluidSystemIndices.hpp:47
static constexpr int waterCompIdx
Index of the water component.
Definition: BlackOilDefaultFluidSystemIndices.hpp:57
static constexpr unsigned waterPhaseIdx
Index of the water phase.
Definition: BlackOilDefaultFluidSystemIndices.hpp:45
static constexpr int phaseToComponentIdx(int phaseIdx)
Map phase index to component index.
Definition: BlackOilDefaultFluidSystemIndices.hpp:76
static constexpr unsigned numComponents
Total number of components.
Definition: BlackOilDefaultFluidSystemIndices.hpp:52