ReFRACtor
|
This class calculates the Rayleigh portion of the optical depth. More...
#include <rayleigh.h>
Public Member Functions | |
Rayleigh (const boost::shared_ptr< Pressure > &Pres, const std::vector< boost::shared_ptr< Altitude > > &Alt, const Constant &C) | |
Constructor. More... | |
virtual void | notify_add (Altitude &Observed_object) |
Called when an object is added to an Observable. More... | |
virtual void | notify_add (Pressure &Observed_object) |
Called when an object is added to an Observable. More... | |
virtual void | notify_add () |
virtual void | notify_add () |
virtual void | notify_remove (Pressure &Observed_object) |
Called when an object is removed from an Observable. More... | |
virtual void | notify_remove (Altitude &Observed_object) |
Called when an object is removed from an Observable. More... | |
virtual void | notify_remove () |
virtual void | notify_remove () |
virtual void | notify_update (const Pressure &P) |
Called when the Observed object is updated. More... | |
virtual void | notify_update (const Altitude &A) |
Called when the Observed object is updated. More... | |
ArrayAd< double, 1 > | optical_depth_each_layer (double wn, int spec_index) const |
This gives the optical depth for each layer, for the given wave number. More... | |
virtual void | print (std::ostream &Os) const |
std::string | print_to_string () const |
Print to string. More... | |
Static Public Member Functions | |
static DoubleWithUnit | cross_section (const DoubleWithUnit &W, const Constant &C=DefaultConstant()) |
Calculate the rayleigh cross section for the given wavenumber/wavelength. More... | |
This class calculates the Rayleigh portion of the optical depth.
Definition at line 13 of file rayleigh.h.
Rayleigh::Rayleigh | ( | const boost::shared_ptr< Pressure > & | Pres, |
const std::vector< boost::shared_ptr< Altitude > > & | Alt, | ||
const Constant & | C | ||
) |
Constructor.
Definition at line 20 of file rayleigh.cc.
|
static |
Calculate the rayleigh cross section for the given wavenumber/wavelength.
Definition at line 39 of file rayleigh.cc.
|
inlinevirtualinherited |
Called when an object is added to an Observable.
Default is to do nothing.
Definition at line 47 of file observer.h.
|
inlinevirtualinherited |
Called when an object is added to an Observable.
Default is to do nothing.
Definition at line 47 of file observer.h.
|
inlinevirtualinherited |
Definition at line 48 of file observer.h.
|
inlinevirtualinherited |
Definition at line 48 of file observer.h.
|
inlinevirtualinherited |
Called when an object is removed from an Observable.
Default is to do nothing.
Definition at line 55 of file observer.h.
|
inlinevirtualinherited |
Called when an object is removed from an Observable.
Default is to do nothing.
Definition at line 55 of file observer.h.
|
inlinevirtualinherited |
Definition at line 56 of file observer.h.
|
inlinevirtualinherited |
Definition at line 56 of file observer.h.
|
inlinevirtual |
Called when the Observed object is updated.
Reimplemented from FullPhysics::Observer< Pressure >.
Definition at line 20 of file rayleigh.h.
|
inlinevirtual |
Called when the Observed object is updated.
Reimplemented from FullPhysics::Observer< Altitude >.
Definition at line 22 of file rayleigh.h.
ArrayAd< double, 1 > Rayleigh::optical_depth_each_layer | ( | double | wn, |
int | spec_index | ||
) | const |
This gives the optical depth for each layer, for the given wave number.
Note this only includes the Rayleigh portion of this, Atmosphere class combines this with Absorbers and Aerosol scattering.
This has size of pres->number_active_layer().
Definition at line 64 of file rayleigh.cc.
|
inlinevirtual |
Definition at line 28 of file rayleigh.h.
|
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.