version 3.10-dev
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 >:

Description

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

See:

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

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 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

◆ b()

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

◆ setA()

template<class Scalar >
void Dumux::PengRobinsonParams< Scalar >::setA ( Scalar  value)
inline
Parameters
valuevalue of the attractive parameter

◆ setB()

template<class Scalar >
void Dumux::PengRobinsonParams< Scalar >::setB ( Scalar  value)
inline
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: