mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
BlackoilWellModel: move setRepRadiusPerfLength to generic class
This commit is contained in:
@@ -352,9 +352,6 @@ namespace Opm {
|
||||
|
||||
void setupCartesianToCompressed_(const int* global_cell, int local_num__cells);
|
||||
|
||||
void setRepRadiusPerfLength();
|
||||
|
||||
|
||||
void updateAverageFormationFactor();
|
||||
|
||||
// Calculating well potentials for each well
|
||||
|
||||
@@ -1637,4 +1637,13 @@ getGenWell(const std::string& well_name)
|
||||
return *well;
|
||||
}
|
||||
|
||||
void
|
||||
BlackoilWellModelGeneric::
|
||||
setRepRadiusPerfLength()
|
||||
{
|
||||
for (const auto& well : well_container_generic_) {
|
||||
well->setRepRadiusPerfLength(cartesian_to_compressed_);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -321,6 +321,8 @@ protected:
|
||||
|
||||
void inferLocalShutWells();
|
||||
|
||||
void setRepRadiusPerfLength();
|
||||
|
||||
const Schedule& schedule_;
|
||||
const SummaryState& summaryState_;
|
||||
const EclipseState& eclState_;
|
||||
|
||||
@@ -1414,20 +1414,6 @@ namespace Opm {
|
||||
|
||||
}
|
||||
|
||||
template<typename TypeTag>
|
||||
void
|
||||
BlackoilWellModel<TypeTag>::
|
||||
setRepRadiusPerfLength()
|
||||
{
|
||||
for (const auto& well : well_container_) {
|
||||
well->setRepRadiusPerfLength(cartesian_to_compressed_);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
template<typename TypeTag>
|
||||
void
|
||||
BlackoilWellModel<TypeTag>::
|
||||
|
||||
Reference in New Issue
Block a user