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

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

#include <MaterialTraits.hpp>

Public Types

using Scalar = ScalarT
 The type used for scalar floating point values. More...
 

Static Public Attributes

static constexpr int numPhases = 3
 The number of fluid phases. More...
 
static constexpr int wettingPhaseIdx = wettingPhaseIdxV
 The index of the wetting liquid phase. More...
 
static constexpr int nonWettingPhaseIdx = nonWettingasPhaseIdxV
 The index of the non-wetting liquid phase. More...
 
static constexpr 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

◆ Scalar

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

The type used for scalar floating point values.

Member Data Documentation

◆ gasPhaseIdx

template<class ScalarT , int wettingPhaseIdxV, int nonWettingasPhaseIdxV, int gasPhaseIdxV>
constexpr int Opm::ThreePhaseMaterialTraits< ScalarT, wettingPhaseIdxV, nonWettingasPhaseIdxV, gasPhaseIdxV >::gasPhaseIdx = gasPhaseIdxV
staticconstexpr

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

◆ nonWettingPhaseIdx

template<class ScalarT , int wettingPhaseIdxV, int nonWettingasPhaseIdxV, int gasPhaseIdxV>
constexpr int Opm::ThreePhaseMaterialTraits< ScalarT, wettingPhaseIdxV, nonWettingasPhaseIdxV, gasPhaseIdxV >::nonWettingPhaseIdx = nonWettingasPhaseIdxV
staticconstexpr

The index of the non-wetting liquid phase.

◆ numPhases

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

The number of fluid phases.

◆ wettingPhaseIdx

template<class ScalarT , int wettingPhaseIdxV, int nonWettingasPhaseIdxV, int gasPhaseIdxV>
constexpr int Opm::ThreePhaseMaterialTraits< ScalarT, wettingPhaseIdxV, nonWettingasPhaseIdxV, gasPhaseIdxV >::wettingPhaseIdx = wettingPhaseIdxV
staticconstexpr

The index of the wetting liquid phase.


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