Opm::TwoPhaseMaterialTraits< ScalarT, wettingPhaseIdxV, nonWettingPhaseIdxV > Class Template Reference

A generic traits class for two-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 = 2
 The number of fluid phases. More...
 
static const int wettingPhaseIdx = wettingPhaseIdxV
 The index of the wetting phase. More...
 
static const int nonWettingPhaseIdx = nonWettingPhaseIdxV
 The index of the non-wetting phase. More...
 

Detailed Description

template<class ScalarT, int wettingPhaseIdxV, int nonWettingPhaseIdxV>
class Opm::TwoPhaseMaterialTraits< ScalarT, wettingPhaseIdxV, nonWettingPhaseIdxV >

A generic traits class for two-phase material laws.

Member Typedef Documentation

template<class ScalarT , int wettingPhaseIdxV, int nonWettingPhaseIdxV>
typedef ScalarT Opm::TwoPhaseMaterialTraits< ScalarT, wettingPhaseIdxV, nonWettingPhaseIdxV >::Scalar

The type used for scalar floating point values.

Member Data Documentation

template<class ScalarT , int wettingPhaseIdxV, int nonWettingPhaseIdxV>
const int Opm::TwoPhaseMaterialTraits< ScalarT, wettingPhaseIdxV, nonWettingPhaseIdxV >::nonWettingPhaseIdx = nonWettingPhaseIdxV
static

The index of the non-wetting phase.

template<class ScalarT , int wettingPhaseIdxV, int nonWettingPhaseIdxV>
const int Opm::TwoPhaseMaterialTraits< ScalarT, wettingPhaseIdxV, nonWettingPhaseIdxV >::numPhases = 2
static

The number of fluid phases.

template<class ScalarT , int wettingPhaseIdxV, int nonWettingPhaseIdxV>
const int Opm::TwoPhaseMaterialTraits< ScalarT, wettingPhaseIdxV, nonWettingPhaseIdxV >::wettingPhaseIdx = wettingPhaseIdxV
static

The index of the wetting phase.


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