PISM, A Parallel Ice Sheet Model  stable v2.0.6 committed by Constantine Khrulev on 2023-01-23 15:14:38 -0900

◆ dump()

void pism::IceModelVec::dump ( const char  filename[]) const

Dumps a variable to a file, overwriting this file's contents (for debugging).

Dump an IceModelVec to a file. This is for debugging only. Uses const char[] to make it easier to call it from gdb.

Definition at line 583 of file iceModelVec.cc.

References pism::io::append_time(), define(), pism::io::define_time(), pism::IceModelVec::Impl::grid, m_impl, pism::IceModelVec::Impl::metadata, pism::PISM_DOUBLE, pism::PISM_READWRITE_CLOBBER, pism::string_to_backend(), and write().