Struct ElementBlock

Source
pub struct ElementBlock<F, const N: usize> { /* private fields */ }

Trait Implementations§

Source§

impl<C, F, const G: usize, const N: usize> ElasticFiniteElementBlock<C, F, G, N> for ElementBlock<F, N>
where C: Elastic, F: ElasticFiniteElement<C, G, N>, Self: FiniteElementBlockMethods<C, F, G, N>,

Source§

impl<C, F, const G: usize, const N: usize, Y> FiniteElementBlock<C, F, G, N, Y> for ElementBlock<F, N>
where C: Constitutive<Y>, F: FiniteElement<C, G, N, Y>, Y: Parameters,

Source§

fn new( constitutive_model_parameters: Y, connectivity: Connectivity<N>, reference_nodal_coordinates: ReferenceNodalCoordinatesBlock, ) -> Self

Source§

impl<C, F, const G: usize, const N: usize> FiniteElementBlockMethods<C, F, G, N> for ElementBlock<F, N>
where F: FiniteElementMethods<C, G, N>,

Source§

fn connectivity(&self) -> &Connectivity<N>

Source§

fn deformation_gradients( &self, nodal_coordinates: &NodalCoordinatesBlock, ) -> Vec<DeformationGradientList<G>>

Source§

fn elements(&self) -> &[F]

Source§

fn nodal_coordinates_element( &self, element_connectivity: &[usize; N], nodal_coordinates: &NodalCoordinatesBlock, ) -> CurrentCoordinates<D>

Source§

impl<C, F, const G: usize, const N: usize> HyperelasticFiniteElementBlock<C, F, G, N> for ElementBlock<F, N>
where C: Hyperelastic, F: HyperelasticFiniteElement<C, G, N>, Self: ElasticFiniteElementBlock<C, F, G, N>,

Source§

fn helmholtz_free_energy( &self, nodal_coordinates: &NodalCoordinatesBlock, ) -> Result<Scalar, ConstitutiveError>

Source§

fn minimize( &self, initial_coordinates: NodalCoordinatesBlock, optimization: NewtonRaphson, equality_constraint: EqualityConstraint, ) -> Result<NodalCoordinatesBlock, OptimizeError>

Source§

impl<C, F, const G: usize, const N: usize> HyperviscoelasticFiniteElementBlock<C, F, G, N> for ElementBlock<F, N>
where C: Hyperviscoelastic, F: HyperviscoelasticFiniteElement<C, G, N>, Self: ElasticHyperviscousFiniteElementBlock<C, F, G, N>,

Source§

impl<C, F, const G: usize, const N: usize, const P: usize, Y> SurfaceFiniteElementBlock<C, F, G, N, P, Y> for ElementBlock<F, N>
where C: Constitutive<Y>, F: SurfaceFiniteElement<C, G, N, P, Y>, Y: Parameters,

Source§

fn new( constitutive_model_parameters: Y, connectivity: Connectivity<N>, reference_nodal_coordinates: ReferenceNodalCoordinatesBlock, thickness: Scalar, ) -> Self

Source§

impl<C, F, const G: usize, const N: usize> ViscoelasticFiniteElementBlock<C, F, G, N> for ElementBlock<F, N>
where C: Viscoelastic, F: ViscoelasticFiniteElement<C, G, N>, Self: FiniteElementBlockMethods<C, F, G, N>,

Source§

fn nodal_forces( &self, nodal_coordinates: &NodalCoordinatesBlock, nodal_velocities: &TensorRank1Vec<3, 1>, ) -> Result<NodalForcesBlock, ConstitutiveError>

Source§

fn nodal_stiffnesses( &self, nodal_coordinates: &NodalCoordinatesBlock, nodal_velocities: &TensorRank1Vec<3, 1>, ) -> Result<TensorRank2Vec2D<3, 1, 1>, ConstitutiveError>

Source§

fn nodal_velocities_element( &self, element_connectivity: &[usize; N], nodal_velocities: &TensorRank1Vec<3, 1>, ) -> CurrentCoordinates<D>

Auto Trait Implementations§

§

impl<F, const N: usize> Freeze for ElementBlock<F, N>

§

impl<F, const N: usize> RefUnwindSafe for ElementBlock<F, N>
where F: RefUnwindSafe,

§

impl<F, const N: usize> Send for ElementBlock<F, N>
where F: Send,

§

impl<F, const N: usize> Sync for ElementBlock<F, N>
where F: Sync,

§

impl<F, const N: usize> Unpin for ElementBlock<F, N>
where F: Unpin,

§

impl<F, const N: usize> UnwindSafe for ElementBlock<F, N>
where F: UnwindSafe,

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.