RadLib
|
#include <rad.h>
Public Member Functions | |
virtual void | get_k_a (std::vector< double > &kabs, std::vector< double > &awts, const double T, const double P, const double fvsoot, const double xH2O, const double xCO2, const double xCO=0, const double xCH4=0)=0 |
ABSTRACT BASE CLASS. | |
virtual void | get_k_a_oneband (double &kabs, double &awts, const int iband, const double T, const double P, const double fvsoot, const double xH2O, const double xCO2, const double xCO=0, const double xCH4=0)=0 |
ABSTRACT BASE CLASS. | |
int | get_nGG () |
int | get_nGGa () |
rad (const int p_nGG, const int p_nGGa) | |
virtual | ~rad () |
Static Public Attributes | |
static constexpr double | sigma = 5.670367E-8 |
Stephan-Boltzmann constant. | |
Protected Attributes | |
int | nGG |
number of gray gases, not including the clear gas | |
int | nGGa |
number of grey gases including the clear gas | |
Class implementing rad object. Abstract base class upon which specific radiation property models are built. get_k_a, and get_k_a_oneband are the primary interfaces.
|
pure virtual |
ABSTRACT BASE CLASS.
kabs | absorption coefficient (1/m) |
awts | gas weight (sum to one) |
T | gas temperature (K) |
P | gas pressure (Pa) |
fvsoot | volume fraction soot (not ppmv) |
xH2O | mole fraction h2o |
xCO2 | mole fraction co2 |
xCO | mole fraction co |
xCH4 | mole fraction ch4 |
Implemented in rad_planck_mean, rad_rcslw, and rad_wsgg.
|
pure virtual |
ABSTRACT BASE CLASS.
kabs | absorption coefficient (1/m) |
awts | gas weight (sum to one) |
iband | band/gas to get k_a for |
T | gas temperature (K) |
P | gas pressure (Pa) |
fvsoot | volume fraction soot (not ppmv) |
xH2O | mole fraction h2o |
xCO2 | mole fraction co2 |
xCO | mole fraction co |
xCH4 | mole fraction ch4 |
Implemented in rad_planck_mean, rad_wsgg, and rad_rcslw.
|
inline |
|
staticconstexpr |
|
protected |
|
protected |