8
#include <libpsio/psio.h>
11
** int chkpt_rd_natom()
12
** Reads in the total number of atoms.
14
** returns: natom = total number of atoms.
18
int chkpt_rd_natom(void)
22
psio_read_entry(PSIF_CHKPT, "::Num. atoms", (char *) &natom, sizeof(int));
28
** void chkpt_wt_natom(int)
29
** Writes out the total number of atoms.
31
** \param natom = total number of atoms.
37
void chkpt_wt_natom(int natom)
39
psio_write_entry(PSIF_CHKPT, "::Num. atoms", (char *) &natom, sizeof(int));