ReFRACtor
temperature_fixed_level_output.cc
Go to the documentation of this file.
2 
3 using namespace FullPhysics;
4 
5 #ifdef HAVE_LUA
6 #include "register_lua.h"
7 // Lua doesn't know to cast a pointer type of base class to a derived class.
8 // Add a conversion routine.
11 {
14  (boost::dynamic_pointer_cast<TemperatureFixedLevel>(T)));
15 }
17 .scope
18 [
19  luabind::def("create", &temp_fixed_create)
20 ]
22 #endif
23 
24 // See base class for description
25 
27 {
28  // Freeze the temperature state
30  boost::dynamic_pointer_cast<TemperatureFixedLevel>(t->clone());
31  out->register_data_source("/RetrievalResults/temperature_offset_apriori_fph",
33 }
34 
36 {
37  out->register_data_source("/RetrievalResults/temperature_offset_fph",
39  out->register_data_source("/RetrievalResults/temperature_offset_uncert_fph",
41 }
42 
double temperature_offset() const
Temperature offset.
double temperature_offset_uncertainty() const
Uncertainty of temperature offset.
virtual void register_output(const boost::shared_ptr< Output > &out) const
Register portions of class that will be written to output.
#define REGISTER_LUA_DERIVED_CLASS(X, Y)
Definition: register_lua.h:136
This class maintains the temperature portion of the state.
As described in the Output class, we have a decentralized model of producing output for L2 Full Physi...
Contains classes to abstract away details in various Spurr Radiative Transfer software.
Definition: doxygen_python.h:1
#define REGISTER_LUA_END()
Definition: register_lua.h:134
def(luabind::constructor< int >()) .def("rows"
virtual void register_output_apriori(const boost::shared_ptr< Output > &out) const
Register apriori portions of class.
This registers the portions of the TemperatureFixedLevel class that should be written as output...

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