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

Module for the modular fluid state which does not the densities but throws std::logic_error instead. More...

#include <FluidStateDensityModules.hpp>

Public Member Functions

 FluidStateNullDensityModule ()
 
const Scalar & density (unsigned) const
 The density of a fluid phase [kg/m^3]. More...
 
const Scalar & molarDensity (unsigned) const
 The molar density of a fluid phase [mol/m^3]. More...
 
const Scalar & molarVolume (unsigned) const
 The molar volume of a fluid phase [m^3/mol]. 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::FluidStateNullDensityModule< Scalar, numPhases, Implementation >

Module for the modular fluid state which does not the densities but throws std::logic_error instead.

Constructor & Destructor Documentation

◆ FluidStateNullDensityModule()

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

Member Function Documentation

◆ assign()

template<class Scalar , unsigned numPhases, class Implementation >
template<class FluidState >
void Opm::FluidStateNullDensityModule< 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::FluidStateNullDensityModule< 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.

◆ density()

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

The density of a fluid phase [kg/m^3].

◆ molarDensity()

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

The molar density of a fluid phase [mol/m^3].

◆ molarVolume()

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

The molar volume of a fluid phase [m^3/mol].


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