mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Use fluid system phase indices
This commit is contained in:
parent
f59834d3e6
commit
4be8a5c673
@ -69,17 +69,10 @@ private:
|
|||||||
using Scalar = GetPropType<TypeTag, Properties::Scalar>;
|
using Scalar = GetPropType<TypeTag, Properties::Scalar>;
|
||||||
using FluidSystem = GetPropType<TypeTag, Properties::FluidSystem>;
|
using FluidSystem = GetPropType<TypeTag, Properties::FluidSystem>;
|
||||||
|
|
||||||
// using Traits = ThreePhaseMaterialTraits<Scalar,
|
|
||||||
// /*wettingPhaseIdx=*/FluidSystem::waterPhaseIdx,
|
|
||||||
// /*nonWettingPhaseIdx=*/FluidSystem::oilPhaseIdx,
|
|
||||||
// /*gasPhaseIdx=*/FluidSystem::gasPhaseIdx>;
|
|
||||||
|
|
||||||
// TODO: We should be able to use FluidSystem here and using Indices to handle the active phases
|
|
||||||
// some more development is needed
|
|
||||||
using Traits = ThreePhaseMaterialTraits<Scalar,
|
using Traits = ThreePhaseMaterialTraits<Scalar,
|
||||||
/*wettingPhaseIdx=*/ 0,
|
/*wettingPhaseIdx=*/FluidSystem::waterPhaseIdx,
|
||||||
/*nonWettingPhaseIdx=*/ 1,
|
/*nonWettingPhaseIdx=*/FluidSystem::oilPhaseIdx,
|
||||||
/*gasPhaseIdx=*/ 2>;
|
/*gasPhaseIdx=*/FluidSystem::gasPhaseIdx>;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
using EclMaterialLawManager = ::Opm::EclMaterialLawManager<Traits>;
|
using EclMaterialLawManager = ::Opm::EclMaterialLawManager<Traits>;
|
||||||
|
Loading…
Reference in New Issue
Block a user