mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Move parallelWellInfo()
This commit is contained in:
parent
40e8632f24
commit
0f8dec5224
@ -70,11 +70,6 @@ void WellState::init(const std::vector<double>& cellPressures,
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
const ParallelWellInfo&
|
|
||||||
WellState::parallelWellInfo(std::size_t well_index) const
|
|
||||||
{
|
|
||||||
return *parallel_well_info_[well_index];
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
void WellState::shutWell(int well_index)
|
void WellState::shutWell(int well_index)
|
||||||
|
@ -98,8 +98,6 @@ public:
|
|||||||
std::vector<double>& perfPress(const std::string& wname) { return perfpress_[wname]; }
|
std::vector<double>& perfPress(const std::string& wname) { return perfpress_[wname]; }
|
||||||
const std::vector<double>& perfPress(const std::string& wname) const { return perfpress_[wname]; }
|
const std::vector<double>& perfPress(const std::string& wname) const { return perfpress_[wname]; }
|
||||||
|
|
||||||
const ParallelWellInfo& parallelWellInfo(std::size_t well_index) const;
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/// The number of phases present.
|
/// The number of phases present.
|
||||||
|
@ -1061,6 +1061,12 @@ void WellStateFullyImplicitBlackoil::resetConnectionTransFactors(const int well_
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const ParallelWellInfo&
|
||||||
|
WellStateFullyImplicitBlackoil::parallelWellInfo(std::size_t well_index) const
|
||||||
|
{
|
||||||
|
return *parallel_well_info_[well_index];
|
||||||
|
}
|
||||||
|
|
||||||
template void WellStateFullyImplicitBlackoil::updateGlobalIsGrup<ParallelWellInfo::Communication>(const ParallelWellInfo::Communication& comm);
|
template void WellStateFullyImplicitBlackoil::updateGlobalIsGrup<ParallelWellInfo::Communication>(const ParallelWellInfo::Communication& comm);
|
||||||
template void WellStateFullyImplicitBlackoil::communicateGroupRates<ParallelWellInfo::Communication>(const ParallelWellInfo::Communication& comm);
|
template void WellStateFullyImplicitBlackoil::communicateGroupRates<ParallelWellInfo::Communication>(const ParallelWellInfo::Communication& comm);
|
||||||
} // namespace Opm
|
} // namespace Opm
|
||||||
|
@ -79,6 +79,9 @@ public:
|
|||||||
return wellMap_.size();
|
return wellMap_.size();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const ParallelWellInfo& parallelWellInfo(std::size_t well_index) const;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/// Allocate and initialize if wells is non-null. Also tries
|
/// Allocate and initialize if wells is non-null. Also tries
|
||||||
/// to give useful initial values to the bhp(), wellRates()
|
/// to give useful initial values to the bhp(), wellRates()
|
||||||
|
Loading…
Reference in New Issue
Block a user