remove the unused 'Evaluation' template parameter from the MaterialTraits
the evaluation is actually more dynamic because it is a template argument for the individual methods of the fluid-matrixinteractions.
This commit is contained in:
parent
18531103a6
commit
4ba1490310
@ -37,16 +37,13 @@ namespace Opm {
|
||||
*
|
||||
* This traits class is intended to be used by the NullMaterial
|
||||
*/
|
||||
template <class ScalarT, int numPhasesV, class EvaluationT = ScalarT>
|
||||
template <class ScalarT, int numPhasesV>
|
||||
class NullMaterialTraits
|
||||
{
|
||||
public:
|
||||
//! The type used for scalar floating point values
|
||||
typedef ScalarT Scalar;
|
||||
|
||||
//! Representation of a function evaluation and all its relevant derivatives
|
||||
typedef EvaluationT Evaluation;
|
||||
|
||||
//! The number of fluid phases
|
||||
static const int numPhases = numPhasesV;
|
||||
};
|
||||
@ -56,16 +53,13 @@ public:
|
||||
*
|
||||
* \brief A generic traits class for two-phase material laws.
|
||||
*/
|
||||
template <class ScalarT, int wettingPhaseIdxV, int nonWettingPhaseIdxV, class EvaluationT = ScalarT>
|
||||
template <class ScalarT, int wettingPhaseIdxV, int nonWettingPhaseIdxV>
|
||||
class TwoPhaseMaterialTraits
|
||||
{
|
||||
public:
|
||||
//! The type used for scalar floating point values
|
||||
typedef ScalarT Scalar;
|
||||
|
||||
//! Representation of a function evaluation and all its relevant derivatives
|
||||
typedef EvaluationT Evaluation;
|
||||
|
||||
//! The number of fluid phases
|
||||
static const int numPhases = 2;
|
||||
|
||||
@ -85,16 +79,13 @@ public:
|
||||
*
|
||||
* \brief A generic traits class for three-phase material laws.
|
||||
*/
|
||||
template <class ScalarT, int wettingPhaseIdxV, int nonWettingasPhaseIdxV, int gasPhaseIdxV, class EvaluationT = ScalarT>
|
||||
template <class ScalarT, int wettingPhaseIdxV, int nonWettingasPhaseIdxV, int gasPhaseIdxV>
|
||||
class ThreePhaseMaterialTraits
|
||||
{
|
||||
public:
|
||||
//! The type used for scalar floating point values
|
||||
typedef ScalarT Scalar;
|
||||
|
||||
//! Representation of a function evaluation and all its relevant derivatives
|
||||
typedef EvaluationT Evaluation;
|
||||
|
||||
//! The number of fluid phases
|
||||
static const int numPhases = 3;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user