PISM, A Parallel Ice Sheet Model 2.3.0-79cae578d committed by Constantine Khrulev on 2026-03-22
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
pism::TSDiagnostic Class Referenceabstract

PISM's scalar time-series diagnostics. More...

#include <Diagnostic.hh>

+ Inheritance diagram for pism::TSDiagnostic:

Public Types

typedef std::shared_ptr< TSDiagnosticPtr
 

Public Member Functions

 TSDiagnostic (std::shared_ptr< const Grid > g, const std::string &name)
 
virtual ~TSDiagnostic ()
 
void update (double t0, double t1)
 
void flush ()
 
void init (std::shared_ptr< OutputFile > output_file, std::shared_ptr< std::vector< double > > requested_times)
 
const VariableMetadatametadata () const
 

Protected Member Functions

virtual void update_impl (double t0, double t1)=0
 
virtual double compute ()=0
 
void set_units (const std::string &units, const std::string &output_units)
 

Protected Attributes

std::shared_ptr< const Gridm_grid
 the grid
 
std::shared_ptr< const Configm_config
 Configuration flags and parameters.
 
std::shared_ptr< units::Systemm_sys
 the unit system
 
VariableMetadata m_variable
 
std::vector< doublem_time
 
std::vector< doublem_bounds
 
std::vector< doublem_values
 
std::shared_ptr< std::vector< double > > m_requested_times
 requested times
 
unsigned int m_current_time
 index into m_times
 
std::shared_ptr< OutputFilem_output_file
 
unsigned int m_start
 starting index used when flushing the buffer
 
size_t m_buffer_size
 size of the buffer used to store data
 

Detailed Description

PISM's scalar time-series diagnostics.

Definition at line 277 of file Diagnostic.hh.


The documentation for this class was generated from the following files: