mirror of
https://github.com/OPM/opm-simulators.git
synced 2026-10-13 17:32:03 -05:00
2 -> To
This commit is contained in:
1 parent
7448ecae09
commit
95143868a3
1 file changed
+9
-3
@@ -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 ) {
|
||||
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,
|
||||
SimulationDataContainer& state ) {
|
||||
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.temperature() = wells.temperature;
|
||||
state.wellRates() = wells.well_rate;
|
||||
|
||||
Reference in new issue
Block a user