My Project
|
Module for the modular fluid state which stores the phase fugacity coefficients explicitly assuming immiscibility. More...
#include <FluidStateFugacityModules.hpp>
Public Member Functions | |
Scalar | fugacityCoefficient (unsigned phaseIdx, unsigned compIdx) const |
The fugacity coefficient of a component in a phase []. | |
Scalar | fugacity (unsigned phaseIdx, unsigned compIdx) const |
The fugacity of a component in a phase [Pa]. | |
void | setFugacityCoefficient (unsigned phaseIdx, const Scalar &value) |
Set the fugacity of a component in a phase []. | |
template<class FluidState > | |
void | assign (const FluidState &fs) |
Retrieve all parameters from an arbitrary fluid state. | |
void | checkDefined () const |
Make sure that all attributes are defined. | |
Protected Member Functions | |
const Implementation & | asImp_ () const |
Protected Attributes | |
Scalar | fugacityCoefficient_ [numPhases] |
Module for the modular fluid state which stores the phase fugacity coefficients explicitly assuming immiscibility.
|
inline |
Make sure that all attributes are defined.
This method does not do anything if the program is not run under valgrind. If it is, then valgrind will print an error message if some attributes of the object have not been properly defined.