Opm::VertEqState Struct Reference

#include <state.hpp>

Inheritance diagram for Opm::VertEqState:
Inheritance graph

Public Member Functions

 VertEqState (VertEq &model, const TwophaseState &fineScale)
 
void notify ()
 

Public Attributes

VertEqve
 

Detailed Description

State object that knows which model that created it and which can communicate changes back to it.

Since the state is not part of the construction of the simulator object, it is not available when we need to create the VE model, but must be supplied later.

Use this object as a replacement for the fine-scale state.

Constructor & Destructor Documentation

Opm::VertEqState::VertEqState ( VertEq model,
const TwophaseState &  fineScale 
)
inline

Member Function Documentation

void Opm::VertEqState::notify ( )
inline

Push changes that are done to this object back into the VE model when it has been updated (a timestep has completed)

(The reason this method isn't const is because it logically changes the underlaying bundled VE model)

See also
SimulatorIncompTwophase::connect_timestep

References Opm::VertEq::notify().

Member Data Documentation

VertEq& Opm::VertEqState::ve

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