Opm::ThreePhaseMaterialTraits< ScalarT, wettingPhaseIdxV, nonWettingasPhaseIdxV, gasPhaseIdxV > Class Template Reference

A generic traits class for three-phase material laws. More...

#include <MaterialTraits.hpp>

List of all members.

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).

Detailed Description

template<class ScalarT, int wettingPhaseIdxV, int nonWettingasPhaseIdxV, int gasPhaseIdxV>
class Opm::ThreePhaseMaterialTraits< ScalarT, wettingPhaseIdxV, nonWettingasPhaseIdxV, gasPhaseIdxV >

A generic traits class for three-phase material laws.


The documentation for this class was generated from the following file:

Generated on 25 Mar 2018 by  doxygen 1.6.1