Public Types |
Public Member Functions |
Protected Member Functions |
Protected Attributes |
List of all members
Opm::Rock< dim > Class Template Reference A property class for porous media rock. More...
Detailed Descriptiontemplate<int dim>
|
dim | the dimension of the space, used for giving permeability tensors the right size. |
typedef OwnCMatrix Opm::Rock< dim >::MutablePermTensor |
Tensor type to be used for holding copies of permeability tensors.
typedef ImmutableCMatrix Opm::Rock< dim >::PermTensor |
Tensor type for read-only access to permeability.
typedef SharedCMatrix Opm::Rock< dim >::SharedPermTensor |
Tensor type for read and write access to permeability.
|
protected |
References Opm::zero().
|
protected |
void Opm::Rock< dim >::init | ( | Opm::DeckConstPtr | deck, |
const std::vector< int > & | global_cell, | ||
const double | perm_threshold = 0.0 |
||
) |
Initialize from a grdecl file.
parser | the parser holding the grdecl data. |
parser | the parser holding the grdecl data. |
global_cell | the mapping from cell indices to the logical cartesian indices of the grdecl file. |
perm_threshold | lower threshold for permeability. |
rock_list_filename | if non-null, the referred string gives the filename for the rock list. |
use_jfunction_scaling | if true, use j-function scaling of capillary pressure, if applicable. |
sigma | interface tension for j-scaling, if applicable. |
theta | angle for j-scaling, if applicable. |
void Opm::Rock< dim >::init | ( | const int | num_cells, |
const double | uniform_poro, | ||
const double | uniform_perm | ||
) |
Initialize a uniform reservoir.
num_cells | number of cells in the grid. |
uniform_poro | the uniform porosity. |
uniform_perm | the uniform (scalar) permeability. |
|
inline |
|
inline |
Rock< dim >::PermTensor Opm::Rock< dim >::permeability | ( | int | cell_index | ) | const |
Read-access to permeability.
cell_index | index of a grid cell. |
Referenced by Opm::BlackoilWells::init().
Rock< dim >::SharedPermTensor Opm::Rock< dim >::permeabilityModifiable | ( | int | cell_index | ) |
Read- and write-access to permeability. Use with caution.
cell_index | index of a grid cell. |
|
inline |
Referenced by Opm::compute_porevolume().
|
inline |
double Opm::Rock< dim >::porosity | ( | int | cell_index | ) | const |
Read-access to porosity.
cell_index | index of a grid cell. |
Referenced by Opm::AllFluidData::computeNew(), and Opm::ExplicitCompositionalTransport< Grid, Rock, Fluid, Wells >::transport().
|
protected |
|
protected |
|
protected |
|
protected |