conspire::femTrait ViscoelasticFiniteElementBlock
Source pub trait ViscoelasticFiniteElementBlock<'a, C, F, const G: usize, const N: usize>{
// Required methods
fn nodal_forces(
&self,
nodal_coordinates: &TensorRank1Vec<3, 1>,
nodal_velocities: &TensorRank1Vec<3, 1>,
) -> Result<TensorRank1Vec<3, 1>, ConstitutiveError>;
fn nodal_stiffnesses(
&self,
nodal_coordinates: &TensorRank1Vec<3, 1>,
nodal_velocities: &TensorRank1Vec<3, 1>,
) -> Result<TensorRank2Vec2D<3, 1, 1>, ConstitutiveError>;
fn nodal_velocities_element(
&self,
element_connectivity: &[usize; N],
nodal_velocities: &TensorRank1Vec<3, 1>,
) -> CurrentCoordinates<D>;
}