27 #ifndef OPM_PENG_ROBINSON_PARAMS_HPP
28 #define OPM_PENG_ROBINSON_PARAMS_HPP
30 #include <opm/common/Valgrind.hpp>
42 template <
class Scalar>
67 Valgrind::CheckDefined(a_);
68 Valgrind::CheckDefined(b_);
void setA(Scalar value)
Set the attractive parameter 'a' of the Peng-Robinson fluid.
Definition: PengRobinsonParams.hpp:76
void setB(Scalar value)
Set the repulsive parameter 'b' of the Peng-Robinson fluid.
Definition: PengRobinsonParams.hpp:83
void checkDefined() const
If run under valgrind, this method produces an warning if the parameters where not determined correct...
Definition: PengRobinsonParams.hpp:64
Scalar b() const
Returns the repulsive parameter 'b' of the Peng-Robinson fluid.
Definition: PengRobinsonParams.hpp:57
Stores and provides access to the Peng-Robinson parameters.
Definition: PengRobinsonParams.hpp:43
Scalar a() const
Returns the attractive parameter 'a' of the Peng-Robinson fluid.
Definition: PengRobinsonParams.hpp:50