27#ifndef OPM_PENG_ROBINSON_PARAMS_HPP
28#define OPM_PENG_ROBINSON_PARAMS_HPP
42template <
class Scalar>
Some templates to wrap the valgrind client request macros.
OPM_HOST_DEVICE bool CheckDefined(const T &value)
Make valgrind complain if any of the memory occupied by an object is undefined.
Definition Valgrind.hpp:76
Stores and provides access to the Peng-Robinson parameters.
Definition PengRobinsonParams.hpp:44
Scalar a() const
Returns the attractive parameter 'a' of the Peng-Robinson fluid.
Definition PengRobinsonParams.hpp:50
void setB(Scalar value)
Set the repulsive parameter 'b' of the Peng-Robinson fluid.
Definition PengRobinsonParams.hpp:83
Scalar b() const
Returns the repulsive parameter 'b' of the Peng-Robinson fluid.
Definition PengRobinsonParams.hpp:57
void checkDefined() const
If run under valgrind, this method produces an warning if the parameters where not determined correct...
Definition PengRobinsonParams.hpp:64
void setA(Scalar value)
Set the attractive parameter 'a' of the Peng-Robinson fluid.
Definition PengRobinsonParams.hpp:76
This class implements a small container which holds the transmissibility mulitpliers for all the face...
Definition Exceptions.hpp:30