3 #include <configure.hpp>
6 #include <application/exceptions.hpp>
16 throw NotFoundError(
"MwrAbsorberH2O",
"parameter 'xHe'");
20 throw NotFoundError(
"MwrAbsorberH2O",
"parameter 'scale'");
26 Real P = var.
w[IPR] / 1.E5;
29 for (
int i = 1; i <= NVAPOR; ++i) xdry -= var.
w[i];
30 Real XHe = GetPar<Real>(
"xHe") * xdry;
31 Real XH2 = xdry - XHe;
35 Real wave = (wave1 + wave2) / 2.;
45 GetPar<Real>(
"scale"));
double attenuation_H2O_Karpowicz(double freq, double P_idl, double T, double XH2, double XHe, double XH2O, double scale)
double attenuation_H2O_deBoer(double freq, double P, double T, double XH2, double XHe, double XH2O)
double attenuation_H2O_Goodman(double freq, double P, double T, double XH2, double XHe, double XH2O)
double attenuation_H2O_Waters(double freq, double P, double T, double XH2, double XHe, double XH2O)
std::string model_name_
absorption model model
void CheckFail() const override
This function fails if the check fails.
Real GetAttenuation(Real wave1, Real wave2, AirParcel const &var) const override
Get attenuation coefficient [1/m].
bool HasPar(std::string const &name) const
Check if a parameter exists.
int GetSpeciesIndex(int n) const
This file contains declaration of Absorber.