|
| OutputHdfIteration (const boost::shared_ptr< HdfFileGenerating > &H, const std::string &Iteration_group="Iteration") |
|
virtual | ~OutputHdfIteration () |
|
void | close () |
|
virtual void | notify_add (ConnorSolver &Observed_object) |
| Called when an object is added to an Observable. More...
|
|
virtual void | notify_add () |
|
virtual void | notify_remove (ConnorSolver &Observed_object) |
| Called when an object is removed from an Observable. More...
|
|
virtual void | notify_remove () |
|
virtual void | notify_update (const ConnorSolver &Solver) |
| Called when the Observed object is updated. More...
|
|
virtual void | print (std::ostream &Os) const |
|
std::string | print_to_string () const |
| Print to string. More...
|
|
template<class S , class T , int D> |
void | register_data_source (const std::string &Dataset_name, blitz::Array< T, D >(S::*Pmf)() const, const boost::shared_ptr< S > &Src) |
| A common way to supply the metadata source is with a shared_ptr to an object, and a pointer to a member function. More...
|
|
template<class S , class T > |
void | register_data_source (const std::string &Dataset_name, T(S::*Pmf)() const, const boost::shared_ptr< S > &Src) |
| A common way to supply the metadata source is with a shared_ptr to an object, and a pointer to a member function. More...
|
|
template<class T , int D> |
void | register_data_source (const std::string &Dataset_name, const blitz::Array< T, D > &Val) |
| Handling for when data is constant. More...
|
|
template<class T > |
void | register_data_source (const std::string &Dataset_name, const T &Val) |
| Handling for when data is constant. More...
|
|
template<class T > |
void | register_data_source (const std::string &Dataset_name, boost::function< T > f) |
| Most general way to enter a Data source. More...
|
|
template<class S , class T > |
void | register_data_source_pad (const std::string &Dataset_name, blitz::Array< T, 1 >(S::*Pmf)() const, const boost::shared_ptr< S > &Src, int Full_size, T Fill_value) |
| There are several fields that are generated on the active levels only. More...
|
|
template<class S , class T > |
void | register_data_source_pad (const std::string &Dataset_name, blitz::Array< T, 2 >(S::*Pmf)() const, const boost::shared_ptr< S > &Src, int Full_size, T Fill_value) |
|
void | write () |
| Write out file. More...
|
|
void | write_best_attempt () |
| Write out the file, making a best attempt but ignoring all errors. More...
|
|
|
virtual void | end_because_of_error () |
| Notify when an error occurred. More...
|
|
virtual void | end_write () |
| Notify when we are done. More...
|
|
virtual void | start_write () |
| Notify derived class that we are starting to write data. More...
|
|
virtual void | write_data (const std::string &Dataset_name, int Val) |
| Various write functions that derived classes. More...
|
|
virtual void | write_data (const std::string &Dataset_name, int64_t Val) |
|
virtual void | write_data (const std::string &Dataset_name, double Val) |
|
virtual void | write_data (const std::string &Dataset_name, const std::string &Val) |
|
virtual void | write_data (const std::string &Dataset_name, const char *Val) |
|
virtual void | write_data (const std::string &Dataset_name, const blitz::Array< int, 1 > &Val) |
|
virtual void | write_data (const std::string &Dataset_name, const blitz::Array< std::string, 1 > &Val) |
|
virtual void | write_data (const std::string &Dataset_name, const blitz::Array< const char *, 1 > &Val) |
|
virtual void | write_data (const std::string &Dataset_name, const blitz::Array< double, 1 > &Val) |
|
virtual void | write_data (const std::string &Dataset_name, const blitz::Array< int, 2 > &Val) |
|
virtual void | write_data (const std::string &Dataset_name, const blitz::Array< std::string, 2 > &Val) |
|
virtual void | write_data (const std::string &Dataset_name, const blitz::Array< const char *, 2 > &Val) |
|
virtual void | write_data (const std::string &Dataset_name, const blitz::Array< double, 2 > &Val) |
|
virtual void | write_data (const std::string &Dataset_name, const blitz::Array< int, 3 > &Val) |
|
virtual void | write_data (const std::string &Dataset_name, const blitz::Array< std::string, 3 > &Val) |
|
virtual void | write_data (const std::string &Dataset_name, const blitz::Array< const char *, 3 > &Val) |
|
virtual void | write_data (const std::string &Dataset_name, const blitz::Array< double, 3 > &Val) |
|
template<class T > |
void | write_data_t (const std::string &Dataset_name, T Val) |
|
template<class T , int D> |
void | write_data_t (const std::string &Dataset_name, const blitz::Array< T, D > &Val) |
|
This write the output of the Level 2 Full physics.
This particular implementation writes out a HDF5 file.
This class handles writing iteration output. Note that this only handles the iteration output, normally you would combine this with OutputHdf to get both the iteration output and final results.
Definition at line 28 of file output_hdf_iteration.h.
template<class S , class T , int D>
void FullPhysics::Output::register_data_source |
( |
const std::string & |
Dataset_name, |
|
|
blitz::Array< T, D >(S::*)() const |
Pmf, |
|
|
const boost::shared_ptr< S > & |
Src |
|
) |
| |
|
inlineinherited |
A common way to supply the metadata source is with a shared_ptr to an object, and a pointer to a member function.
This supplies a simplified interface to this.
Definition at line 114 of file output.h.
template<class S , class T >
void FullPhysics::Output::register_data_source |
( |
const std::string & |
Dataset_name, |
|
|
T(S::*)() const |
Pmf, |
|
|
const boost::shared_ptr< S > & |
Src |
|
) |
| |
|
inlineinherited |
A common way to supply the metadata source is with a shared_ptr to an object, and a pointer to a member function.
This supplies a simplified interface to this.
Definition at line 162 of file output.h.
template<class S , class T >
void FullPhysics::Output::register_data_source_pad |
( |
const std::string & |
Dataset_name, |
|
|
blitz::Array< T, 1 >(S::*)() const |
Pmf, |
|
|
const boost::shared_ptr< S > & |
Src, |
|
|
int |
Full_size, |
|
|
T |
Fill_value |
|
) |
| |
|
inlineinherited |
There are several fields that are generated on the active levels only.
For output, we want to pad this to the full number of levels. This utility routine will pad the given size using the given fill value.
Definition at line 130 of file output.h.
void Output::write_best_attempt |
( |
| ) |
|
|
inherited |
Write out the file, making a best attempt but ignoring all errors.
This may result in a file that is missing fields that had an error when writing or collecting the data. This is intended for use by an error dump, when we want to get whatever we can.
Definition at line 86 of file output.cc.