carapace_core/model/
mod.rs1mod constraint;
2pub mod continuum;
3mod dof_table;
4mod domain;
5mod elements;
6mod error;
7mod fiber_section;
8mod integration;
9mod load_pattern;
10mod materials;
11mod node;
12mod transform;
13
14pub use domain::{Domain, Domain3};
15pub use elements::{
16 two_node_dofs, DispBeamColumn, DispBeamColumn3, DofMask, DofRef, ElasticBeamColumn,
17 ElasticBeamColumn3, Element, Element3, Element3Id, ElementForce, ElementId, ElementOps,
18 ForceBeamColumn, ForceBeamColumn3, Friction, Friction3, GaussResponse, NodeList, NodeView,
19 Orientation, OrientationError, Quad4, Quad4Formulation, Shell3, Shell4, ShellResponse,
20 SpatialElementMatrix, SpatialElementVector, TangentSink, Tri3, Truss, Truss3, VectorSink,
21 ZeroLength, ZeroLength3, ZeroLengthSection, ZeroLengthSection3, MAX_ELEMENT_NODES,
22};
23pub use error::ModelError;
24pub use fiber_section::{Fiber, Fiber3, FiberSection, FiberSection3};
25pub use integration::BeamIntegration;
26pub use load_pattern::{
27 ElementLoad, ElementLoad3, ElementLoadComponents, LoadPatternId, LoadSeries,
28};
29pub use materials::{
30 Material, Pinching4DmgCyc, Pinching4State, PlaneMaterial, PlaneMaterialError, PlaneMatrix,
31 PlaneVector, ShellMatrix, ShellSection, ShellSectionError, ShellVector,
32};
33pub use node::{
34 Axis3, Node, Node2, Node3, Node3Id, NodeId, SpatialDof, PLANAR_NDIM, SPATIAL_ELEMENT_DOF,
35 SPATIAL_NDF, SPATIAL_NDIM,
36};
37pub use transform::{GeomTransf, GeomTransf3};
38
39pub const NDF: usize = 3;
46
47pub const ELEMENT_DOF: usize = 2 * NDF;
52
53pub(crate) type SparseMatrix = faer::sparse::SparseColMat<usize, f64>;