Opm::GruptreeWrapper Class Reference

#include <GruptreeWrapper.hpp>

Public Member Functions

 GruptreeWrapper (Opm::DeckKeywordConstPtr keyword)
 A wrapper class to provide convenient access to the data of the 'GRUPTREE' keyword. More...
 
int numNodes () const
 Return the number of nodes in the well group tree. More...
 
std::string childName (int wellIdx) const
 Return the human-readable name of the child group of a well group with a given index. More...
 
std::string parentName (int wellIdx) const
 Return the human-readable name of the parent group of a well group with a given index. More...
 

Constructor & Destructor Documentation

Opm::GruptreeWrapper::GruptreeWrapper ( Opm::DeckKeywordConstPtr  keyword)
inline

A wrapper class to provide convenient access to the data of the 'GRUPTREE' keyword.

Member Function Documentation

std::string Opm::GruptreeWrapper::childName ( int  wellIdx) const
inline

Return the human-readable name of the child group of a well group with a given index.

int Opm::GruptreeWrapper::numNodes ( ) const
inline

Return the number of nodes in the well group tree.

std::string Opm::GruptreeWrapper::parentName ( int  wellIdx) const
inline

Return the human-readable name of the parent group of a well group with a given index.


The documentation for this class was generated from the following file: