mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Use well index for segment hydrostatic pressure drop
This commit is contained in:
@@ -241,14 +241,16 @@ public:
|
||||
return &seg_pressdrop_friction_[top_segment_index];
|
||||
}
|
||||
|
||||
std::vector<double>& segPressDropHydroStatic()
|
||||
double* segPressDropHydroStatic(std::size_t well_index)
|
||||
{
|
||||
return seg_pressdrop_hydorstatic_;
|
||||
const int top_segment_index = this->top_segment_index_[well_index];
|
||||
return &seg_pressdrop_hydorstatic_[top_segment_index];
|
||||
}
|
||||
|
||||
const std::vector<double>& segPressDropHydroStatic() const
|
||||
const double* segPressDropHydroStatic(std::size_t well_index) const
|
||||
{
|
||||
return seg_pressdrop_hydorstatic_;
|
||||
const int top_segment_index = this->top_segment_index_[well_index];
|
||||
return &seg_pressdrop_hydorstatic_[top_segment_index];
|
||||
}
|
||||
|
||||
std::vector<double>& segPressDropAcceleration()
|
||||
|
||||
Reference in New Issue
Block a user