mutationpp / Mutationpp

The MUlticomponent Thermodynamic And Transport library for IONized gases in C++
GNU Lesser General Public License v3.0
103 stars 58 forks source link

Add setGSIMechanism to MixtureOptions #180

Closed mgoodson-cvd closed 2 years ago

mgoodson-cvd commented 2 years ago

The MixtureOptions class has getters and setters for all its object strings (thermo_db, viscosity algorithm, etc) except that it is lacking a setter for the GSI Mechanism m_gsi_mechanism. There is a getter, getGSIMechanism so this appears to be an oversight.

I need this function so I have modified the code locally, but it would be nice to get this merged upstream. This is a very simple addition; I'll make the PR.