Opm::Details Namespace Reference

Namespaces

 PhaseIndex
 
 PhasePressODE
 
 PhasePressure
 
 PhaseUsed
 

Classes

class  RK4IVP
 

Functions

template<class Grid , class Region , class CellRange >
void equilibrateOWG (const Grid &G, const Region &reg, const double grav, const std::array< double, 2 > &span, const CellRange &cells, std::vector< std::vector< double > > &press)
 
std::vector< double > convertSats (const std::vector< std::vector< double > > &sat)
 

Function Documentation

std::vector<double> Opm::Details::convertSats ( const std::vector< std::vector< double > > &  sat)
inline

Convert saturations from a vector of individual phase saturation vectors to an interleaved format where all values for a given cell come before all values for the next cell, all in a single vector.

Referenced by Opm::initStateEquil().

template<class Grid , class Region , class CellRange >
void Opm::Details::equilibrateOWG ( const Grid &  G,
const Region &  reg,
const double  grav,
const std::array< double, 2 > &  span,
const CellRange &  cells,
std::vector< std::vector< double > > &  press 
)