Opm::MinpvProcessor Class Reference

Transform a corner-point grid ZCORN field to account for MINPV processing. More...

#include <MinpvProcessor.hpp>

Public Member Functions

 MinpvProcessor (const int nx, const int ny, const int nz)
 Create a processor. More...
 
void process (const std::vector< double > &pv, const double minpv, const std::vector< int > &actnum, double *zcorn) const
 

Detailed Description

Transform a corner-point grid ZCORN field to account for MINPV processing.

Constructor & Destructor Documentation

Opm::MinpvProcessor::MinpvProcessor ( const int  nx,
const int  ny,
const int  nz 
)
inline

Create a processor.

Parameters
[in]nxlogical cartesian number of cells in I-direction
[in]nylogical cartesian number of cells in J-direction
[in]nzlogical cartesian number of cells in K-direction

Member Function Documentation

void Opm::MinpvProcessor::process ( const std::vector< double > &  pv,
const double  minpv,
const std::vector< int > &  actnum,
double *  zcorn 
) const
inline

Change zcorn so that it respects the minpv property.

Parameters
[in]pvpore volumes of all logical cartesian cells
[in]minpvminimum pore volume to accept a cell
[in]actnumactive cells, inactive cells are not considered
[in,out]zcornZCORN 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.

The documentation for this class was generated from the following file: