PISM, A Parallel Ice Sheet Model  stable v2.0.4 committed by Constantine Khrulev on 2022-05-25 12:02:27 -0800

◆ regrid_impl()

void pism::IceModelVec::regrid_impl ( const File file,
RegriddingFlag  flag,
double  default_value = 0.0 

Gets an IceModelVec from a file file, interpolating onto the current grid.

Stops if the variable was not found and critical == true.

Definition at line 422 of file iceModelVec.cc.

References dm(), pism::petsc::VecArray::get(), pism::IceModelVec::Impl::ghosted, pism::global_to_local(), grid(), pism::IceModelVec::Impl::interpolation_type, m_impl, metadata(), ndof(), pism::io::regrid_spatial_variable(), pism::IceModelVec::Impl::report_range, set_dof(), update_ghosts(), and vec().

Referenced by regrid().