138
138
extern struct elem_pak elements[];
140
140
/* structures for gamess */
141
extern struct basis_pak basis_sets[];
141
struct basis_pak basis_sets[] = {
142
{"User Defined", GMS_USER, 0},
143
{"MNDO", GMS_MNDO, 0},
146
{"MINI", GMS_MINI, 0},
147
{"MIDI", GMS_MIDI, 0},
148
{"STO-2G", GMS_STO, 2},
149
{"STO-3G", GMS_STO, 3},
150
{"STO-4G", GMS_STO, 4},
151
{"STO-5G", GMS_STO, 5},
152
{"STO-6G", GMS_STO, 6},
153
{"3-21G", GMS_N21, 3},
154
{"6-21G", GMS_N21, 6},
155
{"4-31G", GMS_N31, 4},
156
{"5-31G", GMS_N31, 5},
157
{"6-31G", GMS_N31, 6},
158
{"6-311G", GMS_N311, 6},
166
/***********************************/
167
/* GAMESS structure initialization */
168
/***********************************/
169
void gamess_init(gpointer data)
171
struct gamess_pak *gamess = data;
173
gamess->units = GMS_ANGS;
174
gamess->exe_type = GMS_RUN;
175
gamess->run_type = GMS_ENERGY;
176
gamess->scf_type = GMS_RHF;
177
gamess->basis = GMS_MNDO;
179
gamess->dft_functional = 0;
181
gamess->opt_type = GMS_QA;
182
gamess->total_charge = 0;
183
gamess->multiplicity = 1;
184
gamess->time_limit = 600;
189
gamess->have_heavy_diffuse = FALSE;
190
gamess->have_hydrogen_diffuse = FALSE;
191
gamess->converged = FALSE;
192
gamess->wide_output = FALSE;
195
gamess->title = g_strdup("none");
196
gamess->temp_file = g_strdup("none");
197
gamess->out_file = g_strdup("none");
198
gamess->energy = gamess->max_grad = gamess->rms_grad = 0.0;
199
gamess->have_energy = gamess->have_max_grad = gamess->have_rms_grad = FALSE;
143
202
/****************/
144
203
/* file writing */
1314
1373
/* set frame if don't want last? */
1315
1374
strcpy(model->filename, filename);
1316
1375
g_free(model->basename);
1317
model->basename = strdup_basename(filename);
1376
model->basename = parse_strip(filename);
1319
1378
model->num_frames = model->cur_frame = frame;
1320
1379
model->cur_frame--;