ReFRACtor
|
This class contains various constants. More...
#include <constant.h>
Public Member Functions | |
virtual | ~Constant () |
virtual DoubleWithUnit | avogadro_constant () const =0 |
Avogadro constant. More... | |
virtual DoubleWithUnit | molar_weight_dry_air () const =0 |
Molar weight of dry air. More... | |
virtual DoubleWithUnit | molar_weight_water () const =0 |
Molar weight of water. More... | |
virtual void | print (std::ostream &Os) const =0 |
std::string | print_to_string () const |
Print to string. More... | |
virtual DoubleWithUnit | rayleigh_a () const =0 |
Rayleigh "a" value. More... | |
virtual DoubleWithUnit | rayleigh_b () const =0 |
Rayleigh "b" value. More... | |
virtual double | rayleigh_depolarization_factor () const =0 |
Rayleigh depolarization factor. More... | |
virtual boost::array< double, 7 > | solar_distance_param () const =0 |
The polynomial used to find the distance to the sun. More... | |
This class contains various constants.
We have this in a separate class rather than just having a header of constants so that we can replace these constants. In particular, some of the constants depend on the planet we are working on (e.g., Venus).
Definition at line 11 of file constant.h.
|
inlinevirtual |
Definition at line 13 of file constant.h.
|
pure virtual |
Avogadro constant.
Implemented in FullPhysics::DefaultConstant, and FullPhysics::HdfConstant.
|
pure virtual |
Molar weight of dry air.
Implemented in FullPhysics::DefaultConstant, and FullPhysics::HdfConstant.
|
pure virtual |
Molar weight of water.
Implemented in FullPhysics::DefaultConstant, and FullPhysics::HdfConstant.
|
pure virtual |
Implemented in FullPhysics::HdfConstant, and FullPhysics::DefaultConstant.
|
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.
|
pure virtual |
Rayleigh "a" value.
This along with "b" are the wavelength dependence coefficients for the refractive index.
Implemented in FullPhysics::HdfConstant, and FullPhysics::DefaultConstant.
|
pure virtual |
Rayleigh "b" value.
This along with "a" are the wavelength dependence coefficients for the refractive index.
Implemented in FullPhysics::HdfConstant, and FullPhysics::DefaultConstant.
|
pure virtual |
Rayleigh depolarization factor.
Implemented in FullPhysics::HdfConstant, and FullPhysics::DefaultConstant.
|
pure virtual |
The polynomial used to find the distance to the sun.
Implemented in FullPhysics::DefaultConstant, and FullPhysics::HdfConstant.