Skip to main content

Crate oxiphysics

Crate oxiphysics 

Source
Expand description

§OxiPhysics — Unified Physics Engine

OxiPhysics is a pure-Rust, modular physics engine that re-exports all sub-crates for convenient, single-dependency access. It targets the same problem domains as Bullet, OpenFOAM, LAMMPS, and CalculiX.

§Quick Start

use oxiphysics::core::math::Vec3;
use oxiphysics::core::Transform;

let t = Transform::default();
let v = Vec3::new(1.0, 2.0, 3.0);
let _transformed = t.transform_point(&v);

§Module Overview

ModuleDescription
coreMath types, traits, ODE solvers, stochastic processes
geometryShape primitives and mesh utilities
collisionBroad-phase and narrow-phase collision detection
rigidRigid body dynamics
constraintsConstraint / joint solvers
vehicleVehicle dynamics simulation
sphSmoothed-particle hydrodynamics
lbmLattice Boltzmann method
femFinite element method
mdMolecular dynamics
softbodySoft body / cloth simulation
materialsMaterial property database
gpuGPU acceleration backends
vizVisualization helpers
ioFile I/O and serialization
pipelineFull simulation pipeline

§Stability Policy

Every public API is annotated with a stability level. See core::stability for details and the core::stability::HasStability trait for programmatic queries. Stable APIs follow semver; unstable and experimental APIs may change across minor releases.

Re-exports§

pub use oxiphysics_core as core;
pub use oxiphysics_geometry as geometry;
pub use oxiphysics_collision as collision;
pub use oxiphysics_rigid as rigid;
pub use oxiphysics_constraints as constraints;
pub use oxiphysics_vehicle as vehicle;
pub use oxiphysics_sph as sph;
pub use oxiphysics_lbm as lbm;
pub use oxiphysics_fem as fem;
pub use oxiphysics_md as md;
pub use oxiphysics_softbody as softbody;
pub use oxiphysics_materials as materials;
pub use oxiphysics_gpu as gpu;
pub use oxiphysics_viz as viz;
pub use oxiphysics_io as io;
pub use oxiphysics_python as python;
pub use oxiphysics_wasm as wasm;

Modules§

perf_regression
Performance regression testing infrastructure. Performance regression testing infrastructure.
pipeline
Full physics simulation pipeline. Full physics simulation pipeline.