PISM, A Parallel Ice Sheet Model  stable v2.1-1-g6902d5502 committed by Ed Bueler on 2023-12-20 08:38:27 -0800
Public Member Functions | Protected Member Functions | Private Attributes | List of all members
pism::surface::diagnostics::SurfaceRunoff Class Reference

Report surface runoff, averaged over the reporting interval. More...

+ Inheritance diagram for pism::surface::diagnostics::SurfaceRunoff:

Public Member Functions

 SurfaceRunoff (const SurfaceModel *m, AmountKind kind)
 
- Public Member Functions inherited from pism::DiagAverageRate< SurfaceModel >
 DiagAverageRate (const SurfaceModel *m, const std::string &name, InputKind kind)
 
- Public Member Functions inherited from pism::Diag< SurfaceModel >
 Diag (const SurfaceModel *m)
 
- Public Member Functions inherited from pism::Diagnostic
 Diagnostic (std::shared_ptr< const Grid > g)
 
virtual ~Diagnostic ()=default
 
void update (double dt)
 
void reset ()
 
std::shared_ptr< array::Arraycompute () const
 Compute a diagnostic quantity and return a pointer to a newly-allocated Array. More...
 
unsigned int n_variables () const
 Get the number of NetCDF variables corresponding to a diagnostic quantity. More...
 
SpatialVariableMetadatametadata (unsigned int N=0)
 Get a metadata object corresponding to variable number N. More...
 
void define (const File &file, io::Type default_type) const
 
void init (const File &input, unsigned int time)
 
void define_state (const File &output) const
 
void write_state (const File &output) const
 

Protected Member Functions

const array::Scalarmodel_input ()
 
- Protected Member Functions inherited from pism::DiagAverageRate< SurfaceModel >
void init_impl (const File &input, unsigned int time)
 
void define_state_impl (const File &output) const
 
void write_state_impl (const File &output) const
 
virtual void update_impl (double dt)
 
virtual void reset_impl ()
 
virtual std::shared_ptr< array::Arraycompute_impl () const
 
- Protected Member Functions inherited from pism::Diagnostic
virtual void define_impl (const File &file, io::Type default_type) const
 Define NetCDF variables corresponding to a diagnostic quantity. More...
 
double to_internal (double x) const
 
double to_external (double x) const
 
template<typename T >
std::shared_ptr< T > allocate (const std::string &name) const
 

Private Attributes

AmountKind m_kind
 
array::Scalar m_runoff_mass
 

Additional Inherited Members

- Public Types inherited from pism::DiagAverageRate< SurfaceModel >
enum  InputKind
 
- Public Types inherited from pism::Diagnostic
typedef std::shared_ptr< DiagnosticPtr
 
- Static Public Member Functions inherited from pism::Diagnostic
template<typename T >
static Ptr wrap (const T &input)
 
- Protected Attributes inherited from pism::DiagAverageRate< SurfaceModel >
double m_factor
 
InputKind m_input_kind
 
array::Scalar m_accumulator
 
double m_interval_length
 
VariableMetadata m_time_since_reset
 
- Protected Attributes inherited from pism::Diag< SurfaceModel >
const SurfaceModel * model
 
- Protected Attributes inherited from pism::Diagnostic
std::shared_ptr< const Gridm_grid
 the grid More...
 
const units::System::Ptr m_sys
 the unit system More...
 
const Config::ConstPtr m_config
 Configuration flags and parameters. More...
 
std::vector< SpatialVariableMetadatam_vars
 metadata corresponding to NetCDF variables More...
 
double m_fill_value
 fill value (used often enough to justify storing it) More...
 

Detailed Description

Report surface runoff, averaged over the reporting interval.

Definition at line 600 of file SurfaceModel.cc.


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