Opm::ReservoirCoupling Namespace Reference

Classes

struct  InjectionRates
 
class  Logger
 
struct  Potentials
 
struct  ProductionRates
 
class  ScopedLoggerGuard
 Guard for managing DeferredLogger lifecycle in ReservoirCoupling. More...
 
struct  Seconds
 Utility class for comparing double values representing epoch dates or elapsed time. More...
 
struct  SlaveGroupInjectionData
 
struct  SlaveGroupProductionData
 

Enumerations

enum class  MessageTag : int {
  MasterGroupInfo , MasterGroupNames , MasterGroupNamesSize , MasterStartOfReportStep ,
  SlaveActivationDate , SlaveActivationHandshake , SlaveInjectionData , SlaveProcessTermination ,
  SlaveName , SlaveNameSize , SlaveNextReportDate , SlaveNextTimeStep ,
  SlaveProductionData , SlaveSimulationStartDate , SlaveStartOfReportStep
}
 
enum class  Phase : std::size_t { Oil = 0 , Gas , Water , Count }
 Phase indices for reservoir coupling, we currently only support black-oil phases (oil, gas, and water). More...
 

Functions

void custom_error_handler_ (MPI_Comm *comm, int *err, const std::string &msg)
 
void setErrhandler (MPI_Comm comm, bool is_master)
 
std::pair< std::vector< char >, std::size_t > serializeStrings (const std::vector< std::string > &data)
 

Enumeration Type Documentation

◆ MessageTag

enum class Opm::ReservoirCoupling::MessageTag : int
strong
Enumerator
MasterGroupInfo 
MasterGroupNames 
MasterGroupNamesSize 
MasterStartOfReportStep 
SlaveActivationDate 
SlaveActivationHandshake 
SlaveInjectionData 
SlaveProcessTermination 
SlaveName 
SlaveNameSize 
SlaveNextReportDate 
SlaveNextTimeStep 
SlaveProductionData 
SlaveSimulationStartDate 
SlaveStartOfReportStep 

◆ Phase

enum class Opm::ReservoirCoupling::Phase : std::size_t
strong

Phase indices for reservoir coupling, we currently only support black-oil phases (oil, gas, and water).

Enumerator
Oil 
Gas 
Water 
Count 

Function Documentation

◆ custom_error_handler_()

void Opm::ReservoirCoupling::custom_error_handler_ ( MPI_Comm *  comm,
int *  err,
const std::string &  msg 
)

◆ serializeStrings()

std::pair< std::vector< char >, std::size_t > Opm::ReservoirCoupling::serializeStrings ( const std::vector< std::string > &  data)

◆ setErrhandler()

void Opm::ReservoirCoupling::setErrhandler ( MPI_Comm  comm,
bool  is_master 
)