|
void | addNonStandardUpscalingKeywords (Opm::ParserPtr parser) |
| This function registers the non-standard keywords used by opm-upscaling in a parser object. More...
|
|
double | getVoigtValue (const SinglePhaseUpscaler::permtensor_t &K, int voigt_idx) |
| Get value from tensor. More...
|
|
void | setVoigtValue (SinglePhaseUpscaler::permtensor_t &K, int voigt_idx, double val) |
| Set value in tensor. More...
|
|
static double | calc_frac_flow (std::map< int, double > &frac_flow_by_bid, const BCs &bcond, const ResProp &res_prop, GridInterface::CellIterator c, CellIterator::FaceIterator f) |
|
template<class Istream > |
void | readControl (Istream &is, std::vector< double > &saturations, Opm::SparseTable< double > &all_pdrops) |
| Reads saturation and pressure drop data from an input stream. More...
|
|
template<class Ostream > |
void | writeControl (Ostream &os, const std::vector< double > &saturations, const Opm::SparseTable< double > &all_pdrops) |
| Writes saturation and pressure drop data to an output stream. More...
|
|
template<class Ostream , class Tensor > |
void | writeRelPerm (Ostream &os, const Tensor &K, double sat, double pdrop) |
|
template<class Ostream , class Tensor > |
void | writeRelPerm (Ostream &os, const Tensor &K, double sat, double pdrop, bool success) |
|
void Opm::addNonStandardUpscalingKeywords |
( |
Opm::ParserPtr |
parser | ) |
|
|
inline |
This function registers the non-standard keywords used by opm-upscaling in a parser object.
The name of this function is intentionally long and awkward. This is to discourage its use unless it is really necessary!
static double Opm::calc_frac_flow |
( |
std::map< int, double > & |
frac_flow_by_bid, |
|
|
const BCs & |
bcond, |
|
|
const ResProp & |
res_prop, |
|
|
GridInterface::CellIterator |
c, |
|
|
CellIterator::FaceIterator |
f |
|
) |
| |
|
inlinestatic |
double Opm::getVoigtValue |
( |
const SinglePhaseUpscaler::permtensor_t & |
K, |
|
|
int |
voigt_idx |
|
) |
| |
Get value from tensor.
- Parameters
-
[in] | K | The tensor to extract the value from |
[in] | voigt_idx | The voigt index for value to extract (0..8) |
- Returns
- The requested value
template<class Istream >
void Opm::readControl |
( |
Istream & |
is, |
|
|
std::vector< double > & |
saturations, |
|
|
Opm::SparseTable< double > & |
all_pdrops |
|
) |
| |
void Opm::setVoigtValue |
( |
SinglePhaseUpscaler::permtensor_t & |
K, |
|
|
int |
voigt_idx, |
|
|
double |
val |
|
) |
| |
Set value in tensor.
- Parameters
-
[out] | K | The tensor to set value in |
[in] | voigt_idx | The voigt index for value to set (0..8) |
[in] | val | Value to set in tensor |
template<class Ostream >
void Opm::writeControl |
( |
Ostream & |
os, |
|
|
const std::vector< double > & |
saturations, |
|
|
const Opm::SparseTable< double > & |
all_pdrops |
|
) |
| |
Writes saturation and pressure drop data to an output stream.
References Opm::Elasticity::j.
template<class Ostream , class Tensor >
void Opm::writeRelPerm |
( |
Ostream & |
os, |
|
|
const Tensor & |
K, |
|
|
double |
sat, |
|
|
double |
pdrop |
|
) |
| |
template<class Ostream , class Tensor >
void Opm::writeRelPerm |
( |
Ostream & |
os, |
|
|
const Tensor & |
K, |
|
|
double |
sat, |
|
|
double |
pdrop, |
|
|
bool |
success |
|
) |
| |
|