BDSIM
BDSIM is a Geant4 extension toolkit for simulation of particle transport in accelerator beamlines.
Loading...
Searching...
No Matches
Static Public Member Functions | Static Public Attributes
BDSIdealGas Class Reference

A class to perform ideal gas calculations. More...

#include <BDSIdealGas.hh>

Collaboration diagram for BDSIdealGas:
Collaboration graph

Static Public Member Functions

template<typename Type >
static G4double CalculateDensityFromPressureTemperature (const std::list< G4String > &components, const std::list< Type > &componentFractions, G4double pressure, G4double temperature)
 
template<typename Type >
static G4double CalculateTemperatureFromPressureDensity (const std::list< G4String > &components, const std::list< Type > &componentFractions, G4double pressure, G4double density)
 
template<typename Type >
static G4double CalculatePressureFromTemperatureDensity (const std::list< G4String > &components, const std::list< Type > &componentFractions, G4double temperature, G4double density)
 
template<typename Type >
static G4double CalculateDensityFromNumberDensity (const std::list< G4String > &components, const std::list< Type > &componentFractions, G4double numberDensity)
 
template<typename Type >
static G4double CalculateDensityFromMolarDensity (const std::list< G4String > &components, const std::list< Type > &componentFractions, G4double molarDensity)
 
template<typename Type >
static G4double CalculateAverageMolarMass (const std::list< G4String > &components, const std::list< Type > &componentFractions)
 
template<typename Type >
static void CheckGasLaw (G4String name, G4double &temperature, G4double &pressure, G4double &density, const std::list< G4String > &components, const std::list< Type > &componentFractions)
 

Static Public Attributes

static const G4double R = CLHEP::Avogadro * CLHEP::k_Boltzmann / CLHEP::joule * 10
 

Detailed Description

A class to perform ideal gas calculations.

Author
Marin Deniaud

Definition at line 39 of file BDSIdealGas.hh.

Member Function Documentation

◆ CalculateAverageMolarMass()

template<typename Type >
static G4double BDSIdealGas::CalculateAverageMolarMass ( const std::list< G4String > &  components,
const std::list< Type > &  componentFractions 
)
inlinestatic

Definition at line 102 of file BDSIdealGas.hh.

◆ CalculateDensityFromMolarDensity()

template<typename Type >
static G4double BDSIdealGas::CalculateDensityFromMolarDensity ( const std::list< G4String > &  components,
const std::list< Type > &  componentFractions,
G4double  molarDensity 
)
inlinestatic

Definition at line 91 of file BDSIdealGas.hh.

◆ CalculateDensityFromNumberDensity()

template<typename Type >
static G4double BDSIdealGas::CalculateDensityFromNumberDensity ( const std::list< G4String > &  components,
const std::list< Type > &  componentFractions,
G4double  numberDensity 
)
inlinestatic

Definition at line 80 of file BDSIdealGas.hh.

◆ CalculateDensityFromPressureTemperature()

template<typename Type >
static G4double BDSIdealGas::CalculateDensityFromPressureTemperature ( const std::list< G4String > &  components,
const std::list< Type > &  componentFractions,
G4double  pressure,
G4double  temperature 
)
inlinestatic

Definition at line 44 of file BDSIdealGas.hh.

◆ CalculatePressureFromTemperatureDensity()

template<typename Type >
static G4double BDSIdealGas::CalculatePressureFromTemperatureDensity ( const std::list< G4String > &  components,
const std::list< Type > &  componentFractions,
G4double  temperature,
G4double  density 
)
inlinestatic

Definition at line 68 of file BDSIdealGas.hh.

◆ CalculateTemperatureFromPressureDensity()

template<typename Type >
static G4double BDSIdealGas::CalculateTemperatureFromPressureDensity ( const std::list< G4String > &  components,
const std::list< Type > &  componentFractions,
G4double  pressure,
G4double  density 
)
inlinestatic

Definition at line 56 of file BDSIdealGas.hh.

◆ CheckGasLaw()

template<typename Type >
static void BDSIdealGas::CheckGasLaw ( G4String  name,
G4double &  temperature,
G4double &  pressure,
G4double &  density,
const std::list< G4String > &  components,
const std::list< Type > &  componentFractions 
)
inlinestatic

Definition at line 147 of file BDSIdealGas.hh.

Field Documentation

◆ R

const G4double BDSIdealGas::R = CLHEP::Avogadro * CLHEP::k_Boltzmann / CLHEP::joule * 10
static

Definition at line 41 of file BDSIdealGas.hh.


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