Opm::FluidStateNullEnthalpyModule< Scalar, numPhases, Implementation > Class Template Reference

Module for the modular fluid state which does not store the enthalpies but returns 0 instead. More...

#include <FluidStateEnthalpyModules.hpp>

Inheritance diagram for Opm::FluidStateNullEnthalpyModule< Scalar, numPhases, Implementation >:
Inheritance graph

Public Member Functions

 FluidStateNullEnthalpyModule ()
 
const Scalar & internalEnergy (unsigned) const
 The specific internal energy of a fluid phase [J/kg]. More...
 
const Scalar & enthalpy (unsigned) const
 The specific enthalpy of a fluid phase [J/kg]. More...
 
template<class FluidState >
void assign (const FluidState &)
 Retrieve all parameters from an arbitrary fluid state. More...
 
void checkDefined () const
 Make sure that all attributes are defined. More...
 

Detailed Description

template<class Scalar, unsigned numPhases, class Implementation>
class Opm::FluidStateNullEnthalpyModule< Scalar, numPhases, Implementation >

Module for the modular fluid state which does not store the enthalpies but returns 0 instead.

Also, the returned values are marked as undefined in Valgrind...

Constructor & Destructor Documentation

◆ FluidStateNullEnthalpyModule()

template<class Scalar , unsigned numPhases, class Implementation >
Opm::FluidStateNullEnthalpyModule< Scalar, numPhases, Implementation >::FluidStateNullEnthalpyModule ( )
inline

Member Function Documentation

◆ assign()

template<class Scalar , unsigned numPhases, class Implementation >
template<class FluidState >
void Opm::FluidStateNullEnthalpyModule< Scalar, numPhases, Implementation >::assign ( const FluidState &  )
inline

Retrieve all parameters from an arbitrary fluid state.

◆ checkDefined()

template<class Scalar , unsigned numPhases, class Implementation >
void Opm::FluidStateNullEnthalpyModule< Scalar, numPhases, Implementation >::checkDefined ( ) const
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.

◆ enthalpy()

template<class Scalar , unsigned numPhases, class Implementation >
const Scalar & Opm::FluidStateNullEnthalpyModule< Scalar, numPhases, Implementation >::enthalpy ( unsigned  ) const
inline

The specific enthalpy of a fluid phase [J/kg].

References Opm::Valgrind::SetUndefined().

◆ internalEnergy()

template<class Scalar , unsigned numPhases, class Implementation >
const Scalar & Opm::FluidStateNullEnthalpyModule< Scalar, numPhases, Implementation >::internalEnergy ( unsigned  ) const
inline

The specific internal energy of a fluid phase [J/kg].

References Opm::Valgrind::SetUndefined().


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