|
PISM, A Parallel Ice Sheet Model 2.3.0-79cae578d committed by Constantine Khrulev on 2026-03-22
|
#include <OutputWriter.hh>
Public Member Functions | |
| OutputFile (std::shared_ptr< OutputWriter > writer, const std::string &name) | |
| void | define_variable (const VariableMetadata &variable) const |
| void | set_global_attributes (const std::map< std::string, std::string > &strings, const std::map< std::string, std::vector< double > > &numbers) const |
| void | append_time (double time_seconds) const |
| void | append_history (const std::string &text) const |
| void | write_array (const std::string &variable_name, const std::vector< unsigned int > &start, const std::vector< unsigned int > &count, const std::vector< double > &input) const |
| void | write_distributed_array (const std::string &variable_name, const double *input) const |
| void | write_timeseries (const std::string &variable_name, const std::vector< unsigned int > &start, const std::vector< unsigned int > &count, const std::vector< double > &input) const |
| void | write_text (const std::string &variable_name, const std::vector< unsigned int > &start, const std::vector< unsigned int > &count, const std::string &input) const |
| void | append () |
| void | sync () |
| void | close () |
| unsigned int | time_dimension_length () const |
| double | last_time_value () const |
| const std::string & | name () const |
Private Attributes | |
| std::string | m_file_name |
| std::shared_ptr< OutputWriter > | m_writer |
Wrapper class used to make OutputWriter a bit easier to use.
See documentation of OutputWriter for details.
Does not open the file when created, allowing one to call append() to indicate that a file should not be over-written.
Definition at line 414 of file OutputWriter.hh.