kups.application.relaxation.data
¶
Data structures and ASE initialisation for structure relaxation.
RelaxParameters
¶
Bases: BaseModel
Optimiser configuration for relaxation.
Source code in src/kups/application/relaxation/data.py
RelaxParticles
¶
Bases: Particles
Particle data for structure relaxation.
Extends Particles with energy gradients and derived properties
(forces, inclusion/exclusion indices) needed by relaxation propagators.
Attributes:
| Name | Type | Description |
|---|---|---|
position_gradients |
Array
|
Energy gradient w.r.t. positions, shape |
Source code in src/kups/application/relaxation/data.py
forces
property
¶
Atomic forces, the negative position gradient.
RelaxRunConfig
¶
Bases: BaseModel
Configuration for a relaxation run.
Source code in src/kups/application/relaxation/data.py
RelaxSystems
¶
System-level data for structure relaxation.
Source code in src/kups/application/relaxation/data.py
relax_state_from_ase(atoms)
¶
Build relaxation particle and system data from an ASE Atoms object or file.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
atoms
|
Atoms | str | Path
|
ASE Atoms object, or a file path (str/Path) readable by
|
required |
Returns:
| Type | Description |
|---|---|
tuple[Table[ParticleId, RelaxParticles], Table[SystemId, RelaxSystems]]
|
Tuple of |