8
#include <libpsio/psio.hpp>
10
#include <libchkpt/chkpt.h>
12
#include <libchkpt/chkpt.hpp>
16
bool Chkpt::rd_puream(void)
20
keyword = build_keyword("Pure Harmonics?");
22
psio->read_entry(PSIF_CHKPT, keyword, (char *) &puream, sizeof(int));
28
void Chkpt::wt_puream(bool puream)
31
keyword = build_keyword("Pure Harmonics?");
33
int p = puream ? 1 : 0;
34
psio->write_entry(PSIF_CHKPT, keyword, (char *) &p, sizeof(int));
41
** int chkpt_rd_puream()
42
** Reads whether cartesian or spherical harmonics are used (Psi is currently
43
** limited to only using one type of functions at a time)
45
** returns: 1 (harmonics) or 0 (cartesian)
48
int chkpt_rd_puream(void)
50
return _default_chkpt_lib_->rd_puream() ? 1 : 0;
54
** void chkpt_wt_puream(int)
55
** Writes whether cartesian or spherical harmonics are used (Psi is currently
56
** limited to only using one type of functions at a time)
58
** \param 1 (harmonics) or 0 (cartesian)
63
void chkpt_wt_puream(int puream)
65
_default_chkpt_lib_->wt_puream(puream == 1);