31#ifndef OPM_MATERIAL_TRAITS_HPP
32#define OPM_MATERIAL_TRAITS_HPP
43template <
class ScalarT,
int numPhasesV>
59template <
class ScalarT,
int wettingPhaseIdxV,
int nonWettingPhaseIdxV>
77 "wettingPhaseIdx and nonWettingPhaseIdx must be different");
85template <
class ScalarT,
int wettingPhaseIdxV,
int nonWettingasPhaseIdxV,
int gasPhaseIdxV>
106 "wettingPhaseIdx is out of range");
108 "nonWettingPhaseIdx is out of range");
110 "gasPhaseIdx is out of range");
113 "wettingPhaseIdx and nonWettingPhaseIdx must be different");
115 "wettingPhaseIdx and gasPhaseIdx must be different");
117 "nonWettingPhaseIdx and gasPhaseIdx must be different");
A generic traits class which does not provide any indices.
Definition MaterialTraits.hpp:45
ScalarT Scalar
The type used for scalar floating point values.
Definition MaterialTraits.hpp:48
static constexpr int numPhases
The number of fluid phases.
Definition MaterialTraits.hpp:51
A generic traits class for three-phase material laws.
Definition MaterialTraits.hpp:87
static constexpr int wettingPhaseIdx
The index of the wetting liquid phase.
Definition MaterialTraits.hpp:96
static constexpr int nonWettingPhaseIdx
The index of the non-wetting liquid phase.
Definition MaterialTraits.hpp:99
static constexpr int gasPhaseIdx
The index of the gas phase (i.e., the least wetting phase)
Definition MaterialTraits.hpp:102
static constexpr int numPhases
The number of fluid phases.
Definition MaterialTraits.hpp:93
ScalarT Scalar
The type used for scalar floating point values.
Definition MaterialTraits.hpp:90
A generic traits class for two-phase material laws.
Definition MaterialTraits.hpp:61
static constexpr int nonWettingPhaseIdx
The index of the non-wetting phase.
Definition MaterialTraits.hpp:73
static constexpr int wettingPhaseIdx
The index of the wetting phase.
Definition MaterialTraits.hpp:70
ScalarT Scalar
The type used for scalar floating point values.
Definition MaterialTraits.hpp:64
static constexpr int numPhases
The number of fluid phases.
Definition MaterialTraits.hpp:67
This class implements a small container which holds the transmissibility mulitpliers for all the face...
Definition Exceptions.hpp:30