20#ifndef OPM_RESERVOIR_COUPLING_HPP
21#define OPM_RESERVOIR_COUPLING_HPP
28namespace ReservoirCoupling {
30enum class MessageTag :
int {
31 SlaveSimulationStartDate,
33 SlaveProcessTermination,
41void custom_error_handler_(
MPI_Comm* comm,
int* err,
const std::string &
msg);
This file contains a set of helper functions used by VFPProd / VFPInj.
Definition blackoilboundaryratevector.hh:37
constexpr auto getPropValue()
get the value data member of a property
Definition propertysystem.hh:242
Utility class for comparing double values representing epoch dates or elapsed time.
Definition ReservoirCoupling.hpp:61
static bool compare_eq(double a, double b)
Determines if two double values are equal within a specified tolerance.
Definition ReservoirCoupling.cpp:85
static bool compare_gt(double a, double b)
Determines if a is greater than b within the specified tolerance.
Definition ReservoirCoupling.cpp:100
static bool compare_lt_or_eq(double a, double b)
Determines if a is less than or equal to b within the specified tolerance.
Definition ReservoirCoupling.cpp:106
static constexpr double reltol
Relative tolerance used for comparisons.
Definition ReservoirCoupling.hpp:66
static bool compare_gt_or_eq(double a, double b)
Determines if a is greater than b within the specified tolerance.
Definition ReservoirCoupling.cpp:91
static constexpr double abstol
Absolute tolerance used for comparisons.
Definition ReservoirCoupling.hpp:63