kups.application.relaxation.logging
¶
HDF5 logging for structure relaxation.
HasRelaxData
¶
Bases: Protocol
Protocol for states that can provide relaxation logging data.
Source code in src/kups/application/relaxation/logging.py
RelaxInitData
¶
Initial snapshot for the HDF5 log.
Attributes:
| Name | Type | Description |
|---|---|---|
atoms |
Table[ParticleId, RelaxParticles]
|
Initial particle data. |
systems |
Table[SystemId, RelaxSystems]
|
Initial system data. |
Source code in src/kups/application/relaxation/logging.py
from_state(state)
staticmethod
¶
Extract initial snapshot from a relaxation state.
RelaxLoggedData
¶
HDF5 writer configuration for relaxation simulations.
Source code in src/kups/application/relaxation/logging.py
RelaxStepData
¶
Per-step snapshot for the HDF5 log.
Attributes:
| Name | Type | Description |
|---|---|---|
atoms |
Table[ParticleId, RelaxParticles]
|
Particle data at this step. |
potential_energy |
Array
|
Potential energy per system. |
max_force |
Array
|
Maximum atomic force magnitude per system (eV/Å). |
stress_tensor |
Array
|
Stress tensor per system, shape (..., 3, 3). |
Source code in src/kups/application/relaxation/logging.py
from_state(state)
staticmethod
¶
Extract per-step logging data from a relaxation state.