ReFRACtor
connor_convergence_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<ConnorConvergence>(C)));
15 }
17 .def(luabind::constructor<const boost::shared_ptr<ConnorConvergence>& >())
18 .scope
19 [
20  luabind::def("create", &conn_conv_create)
21 ]
23 #endif
24 
25 // See base class for description
26 
28 {
29  out->register_data_source("/Metadata/RetrievalIterationLimit",
31  conv);
32 }
33 
#define REGISTER_LUA_DERIVED_CLASS(X, Y)
Definition: register_lua.h:136
virtual void register_output(const boost::shared_ptr< Output > &out) const
Register portions of class that will be written to output.
This registers the portions of the ConnorConvergence class that should be written as output...
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"

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