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

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

Static Public Attributes

static const int numPhases = 3
 The number of fluid phases. More...
 
static const int wettingPhaseIdx = wettingPhaseIdxV
 The index of the wetting liquid phase. More...
 
static const int nonWettingPhaseIdx = nonWettingasPhaseIdxV
 The index of the non-wetting liquid phase. More...
 
static const int gasPhaseIdx = gasPhaseIdxV
 The index of the gas phase (i.e., the least wetting phase) More...
 

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.

Member Typedef Documentation

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

The type used for scalar floating point values.

Member Data Documentation

template<class ScalarT , int wettingPhaseIdxV, int nonWettingasPhaseIdxV, int gasPhaseIdxV>
const int Opm::ThreePhaseMaterialTraits< ScalarT, wettingPhaseIdxV, nonWettingasPhaseIdxV, gasPhaseIdxV >::gasPhaseIdx = gasPhaseIdxV
static

The index of the gas phase (i.e., the least wetting phase)

template<class ScalarT , int wettingPhaseIdxV, int nonWettingasPhaseIdxV, int gasPhaseIdxV>
const int Opm::ThreePhaseMaterialTraits< ScalarT, wettingPhaseIdxV, nonWettingasPhaseIdxV, gasPhaseIdxV >::nonWettingPhaseIdx = nonWettingasPhaseIdxV
static

The index of the non-wetting liquid phase.

template<class ScalarT , int wettingPhaseIdxV, int nonWettingasPhaseIdxV, int gasPhaseIdxV>
const int Opm::ThreePhaseMaterialTraits< ScalarT, wettingPhaseIdxV, nonWettingasPhaseIdxV, gasPhaseIdxV >::numPhases = 3
static

The number of fluid phases.

template<class ScalarT , int wettingPhaseIdxV, int nonWettingasPhaseIdxV, int gasPhaseIdxV>
const int Opm::ThreePhaseMaterialTraits< ScalarT, wettingPhaseIdxV, nonWettingasPhaseIdxV, gasPhaseIdxV >::wettingPhaseIdx = wettingPhaseIdxV
static

The index of the wetting liquid phase.


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