PISM, A Parallel Ice Sheet Model  stable v2.1.1 committed by Constantine Khrulev on 2024-12-04 13:36:58 -0900

◆ 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().