Opm Namespace Reference

Namespaces

 Exc
 
 parameter
 

Classes

struct  Elevation
 
struct  RunLenData
 
class  RunLenView
 
struct  Simulator
 
struct  SimulatorAdapter
 
struct  TopSurf
 
class  VertEq
 Vertical Equilibrium Upscaling. More...
 
struct  VertEqProps
 
struct  VertEqState
 
struct  VertEqUpscaler
 
struct  VertEqWrapper
 
struct  VertEqWrapperBase
 

Typedefs

typedef const RunLenView< int > rlw_int
 
typedef const RunLenView< double > rlw_double
 

Functions

double snapToRange (const double value, const double lo, const double hi)
 
rlw_int grid_cell_facetag (const UnstructuredGrid &g)
 
rlw_int grid_cell_faces (const UnstructuredGrid &g)
 

Typedef Documentation

typedef const RunLenView<double> Opm::rlw_double

Function Documentation

rlw_int Opm::grid_cell_faces ( const UnstructuredGrid &  g)
rlw_int Opm::grid_cell_facetag ( const UnstructuredGrid &  g)
double Opm::snapToRange ( const double  value,
const double  lo,
const double  hi 
)

If a value is just outside the interval, such that it can be caused by round-off errors in the averaging, put it within so that the bounds-checks doesn't fail.

Parameters
valueValue that should be between [lo-eps, hi+eps]
loLower bound of the interval
hiUpper bound of the interval
Returns
Value in the range [lo, hi]