mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Renamed initTwophaseStateBasic() -> initStateBasic().
This commit is contained in:
parent
f6efbf386c
commit
cb03044d62
@ -53,11 +53,11 @@ namespace Opm
|
|||||||
/// In all three cases, pressure is initialised hydrostatically.
|
/// In all three cases, pressure is initialised hydrostatically.
|
||||||
/// In case 2) and 3), the depth of the first cell is used as reference depth.
|
/// In case 2) and 3), the depth of the first cell is used as reference depth.
|
||||||
template <class State>
|
template <class State>
|
||||||
void initStateTwophaseBasic(const UnstructuredGrid& grid,
|
void initStateBasic(const UnstructuredGrid& grid,
|
||||||
const IncompPropertiesInterface& props,
|
const IncompPropertiesInterface& props,
|
||||||
const parameter::ParameterGroup& param,
|
const parameter::ParameterGroup& param,
|
||||||
const double gravity,
|
const double gravity,
|
||||||
State& state);
|
State& state);
|
||||||
|
|
||||||
/// Initialize a two-phase state from input deck.
|
/// Initialize a two-phase state from input deck.
|
||||||
/// If EQUIL is present:
|
/// If EQUIL is present:
|
||||||
|
@ -289,11 +289,11 @@ namespace Opm
|
|||||||
/// In all three cases, pressure is initialised hydrostatically.
|
/// In all three cases, pressure is initialised hydrostatically.
|
||||||
/// In case 2) and 3), the depth of the first cell is used as reference depth.
|
/// In case 2) and 3), the depth of the first cell is used as reference depth.
|
||||||
template <class State>
|
template <class State>
|
||||||
void initStateTwophaseBasic(const UnstructuredGrid& grid,
|
void initStateBasic(const UnstructuredGrid& grid,
|
||||||
const IncompPropertiesInterface& props,
|
const IncompPropertiesInterface& props,
|
||||||
const parameter::ParameterGroup& param,
|
const parameter::ParameterGroup& param,
|
||||||
const double gravity,
|
const double gravity,
|
||||||
State& state)
|
State& state)
|
||||||
{
|
{
|
||||||
const int num_phases = props.numPhases();
|
const int num_phases = props.numPhases();
|
||||||
if (num_phases != 2) {
|
if (num_phases != 2) {
|
||||||
|
Loading…
Reference in New Issue
Block a user