|
PISM, A Parallel Ice Sheet Model 2.2.2-d6b3a29ca committed by Constantine Khrulev on 2025-03-28
|
#include <ScalarForcing.hh>
Classes | |
| struct | Impl |
Public Member Functions | |
| ScalarForcing (const Context &ctx, const std::string &option_prefix, const std::string &variable_name, const std::string &units, const std::string &output_units, const std::string &long_name) | |
| ScalarForcing (const Context &ctx, const std::string &filename, const std::string &variable_name, const std::string &units, const std::string &output_units, const std::string &long_name, bool periodic) | |
| ~ScalarForcing () | |
| double | value (double t) const |
| double | average (double t, double dt) const |
Private Member Functions | |
| ScalarForcing (const ScalarForcing &other) | |
| ScalarForcing & | operator= (const ScalarForcing &) |
| void | initialize (const Context &ctx, const std::string &filename, const std::string &variable_name, const std::string &units, const std::string &output_units, const std::string &long_name, bool periodic) |
| double | integral (double a, double b) const |
Private Attributes | |
| Impl * | m_impl |
This class helps with loading and using scalar forcings such as scalar temperature offsets.
It processes command-line options, reads data from a file, and gets data corresponding to a time interval [t, t+dt].
Definition at line 38 of file ScalarForcing.hh.