kups.application.md.logging
¶
HDF5 logging for molecular dynamics simulations.
HasMDData
¶
Bases: Protocol
Protocol for states containing MD particle and system data.
Source code in src/kups/application/md/logging.py
InitData
¶
Snapshot of initial MD state logged once at step 0.
Attributes:
| Name | Type | Description |
|---|---|---|
atoms |
Table[ParticleId, MDParticles]
|
Indexed particle data (positions, momenta, etc.). |
systems |
Table[SystemId, MDSystems]
|
Indexed system data (unit cell, temperature, etc.). |
Source code in src/kups/application/md/logging.py
MDLoggedData
¶
Configuration for MD simulation logging groups.
Attributes:
| Name | Type | Description |
|---|---|---|
init |
WriterGroupConfig[HasMDData, InitData]
|
Logs initial state once at step 0. |
step |
WriterGroupConfig[HasMDData, MDStepData]
|
Logs thermodynamic data every step. |
Source code in src/kups/application/md/logging.py
MDStepData
¶
Per-step MD data logged at each production step.
Attributes:
| Name | Type | Description |
|---|---|---|
atoms |
Table[ParticleId, MDParticles]
|
Indexed particle data. |
potential_energy |
Array
|
Potential energy per system. |
kinetic_energy |
Array
|
Kinetic energy per system. |
stress_tensor |
Array
|
Virial stress tensor per system. |