@@ -255,7 +255,7 @@ def analyze_normal_modes(self, exclude_trans_and_rot=True, imaginary_freq=True):
255255 return results
256256
257257 def calculate_thermochemistry (self , e_tot = 0.0 , temperature = 298.15 , pressure = 101325 ,
258- quasi_harmonic = "grimme" , freq_cutoff = 50.0 ):
258+ quasi_harmonic = "grimme" , freq_cutoff = 50.0 , multiplicity = 1 ):
259259 """
260260 Calculate thermochemical properties.
261261
@@ -283,6 +283,8 @@ def calculate_thermochemistry(self, e_tot=0.0, temperature=298.15, pressure=1013
283283 freq_cutoff : float
284284 Frequency cutoff in cm^-1 used by the quasi-harmonic correction
285285 (default: 50 cm^-1). Ignored when *quasi_harmonic* is None.
286+ multiplicity : int
287+ Spin multiplicity to calculate electronic entropy
286288
287289 Returns
288290 -------
@@ -302,7 +304,6 @@ def calculate_thermochemistry(self, e_tot=0.0, temperature=298.15, pressure=1013
302304 results ['pressure' ] = (pressure , 'Pa' )
303305 results ['E0' ] = (e_tot , 'Eh' )
304306
305- multiplicity = 1 # This could be a parameter
306307 results ['S_elec' ] = (R_Eh * np .log (multiplicity ), 'Eh/K' )
307308 results ['Cv_elec' ] = results ['Cp_elec' ] = (0 , 'Eh/K' )
308309 results ['E_elec' ] = results ['H_elec' ] = (e_tot , 'Eh' )
0 commit comments