Opm::TransportSolverTwophaseInterface Class Referenceabstract

Base class for two-phase incompressible transport solvers. More...

#include <TransportSolverTwophaseInterface.hpp>

Inheritance diagram for Opm::TransportSolverTwophaseInterface:
Inheritance graph

Public Member Functions

virtual ~TransportSolverTwophaseInterface ()
 Virtual destructor to enable inheritance. More...
 
virtual void solve (const double *porevolume, const double *source, const double dt, TwophaseState &state)=0
 

Detailed Description

Base class for two-phase incompressible transport solvers.

Constructor & Destructor Documentation

virtual Opm::TransportSolverTwophaseInterface::~TransportSolverTwophaseInterface ( )
virtual

Virtual destructor to enable inheritance.

Member Function Documentation

virtual void Opm::TransportSolverTwophaseInterface::solve ( const double *  porevolume,
const double *  source,
const double  dt,
TwophaseState state 
)
pure virtual

Solve for saturation at next timestep.

Parameters
[in]porevolumeArray of pore volumes.
[in]sourceTransport source term. For interpretation see Opm::computeTransportSource().
[in]dtTime step.
[in,out]stateReservoir state. Calling solve() will read state.faceflux() and read and write state.saturation().

Implemented in Opm::TransportSolverTwophaseImplicit, and Opm::TransportSolverTwophaseReorder.


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