OGS
anonymous_namespace{Adsorption.cpp} Namespace Reference

Functions

double getPotential (const double p_Ads, const double T_Ads, const double M_Ads)
 
template<typename T >
square (const T &v)
 

Variables

constexpr double k_rate = 6.0e-3
 

Function Documentation

◆ getPotential()

double anonymous_namespace{Adsorption.cpp}::getPotential ( const double p_Ads,
const double T_Ads,
const double M_Ads )

Definition at line 18 of file Adsorption.cpp.

19{
21 std::log(
23 T_Ads) /
24 p_Ads) /
25 (M_Ads * 1.e3); // in kJ/kg = J/g
26}
static double getEquilibriumVapourPressure(const double T_Ads)

References Adsorption::AdsorptionReaction::getEquilibriumVapourPressure(), and MaterialLib::PhysicalConstant::IdealGasConstant.

◆ square()

template<typename T >
T anonymous_namespace{Adsorption.cpp}::square ( const T & v)

Definition at line 31 of file Adsorption.cpp.

32{
33 return v * v;
34}

Variable Documentation

◆ k_rate

double anonymous_namespace{Adsorption.cpp}::k_rate = 6.0e-3
constexpr

Definition at line 28 of file Adsorption.cpp.