A generic traits class for three-phase material laws. More...
#include <MaterialTraits.hpp>
Public Types | |
typedef ScalarT | Scalar |
The type used for scalar floating point values. | |
Public Member Functions | |
static_assert (0<=wettingPhaseIdx &&wettingPhaseIdx< numPhases,"wettingPhaseIdx is out of range") | |
static_assert (0<=nonWettingPhaseIdx &&nonWettingPhaseIdx< numPhases,"nonWettingPhaseIdx is out of range") | |
static_assert (0<=gasPhaseIdx &&gasPhaseIdx< numPhases,"gasPhaseIdx is out of range") | |
static_assert (wettingPhaseIdx!=nonWettingPhaseIdx,"wettingPhaseIdx and nonWettingPhaseIdx must be different") | |
static_assert (wettingPhaseIdx!=gasPhaseIdx,"wettingPhaseIdx and gasPhaseIdx must be different") | |
static_assert (nonWettingPhaseIdx!=gasPhaseIdx,"nonWettingPhaseIdx and gasPhaseIdx must be different") | |
Static Public Attributes | |
static const int | numPhases = 3 |
The number of fluid phases. | |
static const int | wettingPhaseIdx = wettingPhaseIdxV |
The index of the wetting liquid phase. | |
static const int | nonWettingPhaseIdx = nonWettingasPhaseIdxV |
The index of the non-wetting liquid phase. | |
static const int | gasPhaseIdx = gasPhaseIdxV |
The index of the gas phase (i.e., the least wetting phase). |
A generic traits class for three-phase material laws.