mirror of
https://github.com/OPM/opm-simulators.git
synced 2026-11-02 20:30:55 -06:00
correct ctor initialization order
This commit is contained in:
1 parent
27e3a504ce
commit
89cf53cc72
1 file changed
+4
-4
@@ -184,15 +184,15 @@ public:
|
||||
OPM_HOST_DEVICE explicit BlackOilIntensiveQuantities(
|
||||
const BlackOilIntensiveQuantities<OtherTypeTag>& other, const FluidSystem& fsystem)
|
||||
: fluidState_(other.fluidState_.withOtherFluidSystem(fsystem))
|
||||
, BlackOilEnergyIntensiveQuantities<TypeTag, energyModuleType>(
|
||||
other.rockInternalEnergy_, other.totalThermalConductivity_, other.rockFraction_)
|
||||
, BlackOilDiffusionIntensiveQuantities<TypeTag, enableDiffusion>(
|
||||
other.tortuosities(), other.diffusionCoefficients())
|
||||
, referencePorosity_(other.referencePorosity_)
|
||||
, porosity_(other.porosity_)
|
||||
, rockCompTransMultiplier_(other.rockCompTransMultiplier_)
|
||||
, mobility_(other.mobility_)
|
||||
, dirMob_(/*NOT YET SUPPORTED ON GPU*/)
|
||||
, BlackOilEnergyIntensiveQuantities<TypeTag, energyModuleType>(
|
||||
other.rockInternalEnergy_, other.totalThermalConductivity_, other.rockFraction_)
|
||||
, BlackOilDiffusionIntensiveQuantities<TypeTag, enableDiffusion>(
|
||||
other.tortuosities(), other.diffusionCoefficients())
|
||||
{
|
||||
static_assert(!enableSolvent);
|
||||
static_assert(!enableExtbo);
|
||||
|
||||
Reference in new issue
Block a user