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

◆ inq_nvars_impl()

void pism::io::NC_Serial::inq_nvars_impl ( int &  result) const
protectedvirtual

Get the number of variables.

Implements pism::io::NCFile.

Definition at line 473 of file NC_Serial.cc.

References pism::io::check(), pism::io::NCFile::m_com, pism::io::NCFile::m_file_id, m_rank, and PISM_ERROR_LOCATION.