8 #include <util/keyval/keyval.h>
9 #include <chemistry/molecule/molecule.h>
11 class MPQCInFlexLexer;
23 const T &operator =(
const T&v) { set_ = 1; val_ = v;
return val_; }
24 void reset(
const T &val) { set_ = 0; val_ = val; }
25 int set()
const {
return set_; }
26 T val()
const {
return val_; }
30 MPQCInFlexLexer *lexer_;
62 void write_energy_object(std::ostream&,
const char *keyword,
64 const char *basis,
int coor,
66 void write_basis_object(std::ostream&,
const char *keyword,
68 void write_vector(std::ostream &ostrs,
69 const char *keyvalname,
79 char *parse_string(
const char *s);
80 int check_string(
const char *s);
84 void error(
const char* s);
85 void error2(
const char* s,
const char* s2);
86 void yerror(
const char* s);
87 void yerror2(
const char* s,
const char *);
89 void begin_molecule();
91 void add_atom(
char *,
char *,
char *,
char *);
92 void set_charge(
char *);
93 void set_method(
char *);
94 void set_basis(
char *);
95 void set_auxbasis(
char *);
96 void set_multiplicity(
char *);
97 void set_memory(
char *);
98 void set_optimize(
int);
99 void set_opt_type(
int);
100 void set_atom_charge(
char *);
101 void set_molecule_unit(
char *);
102 void set_method_xc(
char *);
103 void set_method_grid(
char *);
104 void set_symmetry(
char *);
105 void set_redund_coor(
int);
106 void set_gradient(
int);
107 void set_frequencies(
int);
108 void set_restart(
int);
109 void set_checkpoint(
int);
110 void set_molecule_bohr(
int);
111 void set_docc(std::vector<int> *);
112 void set_socc(std::vector<int> *);
113 void set_alpha(std::vector<int> *);
114 void set_beta(std::vector<int> *);
115 void set_frozen_docc(std::vector<int> *);
116 void set_frozen_uocc(std::vector<int> *);
117 std::vector<int> *make_nnivec(std::vector<int> *,
char *);
118 void set_method_absmethod(
const char *);
119 void set_method_ebc(
const char *);
120 void set_method_gbc(
const char *);
122 static int checking() {
return checking_; }