Skip to main content

DecomposableElements

Trait DecomposableElements 

Source
pub trait DecomposableElements {
    // Required method
    fn element_systems(
        &self,
        nodal_coordinates: &NodalCoordinates<3>,
    ) -> Result<ElementSystems, ElementModelError>;
}
Expand description

Elements that can hand out their systems one by one.

This is what a decomposed solve asks of a model, and a model that cannot answer it, having couplings that cross any cut, is refused at compile time.

Required Methods§

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<B1, B2> DecomposableElements for Blocks<B1, B2>

Source§

impl<B> DecomposableElements for Model<B, 3>

Source§

impl<C, F, const G: usize, const N: usize, const P: usize, R> DecomposableElements for conspire::domain::fem::block::Block<C, F, G, 3, N, P, R>
where C: Elastic, F: ElasticFiniteElement<C, G, 3, N, P>,

Source§

impl<C, F> DecomposableElements for conspire::domain::vem::block::Block<C, F>