Transform a corner-point grid ZCORN field to account for MINPV processing.
More...
#include <MinpvProcessor.hpp>
|
| MinpvProcessor (const int nx, const int ny, const int nz) |
| Create a processor. More...
|
|
Result | process (const std::vector< double > &thickness, const double z_tolerance, const std::vector< double > &pv, const std::vector< double > &minpvv, const std::vector< int > &actnum, const bool mergeMinPVCells, double *zcorn, bool pinchNOGAP=false) const |
| Change zcorn so that it respects the minpv property. More...
|
|
Transform a corner-point grid ZCORN field to account for MINPV processing.
◆ MinpvProcessor()
Opm::MinpvProcessor::MinpvProcessor |
( |
const int |
nx, |
|
|
const int |
ny, |
|
|
const int |
nz |
|
) |
| |
|
inline |
Create a processor.
- Parameters
-
[in] | nx | logical cartesian number of cells in I-direction |
[in] | ny | logical cartesian number of cells in J-direction |
[in] | nz | logical cartesian number of cells in K-direction |
◆ process()
MinpvProcessor::Result Opm::MinpvProcessor::process |
( |
const std::vector< double > & |
thickness, |
|
|
const double |
z_tolerance, |
|
|
const std::vector< double > & |
pv, |
|
|
const std::vector< double > & |
minpvv, |
|
|
const std::vector< int > & |
actnum, |
|
|
const bool |
mergeMinPVCells, |
|
|
double * |
zcorn, |
|
|
bool |
pinchNOGAP = false |
|
) |
| const |
|
inline |
Change zcorn so that it respects the minpv property.
- Parameters
-
[in] | thickness | thickness of the cell |
[in] | z_tolerance | cells with thickness below z_tolerance will be bypassed in the minpv process. |
[in] | pv | pore volumes of all logical cartesian cells |
[in] | minpvv | minimum pore volume to accept a cell |
[in] | actnum | active cells, inactive cells are not considered |
[in] | mergeMinPVCells | flag to determine whether cells below minpv should be included in the cell below |
[in,out] | zcorn | ZCORN array to be manipulated After processing, all cells that have lower pore volume than minpv will have the zcorn numbers changed so they are zero-thickness. Any cell below will be changed to include the deleted volume if mergeMinPCCells is true els the volume will be lost |
The documentation for this class was generated from the following file: