Opm::PolymerState Class Reference

Simulator state for a two-phase simulator with polymer. More...

#include <PolymerState.hpp>

Public Types

enum  ExtremalSat { MinSat = TwophaseState::MinSat , MaxSat = TwophaseState::MaxSat }
 

Public Member Functions

void init (const UnstructuredGrid &g, int num_phases)
 
void init (int number_of_cells, int number_of_faces, int num_phases)
 
void setFirstSat (const std::vector< int > &cells, const Opm::IncompPropertiesInterface &props, ExtremalSat es)
 
int numPhases () const
 
std::vector< double > & pressure ()
 
std::vector< double > & facepressure ()
 
std::vector< double > & faceflux ()
 
std::vector< double > & saturation ()
 
std::vector< double > & concentration ()
 
std::vector< double > & maxconcentration ()
 
const std::vector< double > & pressure () const
 
const std::vector< double > & facepressure () const
 
const std::vector< double > & faceflux () const
 
const std::vector< double > & saturation () const
 
const std::vector< double > & concentration () const
 
const std::vector< double > & maxconcentration () const
 
TwophaseState & twophaseState ()
 
const TwophaseState & twophaseState () const
 

Detailed Description

Simulator state for a two-phase simulator with polymer.

Member Enumeration Documentation

◆ ExtremalSat

Enumerator
MinSat 
MaxSat 

Member Function Documentation

◆ concentration() [1/2]

std::vector< double > & Opm::PolymerState::concentration ( )
inline

◆ concentration() [2/2]

const std::vector< double > & Opm::PolymerState::concentration ( ) const
inline

◆ faceflux() [1/2]

std::vector< double > & Opm::PolymerState::faceflux ( )
inline

◆ faceflux() [2/2]

const std::vector< double > & Opm::PolymerState::faceflux ( ) const
inline

◆ facepressure() [1/2]

std::vector< double > & Opm::PolymerState::facepressure ( )
inline

◆ facepressure() [2/2]

const std::vector< double > & Opm::PolymerState::facepressure ( ) const
inline

◆ init() [1/2]

void Opm::PolymerState::init ( const UnstructuredGrid &  g,
int  num_phases 
)
inline

References init().

Referenced by init().

◆ init() [2/2]

void Opm::PolymerState::init ( int  number_of_cells,
int  number_of_faces,
int  num_phases 
)
inline

◆ maxconcentration() [1/2]

std::vector< double > & Opm::PolymerState::maxconcentration ( )
inline

◆ maxconcentration() [2/2]

const std::vector< double > & Opm::PolymerState::maxconcentration ( ) const
inline

◆ numPhases()

int Opm::PolymerState::numPhases ( ) const
inline

◆ pressure() [1/2]

std::vector< double > & Opm::PolymerState::pressure ( )
inline

◆ pressure() [2/2]

const std::vector< double > & Opm::PolymerState::pressure ( ) const
inline

◆ saturation() [1/2]

std::vector< double > & Opm::PolymerState::saturation ( )
inline

◆ saturation() [2/2]

const std::vector< double > & Opm::PolymerState::saturation ( ) const
inline

◆ setFirstSat()

void Opm::PolymerState::setFirstSat ( const std::vector< int > &  cells,
const Opm::IncompPropertiesInterface &  props,
ExtremalSat  es 
)
inline

◆ twophaseState() [1/2]

TwophaseState & Opm::PolymerState::twophaseState ( )
inline

◆ twophaseState() [2/2]

const TwophaseState & Opm::PolymerState::twophaseState ( ) const
inline

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