added enable conditions

This commit is contained in:
Paul Egberts 2022-01-19 16:44:42 +01:00
parent 590920db6b
commit ba165838cd

View File

@ -2638,12 +2638,14 @@ private:
//////
// set salt concentration
//////
dofFluidState.setSaltConcentration(saltData[dofIdx]);
if (enableBrine)
dofFluidState.setSaltConcentration(saltData[dofIdx]);
//////
// set precipitated salt saturation
//////
dofFluidState.setSaltSaturation(saltpData[dofIdx]);
if (enableSaltPrecipitation)
dofFluidState.setSaltSaturation(saltpData[dofIdx]);
//////
// set saturations