Expand description
§FastAtomStruct
A high-performance Rust library for structural analysis of atomic systems and molecular dynamics simulations.
This library provides efficient implementations of various structural analysis tools commonly used in computational physics and chemistry, including:
- Atomic Structure Management: Tools for handling atomic coordinates, velocities, forces, and metadata
- Distance Calculations: Optimized distance computations with periodic boundary conditions and spatial hashing
- Bond Order Parameters: Steinhardt order parameters and other local structural descriptors
- Correlation Functions: Four-point correlation functions, intermediate scattering functions, and more
- neighbour Analysis: Efficient neighbour finding, coordination numbers, and radial distribution functions
- Dynamic Properties: Mean squared displacement, velocity autocorrelation, and viscosity calculations
- Three-body Correlations: Angular correlation functions for local structure characterization
- I/O Operations: Support for various file formats (XYZ, PDB, CIF, CP2K, Quantum ESPRESSO, etc.)
§Features
- High Performance: Leverages Rust’s zero-cost abstractions and optional parallel processing with Rayon
- Memory Efficient: Careful memory management for large-scale simulations
- Python Integration: Optional Python bindings through PyO3 for easy integration with existing workflows
- Flexible Filtering: Powerful atom filtering system based on elements, tags, and custom criteria
- Periodic Boundaries: Native support for periodic boundary conditions in all calculations
§Module Organization
atoms
: Core atomic data structures and manipulation toolsdistance
: Distance calculation algorithms and spatial indexingbond_order
: Steinhardt bond order parameters and spherical harmonicsfourpointcorrelation
: Four-point correlation functions for dynamic heterogeneityintermediatescattering
: Coherent and incoherent intermediate scattering functionsneighbours
: neighbour lists, coordination analysis, and radial distribution functionsmeansquareddisplacement
: Mean squared displacement and non-Gaussian parametersthree_body_correlation
: Angular three-body correlation functionsvelocity_autocorrelation
: Velocity autocorrelation functionsviscosity
: Viscosity calculations from stress tensor fluctuationsio
: File I/O operations for various atomic structure formatsutil
: Utility functions and data structures
Modules§
- atoms
- Atoms Module
- bond_
order - Bond Order Parameters and Structural Analysis
- distance
- Distance Module
- fourpointcorrelation
- Four-Point Correlation Functions Module
- intermediatescattering
- Intermediate Scattering Functions Module
- io
- I/O Module
- meansquareddisplacement
- Mean Squared Displacement Module
- neighbours
- Neighbours Module
- three_
body_ correlation - Three-Body Correlation Module
- util
- Utility Functions Module
- velocity_
autocorrelation - Velocity Autocorrelation Function Module
- viscosity
- Viscosity Calculation Module