Opm::SpecgridWrapper Class Reference

#include <SpecgridWrapper.hpp>

Public Member Functions

 SpecgridWrapper (Opm::DeckKeywordConstPtr keyword)
 A wrapper class to provide convenient access to the data of the 'SPECGRID' keyword. More...
 
int numGridBlocksI () const
 Return the number of grid blocks in I direction. More...
 
int numGridBlocksJ () const
 Return the number of grid blocks in J direction. More...
 
int numGridBlocksK () const
 Return the number of grid blocks in K direction. More...
 
std::vector< int > numBlocksVector () const
 The number of IJK grid blocks as a vector. More...
 
int numReservoirs () const
 Return the number of reservoirs. More...
 
std::string coordSystemType () const
 Type of the coordinate system. More...
 

Constructor & Destructor Documentation

Opm::SpecgridWrapper::SpecgridWrapper ( Opm::DeckKeywordConstPtr  keyword)
inline

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

Member Function Documentation

std::string Opm::SpecgridWrapper::coordSystemType ( ) const
inline

Type of the coordinate system.

This is one of:

  • "T": cylindrical coordinates
  • "F": cartesianCoordinates
std::vector<int> Opm::SpecgridWrapper::numBlocksVector ( ) const
inline

The number of IJK grid blocks as a vector.

References numGridBlocksI(), numGridBlocksJ(), and numGridBlocksK().

int Opm::SpecgridWrapper::numGridBlocksI ( ) const
inline

Return the number of grid blocks in I direction.

Referenced by numBlocksVector().

int Opm::SpecgridWrapper::numGridBlocksJ ( ) const
inline

Return the number of grid blocks in J direction.

Referenced by numBlocksVector().

int Opm::SpecgridWrapper::numGridBlocksK ( ) const
inline

Return the number of grid blocks in K direction.

Referenced by numBlocksVector().

int Opm::SpecgridWrapper::numReservoirs ( ) const
inline

Return the number of reservoirs.


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