ReFRACtor
gas_vmr_apriori_output.cc
Go to the documentation of this file.
2 
3 using namespace FullPhysics;
4 using namespace blitz;
5 
6 #ifdef HAVE_LUA
7 #include "register_lua.h"
8 
10 .def(luabind::constructor<const boost::shared_ptr<GasVmrApriori>&>())
12 #endif
13 
15 {
16  return ga->tropopause_altitude().convert(units::m).value;
17 }
18 
20 {
21  return ga->tropopause_pressure();
22 }
23 
25 {
26 }
27 
29 {
30  { boost::function<double ()> f = boost::bind(&tropopause_altitude, gas_apriori);
31  out->register_data_source("/RetrievalResults/tropopause_altitude", f); }
32 
33  { boost::function<double ()> f = boost::bind(&tropopause_pressure, gas_apriori);
34  out->register_data_source("/RetrievalResults/tropopause_pressure", f); }
35 }
#define REGISTER_LUA_DERIVED_CLASS(X, Y)
Definition: register_lua.h:136
double tropopause_pressure(const boost::shared_ptr< GasVmrApriori > &ga)
Apply value function to a blitz array.
const Unit m("m", 1.0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
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
virtual void register_output(const boost::shared_ptr< Output > &out) const
Register portions of class that will be written to output.
virtual void register_output_apriori(const boost::shared_ptr< Output > &out) const
Register apriori portions of class.
This registers the portions of the GasVmrApriori class that should be written as output.
double tropopause_altitude(const boost::shared_ptr< GasVmrApriori > &ga)

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