pyrucast 0.3.0

Finite-element library in Rust, inspired by cast3m, exposed to Python
Documentation
//! Operators that **produce** a [`NodeField`](crate::containers::node_field::NodeField).
//!
//! Two families meet here, because both end on a nodal field:
//!
//! - *derivations* — [`positions`](fn@positions) (a mesh's geometry read
//!   as a field), [`divergence`](fn@divergence) (the nodal `∇·` of a
//!   per-element field), [`restrict`](fn@restrict) /
//!   [`restrict_like`](fn@restrict_like), [`merge`](fn@merge),
//!   [`consolidate`](fn@consolidate);
//! - *nodal assembly* — [`flux`](fn@flux) (the distributed-load right-hand
//!   side) and [`internal_forces`](fn@internal_forces) (Cast3M `BSIG`,
//!   `∫ Bᵀ σ`). They are assemblies like the ones in
//!   [`crate::ops::matrix`], but their result is a vector, not an operator.
//!
//! Resolution (`A · x = b`) also produces a nodal field; it keeps its own
//! module, [`crate::ops::solver`] — the single named exception to the
//! "one module per produced container" rule.

pub mod consolidate;
pub mod divergence;
pub mod flux;
pub mod internal_forces;
pub mod mask;
pub mod merge;
pub mod methods;
pub mod positions;
pub mod restrict;

pub use consolidate::consolidate;
pub use divergence::divergence;
pub use flux::{flux, FluxDensity};
pub use internal_forces::{internal_forces, internal_forces_continuum};
pub use mask::{mask, mask_sub};
pub use merge::merge;
pub use positions::positions;
pub use restrict::{restrict, restrict_like};