Go to the documentation of this file.
  118                       const String& description,
 
  152                 const Index&    ind_lsn,
 
  226                 const Index&            mytrantag,
 
  227                 const Index&            hitrantag,
 
  251 #endif // ifndef NDEBUG 
  296                                       Numeric actual_temperature )
 const 
  299       Numeric qcoeff_at_t_ref, qtemp;
 
  316               throw runtime_error(
"The partition functions are incorrect.\n");
 
  325             return qcoeff_at_t_ref / qtemp;
 
  329             os << 
"Partition function of " 
  330                << 
"Isotopologue " << 
mname 
  332                << 
" at T=" << actual_temperature << 
"K is zero or negative.";
 
  333             throw runtime_error(os.str());
 
  420 #endif // #ifndef NDEBUG 
  451         return mparams[species](isotopologue, col);
 
  457         mparams[species](isotopologue, col) = v;
 
  485                 const Index& isotopologueindex)
 
  527                   const Index              this_species,
 
  545                                         const Index              this_species,
 
  563                                             const Index              this_species,
 
  623 #endif // absorption_h 
  
 
IsotopologueRecord(const String &name, const Numeric &abundance, const Numeric &mass, const Index &mytrantag, const Index &hitrantag, const MakeArray< Index > &jpltags)
Constructor that sets the values.
 
void fillSpeciesAuxDataWithIsotopologueRatiosFromSpeciesData(SpeciesAuxData &sad)
Fill SpeciesAuxData with default isotopologue ratios from species data.
 
const Numeric & Mass() const
Mass of the isotopologue.
 
const String & Description() const
Return the description text.
 
IsotopologueRecord(const IsotopologueRecord &x)
Copy constructor.
 
Array< LineshapeSpec > ArrayOfLineshapeSpec
Holds a list of lineshape specifications: function, normalization, cutoff.
 
void SetPartitionFctCoeff(const ArrayOfNumeric &qcoeff, const Index &qcoefftype)
 
bool Phase() const
Returns true if lineshape function calculates phase information.
 
lsnf_type mfunction
Pointer to lineshape normalization function.
 
SpeciesAuxData()
Default constructor.
 
lsf_type mfunction
Pointer to lineshape function.
 
const String & Description() const
Return the description text.
 
lsnf_type Function() const
Return pointer to lineshape normalization function.
 
const Index & Ind_ls() const
Return the index of this lineshape.
 
const String & Name() const
Return the name of this lineshape.
 
Array< IsotopologueRecord > misotopologue
Isotopologue data.
 
bool mphase
Does this lineshape calculate phase information?
 
LineshapeNormRecord(const String &name, const String &description, lsnf_type function)
Initializing constructor, used to build the lookup table.
 
const Index & Isotopologueindex() const
 
Lineshape related information.
 
bool ReadFromStream(String &artsid, istream &is, Index nparams, const Verbosity &verbosity)
Read parameters from input stream.
 
Index species_index_from_species_name(String name)
Return species index for given species name.
 
void xsec_species_line_mixing_wrapper(MatrixView xsec_attenuation, MatrixView xsec_phase, const ArrayOfArrayOfLineMixingRecord &line_mixing_data, const ArrayOfArrayOfIndex &line_mixing_data_lut, ConstVectorView f_grid, ConstVectorView abs_p, ConstVectorView abs_t, ConstMatrixView all_vmrs, const ArrayOfArrayOfSpeciesTag &abs_species, const Index this_species, const ArrayOfLineRecord &abs_lines, const Index ind_ls, const Index ind_lsn, const Numeric cutoff, const SpeciesAuxData &isotopologue_ratios, const Verbosity &verbosity)
This will work as a wrapper for linemixing when abs_species contain relevant data.
 
lsf_type Function() const
Return pointer to lineshape function.
 
This file contains the definition of Array.
 
LineshapeRecord(const String &name, const String &description, lsf_type function, const bool phase)
Initializing constructor, used to build the lookup table.
 
Array< IsotopologueRecord > & Isotopologue()
 
const Numeric & Cutoff() const
Return the cutoff frequency (in Hz).
 
Auxiliary data for isotopologues.
 
SpecIsoMap(const Index &speciesindex, const Index &isotopologueindex)
 
const Index & Ind_lsn() const
Return the index of the normalization factor.
 
const Index & HitranTag() const
HITRAN-96 tag numbers for all isotopologues.
 
void convHitranIERF(Numeric &mdf, const Index &df)
 
This can be used to make arrays out of anything.
 
void convMytranIER(Numeric &mdh, const Index &dh)
 
String mdescription
Short description.
 
void abs_h2oSet(Vector &abs_h2o, const ArrayOfArrayOfSpeciesTag &abs_species, const Matrix &abs_vmrs, const Verbosity &)
abs_h2oSet.
 
Numeric wavenumber_to_joule(Numeric e)
A little helper function to convert energy from units of wavenumber (cm^-1) to Joule (J).
 
ostream & operator<<(ostream &os, const LineshapeSpec &lsspec)
 
const ArrayOfMatrix & getParams() const
Return a constant reference to the parameters.
 
