AquiferCarterTracy: use Scalar type

This commit is contained in:
Arne Morten Kvarving 2024-02-21 08:20:25 +01:00
parent 687695882c
commit 46e668911d

View File

@ -260,7 +260,7 @@ protected:
private: private:
Scalar timeConstantCO2Store() const Scalar timeConstantCO2Store() const
{ {
const auto press = this->aquct_data_.initial_pressure.value(); const Scalar press = this->aquct_data_.initial_pressure.value();
const auto temp = this->reservoirTemperatureCO2Store(); const auto temp = this->reservoirTemperatureCO2Store();
auto waterViscosity = Scalar { 0 }; auto waterViscosity = Scalar { 0 };
@ -287,7 +287,7 @@ private:
Scalar waterDensityCO2Store() const Scalar waterDensityCO2Store() const
{ {
const auto press = this->aquct_data_.initial_pressure.value(); const Scalar press = this->aquct_data_.initial_pressure.value();
const auto temp = this->reservoirTemperatureCO2Store(); const auto temp = this->reservoirTemperatureCO2Store();
if (FluidSystem::phaseIsActive(FluidSystem::oilPhaseIdx)) { if (FluidSystem::phaseIsActive(FluidSystem::oilPhaseIdx)) {