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

A generic traits class for two-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 (wettingPhaseIdx!=nonWettingPhaseIdx,"wettingPhaseIdx and nonWettingPhaseIdx must be different")

Static Public Attributes

static const int numPhases = 2
 The number of fluid phases.
static const int wettingPhaseIdx = wettingPhaseIdxV
 The index of the wetting phase.
static const int nonWettingPhaseIdx = nonWettingPhaseIdxV
 The index of the non-wetting phase.

Detailed Description

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

A generic traits class for two-phase material laws.


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

Generated on 25 Mar 2018 by  doxygen 1.6.1