1 #ifndef OUTPUT_HDF_ITERATION_H 2 #define OUTPUT_HDF_ITERATION_H 11 class OutputHdfIterationHelperBase {
13 virtual ~OutputHdfIterationHelperBase() {}
14 virtual void write() = 0;
32 const std::string& Iteration_group =
"Iteration")
33 :h(H), iteration_group(Iteration_group) {}
36 virtual void print(std::ostream& Os)
const {Os <<
"OutputHdfIteration";}
41 template<
class T>
void write_data_t(
const std::string& Dataset_name,
43 template<
class T,
int D>
void write_data_t(
const std::string& Dataset_name,
44 const blitz::Array<T, D>& Val);
48 std::map<std::string, boost::shared_ptr<OutputHdfIterationHelperBase> >
50 std::string iteration_group;
virtual ~OutputHdfIteration()
virtual void notify_update(const ConnorSolver &Solver)
Called when the Observed object is updated.
OutputHdfIteration(const boost::shared_ptr< HdfFileGenerating > &H, const std::string &Iteration_group="Iteration")
This write the output of the Level 2 Full physics.
Most of the time the write_data needed by Output is best done through a template. ...
virtual void end_because_of_error()
Notify when an error occurred.
Contains classes to abstract away details in various Spurr Radiative Transfer software.
virtual void print(std::ostream &Os) const
Simple Mixin to be and Observer of another object of class T.