Skip to content

Commit 9eb71c2

Browse files
authored
Add files via upload
1 parent e94e079 commit 9eb71c2

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

multioptpy/optimization.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2314,12 +2314,19 @@ def _perform_vibrational_analysis(
23142314
MV = MolecularVibrations(
23152315
atoms=element_list, coordinates=geom_num_list, hessian=tmp_hess, skip_judge_symm=self.config.no_symmetry_analyzer
23162316
)
2317+
2318+
if self.config.args.pyscf:
2319+
tmp_mult = min(1, int(self.config.spin_multiplicity) + 1)
2320+
else:
2321+
tmp_mult = min(1, int(self.config.spin_multiplicity))
2322+
23172323
thermo_results = MV.calculate_thermochemistry(
23182324
e_tot=B_e,
23192325
temperature=self.config.thermo_temperature,
23202326
pressure=self.config.thermo_pressure,
23212327
quasi_harmonic=self.config.frequency_correction_method,
23222328
freq_cutoff=self.config.frequency_analysis_cutoff,
2329+
multiplicity=tmp_mult,
23232330
)
23242331
# Store the full thermochemistry dict on the state so it can be
23252332
# propagated to Optimize and collected in all_results.

0 commit comments

Comments
 (0)