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 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,
|
||||
/*wettingPhaseIdx=*/ 0,
|
||||
/*nonWettingPhaseIdx=*/ 1,
|
||||
/*gasPhaseIdx=*/ 2>;
|
||||
/*wettingPhaseIdx=*/FluidSystem::waterPhaseIdx,
|
||||
/*nonWettingPhaseIdx=*/FluidSystem::oilPhaseIdx,
|
||||
/*gasPhaseIdx=*/FluidSystem::gasPhaseIdx>;
|
||||
|
||||
public:
|
||||
using EclMaterialLawManager = ::Opm::EclMaterialLawManager<Traits>;
|
||||
|
Loading…
Reference in New Issue
Block a user