19 #include "pism/basalstrength/ConstantYieldStress.hh"
21 #include "pism/util/ConfigInterface.hh"
22 #include "pism/util/Grid.hh"
23 #include "pism/util/MaxTimestep.hh"
30 m_name =
"constant yield stress model";
43 double tauc =
m_config->get_number(
"basal_yield_stress.constant.value");
52 double tauc =
m_config->get_number(
"basal_yield_stress.constant.value");
65 double t,
double dt) {
const Config::ConstPtr m_config
configuration database used by this component
void regrid(const std::string &module_name, array::Array &variable, RegriddingFlag flag=NO_REGRID_WITHOUT_REGRID_VARS)
void bootstrap_impl(const File &input_file, const YieldStressInputs &inputs)
void restart_impl(const File &input_file, int record)
MaxTimestep max_timestep_impl(double t) const
void init_impl(const YieldStressInputs &inputs)
ConstantYieldStress(std::shared_ptr< const Grid > g)
void update_impl(const YieldStressInputs &inputs, double t, double dt)
High-level PISM I/O class.
Combines the max. time step with the flag indicating if a restriction is active. Makes is possible to...
array::Scalar2 m_basal_yield_stress
The PISM basal yield stress model interface (virtual base class)
void read(const std::string &filename, unsigned int time)
void set(double c)
Result: v[j] <- c for all j.
void regrid(const std::string &filename, io::Default default_value)