20 #include "pism/frontretreat/calving/StressCalving.hh"
26 unsigned int stencil_width)
28 m_stencil_width(stencil_width),
29 m_strain_rates(m_grid,
"strain_rates", array::
WITH_GHOSTS, 2),
30 m_calving_rate(m_grid,
"calving_rate"),
31 m_cell_type(m_grid,
"cell_type")
36 .long_name(
"major principal component of horizontal strain-rate")
41 .long_name(
"minor principal component of horizontal strain-rate")
A class defining a common interface for most PISM sub-models.
SpatialVariableMetadata & metadata(unsigned int N=0)
Returns a reference to the SpatialVariableMetadata object containing metadata for the compoment N.
array::Array2D< stressbalance::PrincipalStrainRates > m_strain_rates
array::Scalar m_calving_rate
const array::Scalar & calving_rate() const
array::CellType1 m_cell_type
StressCalving(std::shared_ptr< const Grid > grid, unsigned int stencil_width)