Numeric getParam(Index species, Index isotopologue, Index col) const
Get single parameter value.
 
void convHitranIERSH(Numeric &mdh, const Index &dh)
 
Declarations having to do with the four output streams.
 
SpeciesRecord()
Default constructor.
 
void initParams(Index nparams)
Resize according to builtin isotopologues in species data.
 
Numeric CalculatePartitionFctRatio(Numeric reference_temperature, Numeric actual_temperature) const
Calculate partition function ratio.
 
const Numeric & Abundance() const
Normal abundance ( = isotopologue ratio).
 
void define_species_map()
Define the species data map.
 
void SetInd_ls(Index ind_ls)
Set it.
 
LineMixingRecord class for storing line mixing data.
 
const ArrayOfIndex & JplTags() const
JPL tag numbers for all isotopologues.
 
void(* lsf_type)(Vector &, Vector &, Vector &, const Numeric, const Numeric, const Numeric, ConstVectorView)
The type that is used to store pointers to lineshape functions.
 
NUMERIC Numeric
The type to use for all floating point numbers.
 
const Index & Speciesindex() const
 
Implements the class MakeArray, which is a derived class of Array, allowing explicit initialization.
 
void SetCutoff(Numeric cutoff)
Set it.
 
void xsec_species_line_mixing_2nd_order(MatrixView xsec_attenuation, MatrixView xsec_phase, const ArrayOfArrayOfLineMixingRecord &line_mixing_data, const ArrayOfArrayOfIndex &line_mixing_data_lut, ConstVectorView f_grid, ConstVectorView abs_p, ConstVectorView abs_t, ConstMatrixView all_vmrs, const ArrayOfArrayOfSpeciesTag &abs_species, const Index this_species, const ArrayOfLineRecord &abs_lines, const Index ind_ls, const Index ind_lsn, const Numeric cutoff, const SpeciesAuxData &isotopologue_ratios, const Verbosity &verbosity)
This is the second order line mixing correction as presented by: Makarov, D.S, M.Yu.
 
Contains the lookup data for one species.
 
Lineshape related specification like which lineshape to use, the normalizationfactor,...
 
Numeric CalculatePartitionFctAtTempFromCoeff(Numeric temperature) const
 
A constant view of a Matrix.
 
Index mdegfr
Degrees of freedom.
 
String mname
Name of the function (e.g., Lorentz).
 
void(* lsnf_type)(Vector &, const Numeric, ConstVectorView, const Numeric)
The type that is used to store pointers to lineshape normalization functions.
 
const String & Name() const
Isotopologue name.
 
const Array< IsotopologueRecord > & Isotopologue() const
 
String mname
Species name.
 
const String & Name() const
Return the name of this lineshape.
 
void SetInd_lsn(Index ind_lsn)
Set it.
 
void xsec_species(MatrixView xsec_attenuation, MatrixView xsec_phase, ConstVectorView f_grid, ConstVectorView abs_p, ConstVectorView abs_t, ConstMatrixView all_vmrs, const ArrayOfArrayOfSpeciesTag &abs_species, const Index this_species, const ArrayOfLineRecord &abs_lines, const Index ind_ls, const Index ind_lsn, const Numeric cutoff, const SpeciesAuxData &isotopologue_ratios, const Verbosity &verbosity)
Calculate line absorption cross sections for one tag group.
 
Contains the lookup data for one isotopologue.
 
const Index & MytranTag() const
MYTRAN2 tag numbers for all isotopologues.
 
const String & Name() const
 
String mdescription
Short description.
 
void checkIsotopologueRatios(const ArrayOfArrayOfSpeciesTag &abs_species, const SpeciesAuxData &sad)
Check that isotopologue ratios for the given species are correctly defined.
 
LineshapeNormRecord()
Default constructor.
 
void setParam(Index species, Index isotopologue, Index col, Numeric v)
Set parameter.
 
LineshapeSpec(const Index &ind_ls, const Index &ind_lsn, const Numeric &cutoff)
Initializing constructor.
 
IsotopologueRecord()
Default constructor.
 
LineshapeSpec()
Default constructor.
 
String species_name_from_species_index(const Index spec_ind)
Return species name for given species index.
 
LineRecord class for managing line catalog data.
 
Explicit construction of Arrays.
 
void abs_n2Set(Vector &abs_n2, const ArrayOfArrayOfSpeciesTag &abs_species, const Matrix &abs_vmrs, const Verbosity &)
abs_n2Set.
 
INDEX Index
The type to use for all integer numbers and indices.
 
Numeric CalculatePartitionFctAtTempFromData(Numeric temperature) const
 
String mname
Name of the function (e.g., linear).
 
LineshapeRecord()
Default constructor.
 
SpeciesRecord(const char name[], const Index degfr, const MakeArray< IsotopologueRecord > &isotopologue)
The constructor used in define_species_data.
 
A constant view of a Vector.
 
Lineshape related normalization function information.
 
Index nelem() const
Number of elements.
 
This file contains the definition of String, the ARTS string class.
 
bool isContinuum() const
Check if isotopologue is actually a continuum.