mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Newlines
This commit is contained in:
committed by
Tor Harald Sandve
parent
c468d9c84b
commit
7448ecae09
@@ -43,6 +43,10 @@ inline std::vector< double > destripe( const std::vector< double >& v,
|
|||||||
return dst;
|
return dst;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
inline std::vector< double >& stripe( const std::vector< double >& v,
|
inline std::vector< double >& stripe( const std::vector< double >& v,
|
||||||
size_t stride,
|
size_t stride,
|
||||||
size_t offset,
|
size_t offset,
|
||||||
@@ -57,6 +61,12 @@ inline std::vector< double >& stripe( const std::vector< double >& v,
|
|||||||
return dst;
|
return dst;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
inline data::Solution sim2solution( const SimulationDataContainer& reservoir,
|
inline data::Solution sim2solution( const SimulationDataContainer& reservoir,
|
||||||
PhaseUsage phases ) {
|
PhaseUsage phases ) {
|
||||||
using ds = data::Solution::key;
|
using ds = data::Solution::key;
|
||||||
@@ -92,6 +102,13 @@ inline data::Solution sim2solution( const SimulationDataContainer& reservoir,
|
|||||||
return sol;
|
return sol;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
inline void solution2sim( const data::Solution& sol,
|
inline void solution2sim( const data::Solution& sol,
|
||||||
PhaseUsage phases,
|
PhaseUsage phases,
|
||||||
SimulationDataContainer& state ) {
|
SimulationDataContainer& state ) {
|
||||||
@@ -129,6 +146,14 @@ inline void solution2sim( const data::Solution& sol,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
inline void wells2state( const data::Wells& wells, WellState& state ) {
|
inline void wells2state( const data::Wells& wells, WellState& state ) {
|
||||||
state.bhp() = wells.bhp;
|
state.bhp() = wells.bhp;
|
||||||
state.temperature() = wells.temperature;
|
state.temperature() = wells.temperature;
|
||||||
|
|||||||
Reference in New Issue
Block a user