zmeri / PC-SAFT

Functions implementing the PC-SAFT equation of state, including association, electrolyte and dipole terms
GNU General Public License v3.0
49 stars 18 forks source link

Corrected gij and association term #56

Closed zmeri closed 5 years ago

zmeri commented 5 years ago

Only the g_ii terms were calculated, which led to erroneous results for the association term. The PC-SAFT functions were updated to calculate the full g_ij matrix. Also, a few errors in the association term were corrected, most of which were related to incorrect indices being used when multiple associating compounds were present. Thanks to Sebastian Kaminski for point these errors out.