#include <RockFromDeck.hpp>
Opm::RockFromDeck::RockFromDeck |
( |
| ) |
|
Opm::RockFromDeck::RockFromDeck |
( |
std::size_t |
number_of_cells | ) |
|
|
explicit |
Creates rock properties with zero porosity and permeability
- Parameters
-
number_of_cells | The number of cells |
void Opm::RockFromDeck::init |
( |
Opm::EclipseStateConstPtr |
eclState, |
|
|
int |
number_of_cells, |
|
|
const int * |
global_cell, |
|
|
const int * |
cart_dims |
|
) |
| |
Initialize from deck and cell mapping.
- Parameters
-
eclState | The EclipseState (processed deck) produced by the opm-parser code |
number_of_cells | The number of cells in the grid. |
global_cell | The mapping fom local to global cell indices. global_cell[i] is the corresponding global index of i. |
cart_dims | The size of the underlying cartesian grid. |
int Opm::RockFromDeck::numCells |
( |
| ) |
const |
|
inline |
- Returns
- N, the number of cells.
int Opm::RockFromDeck::numDimensions |
( |
| ) |
const |
|
inline |
- Returns
- D, the number of spatial dimensions. Always 3 for deck input.
const double* Opm::RockFromDeck::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::RockFromDeck::porosity |
( |
| ) |
const |
|
inline |
- Returns
- Array of N porosity values.
friend class BlackoilPropsDataHandle |
|
friend |
The documentation for this class was generated from the following file: