VlachosGroup / pMuTT

Python Multiscale Thermochemistry Toolbox (pMuTT)
https://vlachosgroup.github.io/pMuTT/
40 stars 23 forks source link

Generic methods in _ModelBase #171

Closed jonlym closed 1 year ago

jonlym commented 4 years ago

Is your feature request related to a problem? Please describe. When users are implementing new mode classes, they have to do a lot of redundant work to write methods that often return 0 (e.g. get_HoRT would return 0 for a mode that describes entropy contributions).

Describe the solution you'd like Add generic methods to _ModelBase by copying EmptyMode lines.