Canoe
Comprehensive Atmosphere N' Ocean Engine
O2O2CIA Class Reference

#include <oxygen_cia.hpp>

Inheritance diagram for O2O2CIA:
[legend]

Public Member Functions

 O2O2CIA ()
 
virtual ~O2O2CIA ()
 
void LoadCoefficient (std::string fname, size_t bid) override
 Load absorption coefficient from file. More...
 
Real GetAttenuation (Real wave1, Real wave2, AirParcel const &var) const override
 Get attenuation coefficient [1/m]. More...
 
- Public Member Functions inherited from Absorber
 Absorber (std::string name)
 
virtual ~Absorber ()
 
void SetModel (std::string name)
 Set absorption model. More...
 
void LoadOpacityFromFile (std::string filename)
 Combines SetOpacityFile() and LoadOpacity() More...
 
void SetOpacityFile (std::string filename)
 Set opacity filename to internal variable, does not load opacity. More...
 
void LoadOpacity ()
 Load opacity from internal variable. More...
 
virtual Real GetSingleScatteringAlbedo (Real wave1, Real wave2, AirParcel const &var) const
 Get single scattering albedo [1]. More...
 
virtual void GetPhaseMomentum (Real *pp, Real wave1, Real wave2, AirParcel const &var, int np) const
 Get phase function [1]. More...
 
- Public Member Functions inherited from NamedGroup
 NamedGroup (std::string name)
 
virtual ~NamedGroup ()
 
std::string GetName () const
 
- Public Member Functions inherited from ParameterGroup
virtual ~ParameterGroup ()
 
void SetRealsFrom (YAML::Node const &node)
 
void SetPar (std::string const &name, Real value)
 Set real parameter. More...
 
void SetPar (std::string const &name, int value)
 Set int parameter. More...
 
void SetPar (std::string const &name, std::string const &value)
 Set string parameter. More...
 
template<typename T >
GetPar (std::string const &name) const
 Get parameter. More...
 
bool HasPar (std::string const &name) const
 Check if a parameter exists. More...
 
template<>
int GetPar (std::string const &name) const
 
template<>
Real GetPar (std::string const &name) const
 
- Public Member Functions inherited from SpeciesIndexGroup
virtual ~SpeciesIndexGroup ()
 
void SetSpeciesIndex (std::vector< std::string > const &species_names)
 Set species index based on species names. More...
 
std::vector< int > const & GetSpeciesIndexArray () const
 
int GetSpeciesIndex (int n) const
 
std::vector< int > const & GetCloudIndexArray () const
 
int GetCloudIndex (int n) const
 
std::vector< int > const & GetChemistryIndexArray () const
 
int GetChemistryIndex (int n) const
 
- Public Member Functions inherited from CheckGroup
virtual ~CheckGroup ()
 
virtual void CheckFail () const
 This function fails if the check fails. More...
 
virtual bool CheckWarn () const
 

Protected Member Functions

Real getAttenuation1 (Real wave, AirParcel const &var) const
 

Protected Attributes

size_t fd_len_ [2]
 
size_t a1dg_x3sg00_len_ [2]
 
size_t a1dg_x3sg10_len_ [2]
 
size_t ab_len_ [2]
 
size_t other_len_ [2]
 
std::vector< Real > fd_axis_
 
std::vector< Real > a1dg_x3sg00_axis_
 
std::vector< Real > a1dg_x3sg10_axis_
 
std::vector< Real > ab_axis_
 
std::vector< Real > other_axis_
 
std::vector< Real > fd_
 
std::vector< Real > a1dg_x3sg00_
 
std::vector< Real > a1dg_x3sg10_
 
std::vector< Real > ab_
 
std::vector< Real > other_
 
- Protected Attributes inherited from Absorber
std::string model_name_
 absorption model model More...
 
std::string opacity_filename_
 opacity filename More...
 

Detailed Description

Definition at line 10 of file oxygen_cia.hpp.

Constructor & Destructor Documentation

◆ O2O2CIA()

O2O2CIA::O2O2CIA ( )
inline

Definition at line 12 of file oxygen_cia.hpp.

◆ ~O2O2CIA()

virtual O2O2CIA::~O2O2CIA ( )
inlinevirtual

Definition at line 14 of file oxygen_cia.hpp.

Member Function Documentation

◆ LoadCoefficient()

void O2O2CIA::LoadCoefficient ( std::string  fname,
size_t  bid 
)
overridevirtual

Load absorption coefficient from file.

Reimplemented from Absorber.

Definition at line 33 of file oxygen_cia.cpp.

◆ GetAttenuation()

Real O2O2CIA::GetAttenuation ( Real  wave1,
Real  wave2,
AirParcel const &  var 
) const
inlineoverridevirtual

Get attenuation coefficient [1/m].

Reimplemented from Absorber.

Definition at line 18 of file oxygen_cia.hpp.

◆ getAttenuation1()

Real O2O2CIA::getAttenuation1 ( Real  wave,
AirParcel const &  var 
) const
protected

Definition at line 148 of file oxygen_cia.cpp.

Member Data Documentation

◆ fd_len_

size_t O2O2CIA::fd_len_[2]
protected

Definition at line 26 of file oxygen_cia.hpp.

◆ a1dg_x3sg00_len_

size_t O2O2CIA::a1dg_x3sg00_len_[2]
protected

Definition at line 27 of file oxygen_cia.hpp.

◆ a1dg_x3sg10_len_

size_t O2O2CIA::a1dg_x3sg10_len_[2]
protected

Definition at line 28 of file oxygen_cia.hpp.

◆ ab_len_

size_t O2O2CIA::ab_len_[2]
protected

Definition at line 29 of file oxygen_cia.hpp.

◆ other_len_

size_t O2O2CIA::other_len_[2]
protected

Definition at line 30 of file oxygen_cia.hpp.

◆ fd_axis_

std::vector<Real> O2O2CIA::fd_axis_
protected

Definition at line 32 of file oxygen_cia.hpp.

◆ a1dg_x3sg00_axis_

std::vector<Real> O2O2CIA::a1dg_x3sg00_axis_
protected

Definition at line 33 of file oxygen_cia.hpp.

◆ a1dg_x3sg10_axis_

std::vector<Real> O2O2CIA::a1dg_x3sg10_axis_
protected

Definition at line 34 of file oxygen_cia.hpp.

◆ ab_axis_

std::vector<Real> O2O2CIA::ab_axis_
protected

Definition at line 35 of file oxygen_cia.hpp.

◆ other_axis_

std::vector<Real> O2O2CIA::other_axis_
protected

Definition at line 36 of file oxygen_cia.hpp.

◆ fd_

std::vector<Real> O2O2CIA::fd_
protected

Definition at line 37 of file oxygen_cia.hpp.

◆ a1dg_x3sg00_

std::vector<Real> O2O2CIA::a1dg_x3sg00_
protected

Definition at line 38 of file oxygen_cia.hpp.

◆ a1dg_x3sg10_

std::vector<Real> O2O2CIA::a1dg_x3sg10_
protected

Definition at line 39 of file oxygen_cia.hpp.

◆ ab_

std::vector<Real> O2O2CIA::ab_
protected

Definition at line 40 of file oxygen_cia.hpp.

◆ other_

std::vector<Real> O2O2CIA::other_
protected

Definition at line 41 of file oxygen_cia.hpp.


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