PISM, A Parallel Ice Sheet Model  stable v2.1-1-g6902d5502 committed by Ed Bueler on 2023-12-20 08:38:27 -0800

◆ dump()

void pism::array::Array::dump ( const char  filename[]) const

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

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

Definition at line 607 of file Array.cc.

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