Opm::FlowMainEbos< TypeTag > Class Template Reference

Public Types

typedef GET_PROP(TypeTag, MaterialLaw) typedef GET_PROP_TYPE(TypeTag, Simulator) EbosSimulator
 
typedef Opm::SimulatorFullyImplicitBlackoilEbos< TypeTag > Simulator
 
typedef Simulator::ReservoirState ReservoirState
 
typedef Simulator::OutputWriter OutputWriter
 

Public Member Functions

typedef GET_PROP_TYPE (TypeTag, Grid) Grid
 
typedef GET_PROP_TYPE (TypeTag, GridView) GridView
 
typedef GET_PROP_TYPE (TypeTag, Problem) Problem
 
typedef GET_PROP_TYPE (TypeTag, Scalar) Scalar
 
typedef GET_PROP_TYPE (TypeTag, FluidSystem) FluidSystem
 
int execute (int argc, char **argv)
 This is the main function of Flow. More...
 

Protected Member Functions

void setupParallelism ()
 
void printStartupMessage ()
 
bool setupParameters (int argc, char **argv)
 
void setupOutput ()
 
void setupLogging ()
 
void printPRTHeader ()
 
void mergeParallelLogFiles ()
 
void setupEbosSimulator ()
 
const Deck & deck () const
 
Deck & deck ()
 
const EclipseState & eclState () const
 
EclipseState & eclState ()
 
void setupState ()
 
void extractMessages ()
 
void runDiagnostics ()
 
void writeInit ()
 
void setupOutputWriter ()
 
int runSimulator ()
 
void setupLinearSolver ()
 
void createSimulator ()
 This is the main function of Flow.
 

Member Function Documentation

◆ execute()

template<class TypeTag >
int Opm::FlowMainEbos< TypeTag >::execute ( int  argc,
char **  argv 
)
inline

This is the main function of Flow.

It runs a complete simulation, with the given grid and simulator classes, based on user command-line input. The content of this function used to be in the main() function of flow.cpp.


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