mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-20 11:48:25 -06:00
AquiferCarterTracy: use Scalar type
This commit is contained in:
parent
687695882c
commit
46e668911d
@ -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)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user