pub struct EngineeringAnalysisLibrary { /* private fields */ }Expand description
Engineering Analysis Library Manager
Implementations§
Source§impl EngineeringAnalysisLibrary
impl EngineeringAnalysisLibrary
Sourcepub fn attach_dependencies(
&mut self,
linear_algebra: Arc<Mutex<LinearAlgebraLibrary>>,
physics_simulation: Arc<Mutex<PhysicsSimulationLibrary>>,
statistical_computing: Arc<Mutex<StatisticalComputingLibrary>>,
zns_manager: Arc<Mutex<ZnsZoneManager>>,
)
pub fn attach_dependencies( &mut self, linear_algebra: Arc<Mutex<LinearAlgebraLibrary>>, physics_simulation: Arc<Mutex<PhysicsSimulationLibrary>>, statistical_computing: Arc<Mutex<StatisticalComputingLibrary>>, zns_manager: Arc<Mutex<ZnsZoneManager>>, )
Attach Phase 2 cross-library dependencies (linear algebra, physics
simulation, statistical computing) and the ZNS zone manager. Each is
optional-by-design: the library functions without them, but sub-analyzers
that receive them can delegate to the real Phase 2 kernels. Following the
same Option<Arc<Mutex<…>>> + attach_* pattern used by
StatisticalDataStorage::attach_zns_manager.
Sourcepub fn initialize(&mut self) -> Result<(), EngineeringError>
pub fn initialize(&mut self) -> Result<(), EngineeringError>
Initialize the library
Sourcepub fn perform_structural_analysis(
&mut self,
model: EngineeringModel,
analysis_type: AnalysisType,
) -> Result<EngineeringOperationResult<AnalysisResults>, EngineeringError>
pub fn perform_structural_analysis( &mut self, model: EngineeringModel, analysis_type: AnalysisType, ) -> Result<EngineeringOperationResult<AnalysisResults>, EngineeringError>
Perform structural analysis
Sourcepub fn perform_mechanical_analysis(
&mut self,
model: EngineeringModel,
analysis_type: AnalysisType,
) -> Result<EngineeringOperationResult<AnalysisResults>, EngineeringError>
pub fn perform_mechanical_analysis( &mut self, model: EngineeringModel, analysis_type: AnalysisType, ) -> Result<EngineeringOperationResult<AnalysisResults>, EngineeringError>
Perform mechanical analysis
Sourcepub fn perform_thermal_analysis(
&mut self,
model: EngineeringModel,
analysis_type: AnalysisType,
) -> Result<EngineeringOperationResult<AnalysisResults>, EngineeringError>
pub fn perform_thermal_analysis( &mut self, model: EngineeringModel, analysis_type: AnalysisType, ) -> Result<EngineeringOperationResult<AnalysisResults>, EngineeringError>
Perform thermal analysis
Sourcepub fn perform_fluid_analysis(
&mut self,
model: EngineeringModel,
analysis_type: AnalysisType,
) -> Result<EngineeringOperationResult<AnalysisResults>, EngineeringError>
pub fn perform_fluid_analysis( &mut self, model: EngineeringModel, analysis_type: AnalysisType, ) -> Result<EngineeringOperationResult<AnalysisResults>, EngineeringError>
Perform fluid analysis
Sourcepub fn perform_reliability_analysis(
&mut self,
model: EngineeringModel,
analysis_type: AnalysisType,
) -> Result<EngineeringOperationResult<ReliabilityResults>, EngineeringError>
pub fn perform_reliability_analysis( &mut self, model: EngineeringModel, analysis_type: AnalysisType, ) -> Result<EngineeringOperationResult<ReliabilityResults>, EngineeringError>
Perform reliability analysis
Sourcepub fn get_performance_stats(&self) -> EngineeringPerformanceMetrics
pub fn get_performance_stats(&self) -> EngineeringPerformanceMetrics
Get performance statistics
Sourcepub fn list_analysis_types(&self) -> Vec<String>
pub fn list_analysis_types(&self) -> Vec<String>
List available analysis types
Sourcepub fn get_model_info(&self, model_id: &str) -> Option<EngineeringModel>
pub fn get_model_info(&self, model_id: &str) -> Option<EngineeringModel>
Get model information
Auto Trait Implementations§
impl Freeze for EngineeringAnalysisLibrary
impl RefUnwindSafe for EngineeringAnalysisLibrary
impl Send for EngineeringAnalysisLibrary
impl Sync for EngineeringAnalysisLibrary
impl Unpin for EngineeringAnalysisLibrary
impl UnsafeUnpin for EngineeringAnalysisLibrary
impl UnwindSafe for EngineeringAnalysisLibrary
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