pub struct StructuralAnalyzer { /* private fields */ }Expand description
Structural analyzer for structural engineering analysis
Implementations§
Source§impl StructuralAnalyzer
impl StructuralAnalyzer
pub fn new() -> Self
Sourcepub fn attach_linear_algebra(
&mut self,
lib: Option<Arc<Mutex<LinearAlgebraLibrary>>>,
)
pub fn attach_linear_algebra( &mut self, lib: Option<Arc<Mutex<LinearAlgebraLibrary>>>, )
Attach the Phase 2 linear-algebra library for FEA matrix operations.
pub fn store_model(&mut self, model: EngineeringModel)
pub fn initialize(&mut self) -> Result<(), EngineeringError>
pub fn validate_model( &self, model: &EngineeringModel, ) -> Result<(), EngineeringError>
pub fn analyze( &mut self, model: &EngineeringModel, analysis_type: AnalysisType, ) -> Result<AnalysisResults, EngineeringError>
Sourcepub fn fem_static(
&self,
model: &FeModel,
) -> Result<FeStaticResult, EngineeringError>
pub fn fem_static( &self, model: &FeModel, ) -> Result<FeStaticResult, EngineeringError>
Real finite-element linear-static solve of an explicit fem::FeModel
(assemble K u = F, apply displacement BCs, solve via LU, recover reactions
and element axial forces). This is the direct FE entry point (the abstract
analyze facade interprets a prismatic member; this takes a full mesh).
pub fn list_analysis_types(&self) -> Vec<String>
pub fn get_model(&self, model_id: &str) -> Option<EngineeringModel>
pub fn get_performance_metrics(&self) -> EngineeringPerformanceMetrics
Sourcepub fn buckling_analysis(&self) -> &BucklingAnalysis
pub fn buckling_analysis(&self) -> &BucklingAnalysis
Borrow the buckling-analysis sub-analyzer.
Sourcepub fn buckling_analysis_mut(&mut self) -> &mut BucklingAnalysis
pub fn buckling_analysis_mut(&mut self) -> &mut BucklingAnalysis
Mutably borrow the buckling-analysis sub-analyzer.
Sourcepub fn vibration_analysis(&self) -> &VibrationAnalysis
pub fn vibration_analysis(&self) -> &VibrationAnalysis
Borrow the vibration-analysis sub-analyzer.
Sourcepub fn vibration_analysis_mut(&mut self) -> &mut VibrationAnalysis
pub fn vibration_analysis_mut(&mut self) -> &mut VibrationAnalysis
Mutably borrow the vibration-analysis sub-analyzer.
Auto Trait Implementations§
impl Freeze for StructuralAnalyzer
impl RefUnwindSafe for StructuralAnalyzer
impl Send for StructuralAnalyzer
impl Sync for StructuralAnalyzer
impl Unpin for StructuralAnalyzer
impl UnsafeUnpin for StructuralAnalyzer
impl UnwindSafe for StructuralAnalyzer
Blanket Implementations§
§impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
Aggregate shares in an MPC protocol.
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more