19 #ifndef _PISMYIELDSTRESS_H_
20 #define _PISMYIELDSTRESS_H_
22 #include "pism/util/Component.hh"
58 std::string
name()
const;
A class defining a common interface for most PISM sub-models.
High-level PISM I/O class.
YieldStress(std::shared_ptr< const Grid > g)
void bootstrap(const File &input_file, const YieldStressInputs &inputs)
virtual void init_impl(const YieldStressInputs &inputs)=0
virtual void write_model_state_impl(const File &output) const
The default (empty implementation).
const array::Scalar & basal_material_yield_stress()
void update(const YieldStressInputs &inputs, double t, double dt)
virtual void restart_impl(const File &input_file, int record)=0
virtual ~YieldStress()=default
DiagnosticList diagnostics_impl() const
virtual void bootstrap_impl(const File &input_file, const YieldStressInputs &inputs)=0
void init(const YieldStressInputs &inputs)
virtual void define_model_state_impl(const File &output) const
array::Scalar2 m_basal_yield_stress
void restart(const File &input_file, int record)
virtual void update_impl(const YieldStressInputs &inputs, double t, double dt)=0
The PISM basal yield stress model interface (virtual base class)
std::map< std::string, Diagnostic::Ptr > DiagnosticList