Canoe
Comprehensive Atmosphere N' Ocean Engine
FreedmanMean2 Class Reference

#include <freedman.hpp>

Inheritance diagram for FreedmanMean2:
[legend]

Public Member Functions

 FreedmanMean2 ()
 
virtual ~FreedmanMean2 ()
 
Real GetAttenuation (Real wave1, Real wave2, AirParcel const &var) const
 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 void LoadCoefficient (std::string fname, size_t bid)
 Load absorption coefficient from file. 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
 

Static Public Attributes

static const Real c1 = 10.602
 
static const Real c2 = 2.882
 
static const Real c3 = 6.09e-15
 
static const Real c4 = 2.954
 
static const Real c5 = -2.526
 
static const Real c6 = 0.843
 
static const Real c7 = -5.490
 
static const Real c13 = 0.8321
 

Additional Inherited Members

- 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 23 of file freedman.hpp.

Constructor & Destructor Documentation

◆ FreedmanMean2()

FreedmanMean2::FreedmanMean2 ( )
inline

Definition at line 27 of file freedman.hpp.

◆ ~FreedmanMean2()

virtual FreedmanMean2::~FreedmanMean2 ( )
inlinevirtual

Definition at line 28 of file freedman.hpp.

Member Function Documentation

◆ GetAttenuation()

Real FreedmanMean2::GetAttenuation ( Real  wave1,
Real  wave2,
AirParcel const &  var 
) const
virtual

Get attenuation coefficient [1/m].

Reimplemented from Absorber.

Definition at line 34 of file freedman_mean2.cpp.

Member Data Documentation

◆ c1

const Real FreedmanMean2::c1 = 10.602
static

Definition at line 25 of file freedman.hpp.

◆ c2

const Real FreedmanMean2::c2 = 2.882
static

Definition at line 25 of file freedman.hpp.

◆ c3

const Real FreedmanMean2::c3 = 6.09e-15
static

Definition at line 25 of file freedman.hpp.

◆ c4

const Real FreedmanMean2::c4 = 2.954
static

Definition at line 25 of file freedman.hpp.

◆ c5

const Real FreedmanMean2::c5 = -2.526
static

Definition at line 25 of file freedman.hpp.

◆ c6

const Real FreedmanMean2::c6 = 0.843
static

Definition at line 25 of file freedman.hpp.

◆ c7

const Real FreedmanMean2::c7 = -5.490
static

Definition at line 25 of file freedman.hpp.

◆ c13

const Real FreedmanMean2::c13 = 0.8321
static

Definition at line 25 of file freedman.hpp.


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