ReFRACtor
state_vector_output.cc
Go to the documentation of this file.
1 #include "state_vector_output.h"
2 
3 using namespace FullPhysics;
4 
5 #ifdef HAVE_LUA
6 #include "register_lua.h"
8 .def(luabind::constructor<const boost::shared_ptr<StateVector>& >())
10 #endif
11 
12 // See base class for description
14 {
15  blitz::Array<double, 1> initial_sv = sv->state().copy();
16  out->register_data_source("/RetrievedStateVector/state_vector_initial", initial_sv);
17 }
18 
20 {
21  out->register_data_source("/RetrievedStateVector/state_vector_names",
23 }
24 
blitz::Array< std::string, 1 > state_vector_name() const
Return name of each state vector element.
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 registers the portions of the StateVector 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...
virtual void register_output_apriori(const boost::shared_ptr< Output > &out) const
Register apriori portions of class.
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

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