conspire::fem

Trait ViscoelasticFiniteElement

Source
pub trait ViscoelasticFiniteElement<'a, C, const G: usize, const N: usize>
where C: Viscoelastic<'a>, Self: FiniteElementMethods<'a, C, G, N>,
{ // Required methods fn nodal_forces( &self, nodal_coordinates: &CurrentCoordinates<D>, nodal_velocities: &CurrentCoordinates<D>, ) -> Result<Forces<D>, ConstitutiveError>; fn nodal_stiffnesses( &self, nodal_coordinates: &CurrentCoordinates<D>, nodal_velocities: &CurrentCoordinates<D>, ) -> Result<Stiffnesses<D>, ConstitutiveError>; }

Required Methods§

Source

fn nodal_forces( &self, nodal_coordinates: &CurrentCoordinates<D>, nodal_velocities: &CurrentCoordinates<D>, ) -> Result<Forces<D>, ConstitutiveError>

Source

fn nodal_stiffnesses( &self, nodal_coordinates: &CurrentCoordinates<D>, nodal_velocities: &CurrentCoordinates<D>, ) -> Result<Stiffnesses<D>, ConstitutiveError>

Implementors§

Source§

impl<'a, C> ViscoelasticFiniteElement<'a, C, G, N> for Triangle<C>
where C: Viscoelastic<'a>,