use-elasticity
Small scalar elasticity and mechanics-of-materials helpers for RustUse.
Install
[]
= "0.0.2"
Foundation
use-elasticity provides small scalar helpers for stress, strain, Young's modulus, shear modulus,
bulk modulus, Poisson's ratio, axial deformation, stiffness, and elastic energy.
Inputs are expected to be SI-style numeric values:
- newtons for force
- square meters for area
- pascals for stress and elastic moduli
- meters for length, displacement, deformation, and height
- cubic meters for volume
- joules for energy
- joules per cubic meter for energy density
Material property catalogs belong in top-level use-materials.
Unit abstractions belong in top-level use-units.
Structural equilibrium helpers belong in use-statics.
Simulation belongs in top-level use-simulation.
Example
use ;
let Some = with_poisson_ratio else ;
let Some = new else ;
assert_eq!;
assert!;
assert_eq!;
When to use directly
Choose use-elasticity when you need reusable scalar elasticity relations without a larger
materials or simulation layer.
Scope
- This crate covers small scalar elasticity helpers only.
- It is not a material database, finite element solver, structural analysis engine, fracture mechanics package, plasticity model, or simulation framework.
- It does not expand into fatigue analysis, beam theory, or design-code compliance workflows.
Status
use-elasticity is a pre-1.0 crate with a deliberately small API.