31 #ifndef OPM_MATERIAL_TRAITS_HPP
32 #define OPM_MATERIAL_TRAITS_HPP
42 template <
class ScalarT,
int numPhasesV>
58 template <
class ScalarT,
int wettingPhaseIdxV,
int nonWettingPhaseIdxV>
76 "wettingPhaseIdx and nonWettingPhaseIdx must be different");
84 template <
class ScalarT,
int wettingPhaseIdxV,
int nonWettingasPhaseIdxV,
int gasPhaseIdxV>
105 "wettingPhaseIdx is out of range");
107 "nonWettingPhaseIdx is out of range");
109 "gasPhaseIdx is out of range");
112 "wettingPhaseIdx and nonWettingPhaseIdx must be different");
114 "wettingPhaseIdx and gasPhaseIdx must be different");
116 "nonWettingPhaseIdx and gasPhaseIdx must be different");
A generic traits class for three-phase material laws.
Definition: MaterialTraits.hpp:85
static const int numPhases
The number of fluid phases.
Definition: MaterialTraits.hpp:66
static const int nonWettingPhaseIdx
The index of the non-wetting liquid phase.
Definition: MaterialTraits.hpp:98
ScalarT Scalar
The type used for scalar floating point values.
Definition: MaterialTraits.hpp:47
static const int wettingPhaseIdx
The index of the wetting liquid phase.
Definition: MaterialTraits.hpp:95
ScalarT Scalar
The type used for scalar floating point values.
Definition: MaterialTraits.hpp:89
A generic traits class which does not provide any indices.
Definition: MaterialTraits.hpp:43
ScalarT Scalar
The type used for scalar floating point values.
Definition: MaterialTraits.hpp:63
static const int numPhases
The number of fluid phases.
Definition: MaterialTraits.hpp:92
static const int nonWettingPhaseIdx
The index of the non-wetting phase.
Definition: MaterialTraits.hpp:72
static const int numPhases
The number of fluid phases.
Definition: MaterialTraits.hpp:50
static const int gasPhaseIdx
The index of the gas phase (i.e., the least wetting phase)
Definition: MaterialTraits.hpp:101
A generic traits class for two-phase material laws.
Definition: MaterialTraits.hpp:59
static const int wettingPhaseIdx
The index of the wetting phase.
Definition: MaterialTraits.hpp:69