PISM, A Parallel Ice Sheet Model
stable v2.1.1 committed by Constantine Khrulev on 2024-12-04 13:36:58 -0900
|
◆ update_in_place()
Update ice thickness and area_specific_volume in place. It would be better to compute the change in ice thickness and area_specific_volume and then apply them, but it would require re-writing all the part-grid code from scratch. So, I make copies of ice thickness and area_specific_volume, use this old code, then compute differences to get changes. Compute ice thickness changes due to the flow of the ice.
Definition at line 698 of file GeometryEvolution.cc. References pism::array::Array2D< T >::add(), pism::GeometryEvolution::Impl::cell_type, pism::ParallelSection::check(), pism::GeometryCalculator::compute(), pism::GeometryCalculator::compute_mask(), pism::array::Array2D< T >::copy_from(), pism::ParallelSection::failed(), flux_divergence(), pism::RuntimeError::formatted(), pism::GeometryEvolution::Impl::gc, pism::array::CellType::ice_free_ocean(), pism::Component::m_config, pism::Component::m_grid, m_impl, pism::Component::m_log, pism::array::max(), pism::array::CellType1::next_to_ice(), pism::part_grid_threshold_thickness(), PISM_ERROR_LOCATION, pism::GeometryEvolution::Impl::residual, residual_redistribution_iteration(), pism::array::Array::set(), pism::array::Array2D< T >::star(), pism::array::CellType1::star_int(), pism::array::sum(), pism::GeometryEvolution::Impl::surface_elevation, pism::GeometryEvolution::Impl::thickness, pism::array::Array::update_ghosts(), and pism::GeometryEvolution::Impl::use_part_grid. Referenced by flow_step(). |