29#ifndef DUMUX_PENG_ROBINSON_PARAMS_HH
30#define DUMUX_PENG_ROBINSON_PARAMS_HH
44template <
class Scalar>
Some templates to wrap the valgrind macros.
bool CheckDefined(const T &value)
Make valgrind complain if the object occupied by an object is undefined.
Definition: valgrind.hh:72
make the local view function available whenever we use the grid geometry
Definition: adapt.hh:29
Stores and provides access to the Peng-Robinson parameters.
Definition: pengrobinsonparams.hh:46
Scalar a_
Definition: pengrobinsonparams.hh:92
void checkDefined() const
If run under valgrind, this method produces an warning if the parameters where not determined correct...
Definition: pengrobinsonparams.hh:67
Scalar b_
Definition: pengrobinsonparams.hh:93
void setA(Scalar value)
Set the attractive parameter 'a' of the Peng-Robinson fluid.
Definition: pengrobinsonparams.hh:80
Scalar a() const
Returns the attractive parameter 'a' of the Peng-Robinson fluid.
Definition: pengrobinsonparams.hh:52
void setB(Scalar value)
Set the repulsive parameter 'b' of the Peng-Robinson fluid.
Definition: pengrobinsonparams.hh:88
Scalar b() const
Returns the repulsive parameter 'b' of the Peng-Robinson fluid.
Definition: pengrobinsonparams.hh:60