19 #ifndef PISM_SCALARFORCING_H
20 #define PISM_SCALARFORCING_H
41 const std::string &option_prefix,
42 const std::string &variable_name,
43 const std::string &units,
44 const std::string &output_units,
45 const std::string &long_name);
48 const std::string &filename,
49 const std::string &variable_name,
50 const std::string &units,
51 const std::string &output_units,
52 const std::string &long_name,
57 double value(
double t)
const;
59 double average(
double t,
double dt)
const;
67 const std::string &filename,
68 const std::string &variable_name,
69 const std::string &units,
70 const std::string &output_units,
71 const std::string &long_name,
74 double integral(
double a,
double b)
const;
ScalarForcing & operator=(const ScalarForcing &)
ScalarForcing(const ScalarForcing &other)
double average(double t, double dt) const
double value(double t) const
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)
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)
double integral(double a, double b) const