8
#include <libpsio/psio.hpp>
10
#include <libchkpt/chkpt.h>
12
#include <libchkpt/chkpt.hpp>
16
int Chkpt::rd_ncalcs(void)
18
char *keyword_mo, *keyword_alpha_mo;
19
keyword_mo = build_keyword("MO coefficients");
20
keyword_alpha_mo = build_keyword("Alpha MO coefficients");
22
if (psio->tocscan(PSIF_CHKPT, keyword_mo) == NULL &&
23
psio->tocscan(PSIF_CHKPT, keyword_alpha_mo) == NULL)
29
free(keyword_alpha_mo);
34
** int chkpt_rd_ncalcs()
35
** Reads in the total number of HF wave functions.
37
** returns: ncalcs = total number of HF wave functions in checkpoint
40
int chkpt_rd_ncalcs(void)
42
return _default_chkpt_lib_->rd_ncalcs();