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

◆ write_darray_impl()

void pism::io::ParallelIO::write_darray_impl ( const std::string &  variable_name,
const Grid grid,
unsigned int  z_count,
bool  time_dependent,
unsigned int  record,
const double *  input 
)
protectedvirtual

The default implementation computes start and count and calls put_vara_double()

Reimplemented from pism::io::NCFile.

Definition at line 249 of file ParallelIO.cc.

References pism::io::check(), pism::RuntimeError::formatted(), pism::io::NCFile::m_file_id, pism::Grid::pio_io_decomposition(), PISM_ERROR_LOCATION, pism::Grid::xm(), and pism::Grid::ym().