20 #include "pism/basalstrength/YieldStress.hh"
22 #include "pism/util/ConfigInterface.hh"
23 #include "pism/util/Logger.hh"
36 m_basal_yield_stress(m_grid,
"tauc") {
40 .
long_name(
"yield stress for basal till (plastic or pseudo-plastic model)")
48 m_log->message(2,
"* Initializing the %s...\n",
name().c_str());
57 m_log->message(2,
"Initializing the %s...\n",
name().c_str());
67 m_log->message(2,
"Initializing the %s...\n",
name().c_str());
const Logger::ConstPtr m_log
logger (for easy access)
A class defining a common interface for most PISM sub-models.
static Ptr wrap(const T &input)
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
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
void define(const File &file, io::Type default_type) const
Define variables corresponding to an Array in a file opened using file.
void write(const std::string &filename) const
SpatialVariableMetadata & metadata(unsigned int N=0)
Returns a reference to the SpatialVariableMetadata object containing metadata for the compoment N.
std::map< std::string, Diagnostic::Ptr > DiagnosticList