ReFRACtor
surface_temperature_direct.h
Go to the documentation of this file.
1 #ifndef SURFACE_TEMPERATURE_DIRECT_H
2 #define SURFACE_TEMPERATURE_DIRECT_H
3 
4 #include "surface_temperature.h"
6 #include "double_with_unit.h"
8 
9 namespace FullPhysics {
10 /****************************************************************/
14 class SurfaceTemperatureDirect : public SubStateVectorArray<SurfaceTemperature> {
15 public:
16  SurfaceTemperatureDirect(const ArrayWithUnit<double, 1>& surf_temp, blitz::Array<bool, 1> flag);
18 
19  //-----------------------------------------------------------------------
23  //-----------------------------------------------------------------------
24 
25  virtual AutoDerivativeWithUnit<double> surface_temperature(int channel_index) const;
27 
28  std::string state_vector_name_i(int i) const;
29 
30 private:
31  Unit units;
32 };
33 }
34 #endif
virtual boost::shared_ptr< SurfaceTemperature > clone() const
Clone a SurfaceTemperature object.
This is a AutoDerivative that also has units associated with it.
std::string state_vector_name_i(int i) const
Return state vector name for ith entry in coeff.
Implements a direct representation of the surface temperature in the atmospheric state from the suppl...
Libraries such as boost::units allow unit handling where we know the units at compile time...
Definition: unit.h:25
SurfaceTemperatureDirect(const ArrayWithUnit< double, 1 > &surf_temp, blitz::Array< bool, 1 > flag)
It is common to have a class that is an Observable with a set of coefficients, a subset of which are ...
Contains classes to abstract away details in various Spurr Radiative Transfer software.
Definition: doxygen_python.h:1
virtual AutoDerivativeWithUnit< double > surface_temperature(int channel_index) const
Return the temperature of the surface.

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