Go to the documentation of this file.
26 #ifndef gas_abs_lookup_h
27 #define gas_abs_lookup_h
64 const Index& p_interp_order,
65 const Index& t_interp_order,
66 const Index& h2o_interp_order,
89 Index& abs_lookup_is_adapted,
100 const Vector& abs_nls_pert,
109 const Index& abs_p_interp_order,
110 const Index& abs_t_interp_order,
111 const Index& abs_nls_interp_order,
112 const bool ignore_errors,
128 const Index& abs_lookup_is_adapted,
129 const Index& abs_p_interp_order,
130 const Index& abs_t_interp_order,
131 const Index& abs_nls_interp_order,
142 const Index& abs_lookup_is_adapted,
143 const Index& abs_p_interp_order,
144 const Index& abs_t_interp_order,
145 const Index& abs_nls_interp_order,
152 const Index& mc_seed,
268 #endif // gas_abs_lookup_h
const Vector & GetPgrid() const
const Vector & GetFgrid() const
ArrayOfIndex nonlinear_species
The species tags with non-linear treatment.
Declarations required for the calculation of absorption coefficients.
friend Numeric calc_lookup_error(const GasAbsLookup &al, const Index &abs_p_interp_order, const Index &abs_t_interp_order, const Index &abs_nls_interp_order, const bool ignore_errors, const Vector &abs_n2, const ArrayOfArrayOfLineRecord &abs_lines_per_species, const ArrayOfLineshapeSpec &abs_lineshape, const ArrayOfString &abs_cont_names, const ArrayOfString &abs_cont_models, const ArrayOfVector &abs_cont_parameters, const Numeric &local_p, const Numeric &local_t, const Vector &local_vmrs, const Verbosity &verbosity)
Compare lookup and LBL calculation.
An absorption lookup table.
This can be used to make arrays out of anything.
Declarations having to do with the four output streams.
The implementation for String, the ARTS string class.
Vector t_ref
The reference temperature profile [K].
Vector f_grid
The frequency grid [Hz].
Vector p_grid
The pressure grid for the table [Pa].
friend void abs_lookupTestAccMC(const GasAbsLookup &abs_lookup, const Index &abs_lookup_is_adapted, const Index &abs_p_interp_order, const Index &abs_t_interp_order, const Index &abs_nls_interp_order, const Vector &abs_n2, const ArrayOfArrayOfLineRecord &abs_lines_per_species, const ArrayOfLineshapeSpec &abs_lineshape, const ArrayOfString &abs_cont_names, const ArrayOfString &abs_cont_models, const ArrayOfVector &abs_cont_parameters, const Index &mc_seed, const Verbosity &verbosity)
WORKSPACE METHOD: abs_lookupTestAccMC.
NUMERIC Numeric
The type to use for all floating point numbers.
Binary output file stream class.
Vector nls_pert
The vector of perturbations for the VMRs of the nonlinear species.
friend void abs_lookupTestAccuracy(const GasAbsLookup &abs_lookup, const Index &abs_lookup_is_adapted, const Index &abs_p_interp_order, const Index &abs_t_interp_order, const Index &abs_nls_interp_order, const Vector &abs_n2, const ArrayOfArrayOfLineRecord &abs_lines_per_species, const ArrayOfLineshapeSpec &abs_lineshape, const ArrayOfString &abs_cont_names, const ArrayOfString &abs_cont_models, const ArrayOfVector &abs_cont_parameters, const Verbosity &verbosity)
WORKSPACE METHOD: abs_lookupTestAccuracy.
Tensor4 xsec
Absorption cross sections.
friend void abs_lookupCreate(GasAbsLookup &abs_lookup, Index &abs_lookup_is_adapted, const ArrayOfArrayOfSpeciesTag &abs_species, const ArrayOfArrayOfLineRecord &abs_lines_per_species, const ArrayOfLineshapeSpec &abs_lineshape, const ArrayOfArrayOfSpeciesTag &abs_nls, const Vector &f_grid, const Vector &abs_p, const Matrix &abs_vmrs, const Vector &abs_t, const Vector &abs_t_pert, const Vector &abs_nls_pert, const Vector &abs_n2, const ArrayOfString &abs_cont_names, const ArrayOfString &abs_cont_models, const ArrayOfVector &abs_cont_parameters, const Verbosity &verbosity)
WORKSPACE METHOD: abs_lookupCreate.
ArrayOfArrayOfSpeciesTag species
The species tags for which the table is valid.
void Extract(Matrix &sga, const Index &p_interp_order, const Index &t_interp_order, const Index &h2o_interp_order, const Index &f_index, const Numeric &p, const Numeric &T, ConstVectorView abs_vmrs) const
Extract scalar gas absorption coefficients from the lookup table.
Vector log_p_grid
The natural log of the pressure grid.
void Adapt(const ArrayOfArrayOfSpeciesTag ¤t_species, ConstVectorView current_f_grid, const Verbosity &verbosity)
Adapt lookup table to current calculation.
INDEX Index
The type to use for all integer numbers and indices.
ostream & operator<<(ostream &os, const GasAbsLookup &gal)
Output operatior for GasAbsLookup.
Matrix vmrs_ref
The reference VMR profiles.
Vector t_pert
The vector of temperature perturbations [K].
friend void xml_write_to_stream(ostream &os_xml, const GasAbsLookup &gal, bofstream *pbofs, const String &name, const Verbosity &verbosity)
Writes GasAbsLookup to XML output stream.
A constant view of a Vector.
friend void xml_read_from_stream(istream &is_xml, GasAbsLookup &gal, bifstream *pbifs, const Verbosity &verbosity)
Reads GasAbsLookup from XML input stream.
Binary output file stream class.