Skip to main content

Crate oxiphysics_io

Crate oxiphysics_io 

Source
Expand description

File I/O and serialization for the OxiPhysics engine.

Provides writers (and basic readers) for common physics simulation formats:

  • VTK Legacy (.vtk) and VTU (.vtu) for visualization in ParaView
  • PDB for molecular data
  • LAMMPS dump for trajectory data
  • Wavefront OBJ for triangle meshes
  • CSV for time series data
  • XDMF for particle/mesh visualization in ParaView/VisIt
  • Trajectory for accumulating and writing animation frames
  • GROMACS GRO format for molecular simulation snapshots

Re-exports§

pub use csv::CsvReader;
pub use csv::CsvWriter;
pub use gromacs::GroAtom;
pub use gromacs::GroFile;
pub use lammps::LammpsAtom;
pub use lammps::LammpsDumpReader;
pub use lammps::LammpsDumpWriter;
pub use lammps_dump::LammpsDumpFrame;
pub use lammps_dump::LammpsDumpReader as LammpsDumpFrameReader;
pub use lammps_dump::LammpsDumpWriter as LammpsDumpFrameWriter;
pub use obj::ObjReader;
pub use obj::ObjWriter;
pub use pdb::PdbAtom;
pub use pdb::PdbReader;
pub use pdb::PdbWriter;
pub use trajectory::TrajectoryWriter;
pub use vtk::VtkCellType;
pub use vtk::VtkDataArray;
pub use vtk::VtkWriter;
pub use vtk::VtuGrid;
pub use vtu::VtuWriter;
pub use xdmf::write_xdmf_particles;
pub use xdmf::write_xdmf_temporal;
pub use binary_format::*;
pub use foam_io::*;
pub use vtk_writer::*;

Modules§

abaqus_format
Abaqus INP file format I/O.
amber
Auto-generated module structure
ambermd_io
AMBER molecular dynamics file format I/O (prmtop, rst7, mdcrd, mdinfo).
amr_io
Auto-generated module structure
animation_io
Animation I/O: BVH motion capture, FBX ASCII, USD/USDA export, skeletal animation, blend shapes, timeline/sequencing, frame interpolation (including SLERP for rotations), and animation retargeting.
binary_format
HDF5-inspired binary format for simulation checkpoints and time series data.
binary_formats
Binary format I/O for physics simulation data.
binary_io
Binary data I/O for OxiPhysics trajectory files.
cad_io
Auto-generated module structure
calculix_format
CalculiX .inp file format I/O.
cgns_format
CGNS (CFD General Notation System) format I/O — text-based subset.
checkpoint_io
Auto-generated module structure
crystallography_io
Crystallography file format I/O.
csv
Auto-generated module structure
csv_io
Auto-generated module structure
database_io
Auto-generated module structure
ensight_format
EnSight Gold format reader/writer for physics simulation data.
exodus
Auto-generated module structure
exodus_format
Exodus II mesh format reader and writer (Sierra/SEACAS ASCII subset).
experimental_data_io
Experimental data I/O for the OxiPhysics engine.
finite_element_io
Auto-generated module structure
fluent_format
ANSYS Fluent mesh format I/O (ASCII .msh).
foam_io
Simplified OpenFOAM polyMesh format I/O.
geospatial_io
Geospatial I/O: GeoJSON, WKT, CRS metadata, DEM rasters, bounding-box queries, Mercator projections, terrain tiles, geohash, R-tree-like spatial index and a simplified DBF attribute table.
gltf
Auto-generated module structure
gmsh_format
Gmsh mesh format (.msh) version 2.2 ASCII support.
gromacs
GROMACS GRO format reader and writer.
hdf5_io
Pure-Rust in-memory HDF5 mock for simulation I/O.
hdf5_simple
Auto-generated module structure
hpc_io
HPC and scientific data I/O.
json_io
Simple hand-rolled JSON serialization for physics data (no serde dependency).
lammps
Auto-generated module structure
lammps_dump
LAMMPS dump format reader and writer (frame-oriented API).
lattice_io
Lattice structure I/O for LBM and crystallography.
machine_learning_io
Machine learning model I/O for the OxiPhysics engine.
material_db
Material properties database for physics simulations.
material_db_io
Material database I/O: CES-style material properties, JSON material libraries.
medical_imaging
Medical imaging format utilities (DICOM-inspired and NIfTI).
medical_imaging_io
Auto-generated module structure
medical_io
Auto-generated module structure
mesh_export
Mesh export and import utilities.
mesh_io
Extended mesh I/O formats.
mesh_quality
Auto-generated module structure
molecular_docking_io
Auto-generated module structure
molecular_visualization_io
Auto-generated module structure
molecular_viz_io
Auto-generated module structure
netcdf
NetCDF module structure
numpy
Auto-generated module structure
obj
Auto-generated module structure
openfoam
Auto-generated module structure
openfoam_format
OpenFOAM case-directory format reader/writer.
parallel_io
Parallel I/O utilities for large-scale distributed physics simulations.
particle_data_io
Particle data I/O — read/write particle datasets in multiple formats.
particle_formats
Particle trajectory I/O formats.
pdb
PDB (Protein Data Bank) format writer and reader.
physics_binary
Custom binary format for physics field data.
plot3d_format
PLOT3D format for CFD grid and solution files.
point_cloud_io
Point cloud file format I/O.
quantum_chemistry_io
Quantum chemistry file format I/O.
remote_sensing_io
Remote sensing and geospatial data I/O.
restart_io
Simulation restart and checkpoint I/O.
robotics_io
Auto-generated module structure
scientific_formats
Scientific data format support for OxiPhysics.
seismic_io
Seismic data I/O: SEG-Y, SAC, MiniSEED formats.
sensor_data_io
Sensor data I/O for the OxiPhysics engine.
sensor_io
Sensor and telemetry I/O.
simulation_database
SQLite-like in-memory simulation database with time-indexed snapshots, run-length-encoded compression, differential storage, event logging, result aggregation, and CSV/JSON import-export.
simulation_io
Physics simulation I/O formats.
simulation_log
Simulation logging, telemetry, and replay utilities.
simulation_report_io
Simulation report generation: HTML, Markdown, and LaTeX output.
spectroscopy_io
Auto-generated module structure
stl
Auto-generated module structure
streaming_io
Auto-generated module structure
su2_format
SU2 mesh format reader/writer for aerodynamic simulation.
tecplot_format
Tecplot ASCII format I/O.
time_series_io
Time series I/O: storage, resampling, filtering, FFT, spectral analysis, autocorrelation/cross-correlation, peak detection, anomaly detection, CSV/JSON/binary export, and streaming/buffered I/O for large time series.
trajectory
Auto-generated module structure
visualization_io
Visualization output formats for physics simulations.
vtk
Auto-generated module structure
vtk_writer
Auto-generated module structure
vtu
Auto-generated module structure
wavefront_extended
Extended Wavefront OBJ format with physics metadata.
weather_data_io
Auto-generated module structure
weather_io
Weather and atmospheric data I/O.
xarray_io
xarray-compatible multi-dimensional labeled array I/O.
xdmf
Auto-generated module structure
xtc_dcd
Simplified binary trajectory format implementations for XTC and DCD.

Enums§

Error
Main error type for the io module

Traits§

PhysicsIo
Trait for physics data I/O.

Type Aliases§

Result
Result type alias