3.2-git
DUNE for Multi-{Phase, Component, Scale, Physics, ...} flow and transport in porous media
Public Member Functions | Protected Attributes | List of all members
Dumux::PengRobinsonParams< Scalar > Class Template Reference

Stores and provides access to the Peng-Robinson parameters. More...

#include <dumux/material/eos/pengrobinsonparams.hh>

Inheritance diagram for Dumux::PengRobinsonParams< Scalar >:
Inheritance graph

Description

template<class Scalar>
class Dumux::PengRobinsonParams< Scalar >

Stores and provides access to the Peng-Robinson parameters.

See:

R. Reid, et al. (1987, pp. 43-44) [53]

Public Member Functions

Scalar a () const
 Returns the attractive parameter 'a' of the Peng-Robinson fluid. More...
 
Scalar b () const
 Returns the repulsive parameter 'b' of the Peng-Robinson fluid. More...
 
void checkDefined () const
 If run under valgrind, this method produces an warning if the parameters where not determined correctly. More...
 
void setA (Scalar value)
 Set the attractive parameter 'a' of the Peng-Robinson fluid. More...
 
void setB (Scalar value)
 Set the repulsive parameter 'b' of the Peng-Robinson fluid. More...
 

Protected Attributes

Scalar a_
 
Scalar b_
 

Member Function Documentation

◆ a()

template<class Scalar >
Scalar Dumux::PengRobinsonParams< Scalar >::a ( ) const
inline

Returns the attractive parameter 'a' of the Peng-Robinson fluid.

◆ b()

template<class Scalar >
Scalar Dumux::PengRobinsonParams< Scalar >::b ( ) const
inline

Returns the repulsive parameter 'b' of the Peng-Robinson fluid.

◆ checkDefined()

template<class Scalar >
void Dumux::PengRobinsonParams< Scalar >::checkDefined ( ) const
inline

If run under valgrind, this method produces an warning if the parameters where not determined correctly.

◆ setA()

template<class Scalar >
void Dumux::PengRobinsonParams< Scalar >::setA ( Scalar  value)
inline

Set the attractive parameter 'a' of the Peng-Robinson fluid.

Parameters
valuevalue of the attractive parameter

◆ setB()

template<class Scalar >
void Dumux::PengRobinsonParams< Scalar >::setB ( Scalar  value)
inline

Set the repulsive parameter 'b' of the Peng-Robinson fluid.

Parameters
valuevalue of the repulsive parameter

Member Data Documentation

◆ a_

template<class Scalar >
Scalar Dumux::PengRobinsonParams< Scalar >::a_
protected

◆ b_

template<class Scalar >
Scalar Dumux::PengRobinsonParams< Scalar >::b_
protected

The documentation for this class was generated from the following file: