No project description provided
Project description
This library is for calculating the Onsager coefficients in a molecular dynamics run, calculated with the generalized Einstein relation.
This code works by splicing a larger MD trajectory into N smaller subtrajetories, averaging the square displacements over those trajectories, and calculating the slope of that time series in the long time limit.
Parameters for the calculation are the LAMMPS-style dump file name, the number of subtrajectories to create, the timestep in the dump file, and the transient time.
The transient time parameter is for excluding the initial transient behavior in averaged trajectory.
With OVITO Pro, you can install this library into your OVITO interface with:
ovitos -m pip install --user onsager_coefficients
which adds a mean square displacement and a total displacement modifier to your interface. Or, for use in a standalone Python script:
pip install onsager_coefficients
An example of this repository used in a standalone script is in the example/ directory.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file onsager_coefficients-1.0.0.tar.gz
.
File metadata
- Download URL: onsager_coefficients-1.0.0.tar.gz
- Upload date:
- Size: 4.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fe391b3d055c2f267c0a33f3137e02417ee2b4a4a6a49bc40428f6745d1eb687 |
|
MD5 | 79e88183c7f8de43c743847c2d9a1940 |
|
BLAKE2b-256 | ecfc8d2a5036058e036a634cef41713bfca38d5c6983cf7287d2f707f605eae0 |
File details
Details for the file onsager_coefficients-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: onsager_coefficients-1.0.0-py3-none-any.whl
- Upload date:
- Size: 5.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fa94bbf3988768e79f7823f400dc7d71516304adfe1bc100b3696e25411cecad |
|
MD5 | 52da25eca86d6c47d89593205ca81c65 |
|
BLAKE2b-256 | d4ef2d79b49a0a5ff9e52c00072104fe734ef39d2a5fdab258f79e6a52873ed4 |