27 #ifndef OPM_PENG_ROBINSON_PARAMS_HPP
28 #define OPM_PENG_ROBINSON_PARAMS_HPP
42 template <
class Scalar>
67 Valgrind::CheckDefined(a_);
68 Valgrind::CheckDefined(b_);
Some templates to wrap the valgrind client request macros.
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