Result of block-averaging well pressure procedure.
More...
#include <PAvgCalculator.hpp>
|
| enum class | WBPMode { WBP
, WBP4
, WBP5
, WBP9
} |
| | Kind of block-averaged well pressure.
|
| |
|
| double | value (const WBPMode type) const |
| | Retrieve numerical value of specific block-averaged well pressure.
|
| |
|
|
class | Accumulator |
| | Enclosing type's accumulator object can access internal data members.
|
| |
| Result | linearCombination (const double alpha, Result x, const double beta, const Result &y) |
| | Grant internal data member access to combination function.
|
| |
Result of block-averaging well pressure procedure.
◆ value()
| double Opm::PAvgCalculator::Result::value |
( |
const WBPMode |
type | ) |
const |
|
inline |
Retrieve numerical value of specific block-averaged well pressure.
- Parameters
-
| [in] | type | Block-averaged pressure kind. |
- Returns
- Block-averaged pressure.
◆ linearCombination
| Result linearCombination |
( |
const double |
alpha, |
|
|
Result |
x, |
|
|
const double |
beta, |
|
|
const Result & |
y |
|
) |
| |
|
friend |
Grant internal data member access to combination function.
Typically the very last step of computing the block-averaged well pressure values; namely a weighted averaged of the CTF-weighted and the PV-weighted contributions.
- Parameters
-
| [in] | alpha | Coefficient in linear combination. Typically the F2 weighting factor from the WPAVE (or WWPAVE) keyword. |
| [in] | x | First WBP result. Typically the CTF-weighted WBP result. |
| [in] | beta | Coefficient in linear combination. Typically 1-F2, with F2 from WPAVE. |
| [in] | y | Second WBP result. Typically the PV-weighted WBP result. |
- Returns
- .
The documentation for this class was generated from the following file: