◆ computeHydrostaticCorrection()
template<class Scalar >
Scalar Opm::wellhelpers::computeHydrostaticCorrection |
( |
const Scalar |
well_ref_depth, |
|
|
const Scalar |
vfp_ref_depth, |
|
|
const Scalar |
rho, |
|
|
const Scalar |
gravity |
|
) |
| |
◆ rateControlWithZeroInjTarget()
bool Opm::wellhelpers::rateControlWithZeroInjTarget |
( |
const WellInjectionControls & |
controls, |
|
|
WellInjectorCMode |
mode |
|
) |
| |
Helper to check whether the well is under zero injection rate control.
◆ rateControlWithZeroProdTarget()
bool Opm::wellhelpers::rateControlWithZeroProdTarget |
( |
const WellProductionControls & |
controls, |
|
|
WellProducerCMode |
mode |
|
) |
| |
Helper to check whether the well is under zero production rate control.
◆ sumDistributedWellEntries()
template<typename Scalar , typename Comm >
void Opm::wellhelpers::sumDistributedWellEntries |
( |
Dune::DynamicMatrix< Scalar > & |
mat, |
|
|
Dune::DynamicVector< Scalar > & |
vec, |
|
|
const Comm & |
comm |
|
) |
| |
Sums entries of the diagonal Matrix for distributed wells.
◆ transposeDenseDynMatrix()
template<class DenseMatrix >
DenseMatrix Opm::wellhelpers::transposeDenseDynMatrix |
( |
const DenseMatrix & |
M | ) |
|
|