19 #ifndef FRACTUREDENSITY_H
20 #define FRACTUREDENSITY_H
22 #include "pism/util/Component.hh"
23 #include "pism/rheology/FlowLaw.hh"
24 #include "pism/util/array/Scalar.hh"
25 #include "pism/util/array/Vector.hh"
26 #include "pism/util/array/Array2D.hh"
27 #include "pism/stressbalance/StressBalance.hh"
36 FractureDensity(std::shared_ptr<const Grid>
grid, std::shared_ptr<const rheology::FlowLaw> flow_law);
std::shared_ptr< const Grid > grid() const
A class defining a common interface for most PISM sub-models.
High-level PISM I/O class.
void define_model_state_impl(const File &output) const
The default (empty implementation).
void restart(const File &input_file, int record)
virtual ~FractureDensity()=default
void update(double dt, const Geometry &geometry, const array::Vector &velocity, const array::Scalar &hardness, const array::Scalar &inflow_boundary_mask)
FractureDensity(std::shared_ptr< const Grid > grid, std::shared_ptr< const rheology::FlowLaw > flow_law)
array::Array2D< stressbalance::DeviatoricStresses > m_deviatoric_stresses
components of horizontal stress tensor along axes and shear stress (temporary storage)
array::Scalar m_density_new
const array::Scalar & toughness() const
const array::Scalar & growth_rate() const
array::Array2D< stressbalance::PrincipalStrainRates > m_strain_rates
major and minor principal components of horizontal strain-rate tensor (temporary storage)
const array::Scalar & age() const
array::Scalar m_healing_rate
void bootstrap(const File &input_file)
void write_model_state_impl(const File &output) const
The default (empty implementation).
std::shared_ptr< const rheology::FlowLaw > m_flow_law
array::Scalar m_growth_rate
const array::Scalar & healing_rate() const
const array::Scalar & flow_enhancement() const
DiagnosticList diagnostics_impl() const
array::Scalar m_toughness
array::Scalar m_flow_enhancement
const array::Scalar & density() const
array::Vector1 m_velocity
Ghosted copy of the ice velocity.
A storage vector combining related fields in a struct.
std::map< std::string, Diagnostic::Ptr > DiagnosticList