New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Einstein-Helfand viscosity implementation #25
Commits on Aug 8, 2023
-
Add Einstein-Helfand viscosity class skeleton
* Use class `VelocityAutocorr` as template * Add items to `__init__()` * Write `_prepare()` and `_single_frame()` * Early work on `_conclude()`
-
-
-
Make variable names more readable
* Change `self.*_array` to simply `self.*` * Fix `self._masses_rs`
-
-
* Set up `self._volumes` in `_prepare()` and `_single_frame()`
-
Add remaining items to viscosity calculation
* Complete `_conclude()` with 2, Boltzman constant, average volume, and average temp
-
-
Write starter tests for Helfand viscosity class
* Check that AtomGroup is accepted * Test some exceptions * Functionality not yet tested here
-
Fix
visc_by_particle
division step* Move `visc_by_particle` division step outside of for loop
-
Create full unit velocity trajectory for tests
* Contains mass, velocities, positions, and volume
-
Add characteristic polynomial for viscosity class
* Format `viscosity.py` with Black
Commits on Aug 9, 2023
-
Add basic test for Helfand viscosity
* Simplify `characteristic_poly_helfand()`
-
Use key "Boltzman_constant" until mda 2.6.0
* CI will not work otherwise
-
* use try except and update with mda 2.6.0 release
Commits on Aug 11, 2023
-
Vectorize basic Helfand viscosity test
* Improve accuracy and agreement with `ViscosityHelfand` class * Improve performance
-
-
-