8
#include <libpsio/psio.hpp>
10
#include <libchkpt/chkpt.h>
12
#include <libchkpt/chkpt.hpp>
16
int *Chkpt::rd_shells_per_am(void)
21
keyword = build_keyword("Shells per am");
24
shells_per_am = array<int>(max_am+1);
26
psio->read_entry(PSIF_CHKPT, keyword, (char *) shells_per_am,
27
(max_am+1)*sizeof(int));
33
void Chkpt::wt_shells_per_am(int *shells_per_am)
37
keyword = build_keyword("Shells per am");
41
psio->write_entry(PSIF_CHKPT, keyword, (char *) shells_per_am,
42
(max_am+1)*sizeof(int));
49
** int *chkpt_rd_shells_per_am()
50
** Reads in the numbers of shells of each angular momentum.
52
** returns: shells_per_am = array of shells per angular momentum
56
int *chkpt_rd_shells_per_am(void)
58
return _default_chkpt_lib_->rd_shells_per_am();
62
** void chkpt_wt_shells_per_am(int *)
63
** Writes out the numbers of shells of each angular momentum.
65
** \param shells_per_am = array of shells per angular momentum
71
void chkpt_wt_shells_per_am(int *shells_per_am)
73
_default_chkpt_lib_->wt_shells_per_am(shells_per_am);