Opm::RockBasic Class Reference

#include <RockBasic.hpp>

Public Member Functions

 RockBasic ()
 Default constructor. More...
 
void init (const int dimensions, const int num_cells, const double poro, const double perm)
 Initialize with homogenous porosity and permeability. More...
 
int numDimensions () const
 
int numCells () const
 
const double * porosity () const
 
const double * permeability () const
 

Constructor & Destructor Documentation

Opm::RockBasic::RockBasic ( )

Default constructor.

Member Function Documentation

void Opm::RockBasic::init ( const int  dimensions,
const int  num_cells,
const double  poro,
const double  perm 
)

Initialize with homogenous porosity and permeability.

int Opm::RockBasic::numCells ( ) const
inline
Returns
N, the number of cells.
int Opm::RockBasic::numDimensions ( ) const
inline
Returns
D, the number of spatial dimensions.
const double* Opm::RockBasic::permeability ( ) const
inline
Returns
Array of ND^2 permeability values. The D^2 permeability values for a cell are organized as a matrix, which is symmetric (so ordering does not matter).
const double* Opm::RockBasic::porosity ( ) const
inline
Returns
Array of N porosity values.

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