ReFRACtor
FullPhysics::GasAbsorption Class Referenceabstract

This class determine the gaseous absorption coefficient for a given wave number, temperature and pressure. More...

#include <gas_absorption.h>

+ Inheritance diagram for FullPhysics::GasAbsorption:
+ Collaboration diagram for FullPhysics::GasAbsorption:

Public Member Functions

virtual ~GasAbsorption ()
 
virtual DoubleWithUnit absorption_cross_section (double Wn, const DoubleWithUnit &Press, const DoubleWithUnit &Temp, const DoubleWithUnit &Broadener_vmr) const =0
 This interpolates the ABSCO data to give absorption cross section for a given pressure, temperature, and broadener VMR. More...
 
virtual AutoDerivativeWithUnit< double > absorption_cross_section (double Wn, const DoubleWithUnit &Press, const AutoDerivativeWithUnit< double > &Temp, const AutoDerivativeWithUnit< double > &Broadener_vmr) const =0
 This interpolates the ABSCO data to give absorption cross section for a given pressure, temperature, and broadener VMR. More...
 
virtual std::string broadener_name () const =0
 For some tables, we might have a broadener (e.g., "h2o"). More...
 
virtual bool have_data (double wn) const =0
 Return true if we have data for the given wave number. More...
 
virtual void print (std::ostream &Os) const
 
std::string print_to_string () const
 Print to string. More...
 

Detailed Description

This class determine the gaseous absorption coefficient for a given wave number, temperature and pressure.

Definition at line 14 of file gas_absorption.h.

Constructor & Destructor Documentation

◆ ~GasAbsorption()

virtual FullPhysics::GasAbsorption::~GasAbsorption ( )
inlinevirtual

Definition at line 16 of file gas_absorption.h.

Member Function Documentation

◆ absorption_cross_section() [1/2]

virtual DoubleWithUnit FullPhysics::GasAbsorption::absorption_cross_section ( double  Wn,
const DoubleWithUnit Press,
const DoubleWithUnit Temp,
const DoubleWithUnit Broadener_vmr 
) const
pure virtual

This interpolates the ABSCO data to give absorption cross section for a given pressure, temperature, and broadener VMR.

Parameters
Wnwave number
PressPressure
TempTemperature
Broadener_vmrBroadner VMR (e.g., H2O VMR). Not all tables will make use of this information.
Returns
Absorption cross section in cm^2 / molecule

Implemented in FullPhysics::Absco.

◆ absorption_cross_section() [2/2]

virtual AutoDerivativeWithUnit<double> FullPhysics::GasAbsorption::absorption_cross_section ( double  Wn,
const DoubleWithUnit Press,
const AutoDerivativeWithUnit< double > &  Temp,
const AutoDerivativeWithUnit< double > &  Broadener_vmr 
) const
pure virtual

This interpolates the ABSCO data to give absorption cross section for a given pressure, temperature, and broadener VMR.

Parameters
Wnwave number
PressPressure
TempTemperature
Broadener_vmrBroadner VMR (e.g., H2O VMR). Not all tables will make use of this information.
Returns
Absorption cross section in cm^2 / molecule

Implemented in FullPhysics::Absco.

◆ broadener_name()

virtual std::string FullPhysics::GasAbsorption::broadener_name ( ) const
pure virtual

For some tables, we might have a broadener (e.g., "h2o").

This returns the name of the broadener, if any.

Implemented in FullPhysics::Absco, and FullPhysics::AbscoHdf.

◆ have_data()

virtual bool FullPhysics::GasAbsorption::have_data ( double  wn) const
pure virtual

Return true if we have data for the given wave number.

A particular gas might not have absorption coefficients for all spectral bands, e.g., ABSCO tables.

Implemented in FullPhysics::AbscoHdf.

◆ print()

virtual void FullPhysics::GasAbsorption::print ( std::ostream &  Os) const
inlinevirtual

Reimplemented in FullPhysics::AbscoHdf.

Definition at line 68 of file gas_absorption.h.

◆ print_to_string()

std::string FullPhysics::Printable< GasAbsorption >::print_to_string ( ) const
inlineinherited

Print to string.

This is primarily useful for SWIG wrappers to this class, e.g. a to_s method in ruby.

Definition at line 31 of file printable.h.


The documentation for this class was generated from the following file:

Copyright © 2017, California Institute of Technology.
ALL RIGHTS RESERVED.
U.S. Government Sponsorship acknowledged.
Generated Fri Aug 24 2018 15:44:12