mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
2 -> To
This commit is contained in:
parent
7448ecae09
commit
95143868a3
@ -67,7 +67,7 @@ inline std::vector< double >& stripe( const std::vector< double >& v,
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
inline data::Solution sim2solution( const SimulationDataContainer& reservoir,
|
inline data::Solution simToSolution( const SimulationDataContainer& reservoir,
|
||||||
PhaseUsage phases ) {
|
PhaseUsage phases ) {
|
||||||
using ds = data::Solution::key;
|
using ds = data::Solution::key;
|
||||||
|
|
||||||
@ -109,7 +109,7 @@ inline data::Solution sim2solution( const SimulationDataContainer& reservoir,
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
inline void solution2sim( const data::Solution& sol,
|
inline void solutionToSim( const data::Solution& sol,
|
||||||
PhaseUsage phases,
|
PhaseUsage phases,
|
||||||
SimulationDataContainer& state ) {
|
SimulationDataContainer& state ) {
|
||||||
using ds = data::Solution::key;
|
using ds = data::Solution::key;
|
||||||
@ -154,7 +154,13 @@ inline void solution2sim( const data::Solution& sol,
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
inline void wells2state( const data::Wells& wells, WellState& state ) {
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
inline void wellsToState( const data::Wells& wells, WellState& state ) {
|
||||||
state.bhp() = wells.bhp;
|
state.bhp() = wells.bhp;
|
||||||
state.temperature() = wells.temperature;
|
state.temperature() = wells.temperature;
|
||||||
state.wellRates() = wells.well_rate;
|
state.wellRates() = wells.well_rate;
|
||||||
|
Loading…
Reference in New Issue
Block a user