Get the stencil width of the current Array. Returns 0 if ghosts are not available.
Definition at line 331 of file Array.cc.
References pism::array::Array::Impl::da_stencil_width, pism::array::Array::Impl::ghosted, and m_impl.
Referenced by pism::hydrology::Routing::advective_fluxes(), pism::inverse::IP_SSAHardavForwardProblem::apply_jacobian_design(), pism::inverse::IP_SSATaucForwardProblem::apply_jacobian_design(), pism::inverse::IP_SSAHardavForwardProblem::apply_jacobian_design_transpose(), pism::inverse::IP_SSATaucForwardProblem::apply_jacobian_design_transpose(), pism::inverse::IP_SSAHardavForwardProblem::apply_linearization_transpose(), pism::inverse::IP_SSATaucForwardProblem::apply_linearization_transpose(), Array(), pism::stressbalance::SIAFD::compute_diffusivity(), pism::stressbalance::SIAFD::compute_I(), pism::GeometryCalculator::compute_mask(), pism::stressbalance::SSAFD::compute_nuH_staggered_cfbc(), pism::GeometryCalculator::compute_surface(), pism::ocean::eikonal_equation(), pism::stressbalance::BedSmoother::smoothed_thk(), pism::array::staggered_to_regular(), pism::stressbalance::SIAFD::surface_gradient_eta(), pism::stressbalance::SIAFD::surface_gradient_haseloff(), pism::stressbalance::SIAFD::surface_gradient_mahaffy(), pism::stressbalance::BedSmoother::theta(), pism::calving::EigenCalving::update(), and pism::calving::IcebergRemoverFEM::update_impl().