adding function findWellNode() to WellCollection

to return the WellNode* instead of WellGroupInterface*
This commit is contained in:
Kai Bao
2016-11-03 13:12:12 +01:00
parent 62dbf74bc9
commit 73b511f90a
2 changed files with 19 additions and 0 deletions

View File

@@ -95,6 +95,10 @@ namespace Opm
/// \return the pointer to the group if found, NULL otherwise
const WellsGroupInterface* findNode(const std::string& name) const;
WellNode* findWellNode(const std::string& name) const;
/// Applies all group controls (injection and production)
void applyGroupControls();