Skip to main content

Block

Struct Block 

Source
pub struct Block<C> { /* private fields */ }

Trait Implementations§

Source§

impl<C> Debug for Block<C>

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<C> ElasticElements<3> for Block<C>
where C: Elastic,

Source§

fn nodal_forces_into( &self, nodal_coordinates: &NodalCoordinates<3>, nodal_forces: &mut NodalForcesSolid<3>, ) -> Result<(), ElementModelError>

Source§

fn nodal_stiffnesses_into( &self, nodal_coordinates: &NodalCoordinates<3>, nodal_stiffnesses: &mut NodalStiffnessesSolid<3>, ) -> Result<(), ElementModelError>

Source§

fn nodal_forces( &self, nodal_coordinates: &NodalCoordinates<D>, ) -> Result<NodalForcesSolid<D>, ElementModelError>

Source§

fn nodal_stiffnesses( &self, nodal_coordinates: &NodalCoordinates<D>, ) -> Result<NodalStiffnessesSolid<D>, ElementModelError>

Source§

impl<C> ElasticHyperviscousElements<3> for Block<C>

Source§

fn viscous_dissipation( &self, nodal_coordinates: &NodalCoordinates<3>, nodal_velocities: &NodalVelocities<3>, ) -> Result<Quantity<Power>, ElementModelError>

Source§

fn dissipation_potential( &self, nodal_coordinates: &NodalCoordinates<3>, nodal_velocities: &NodalVelocities<3>, ) -> Result<Quantity<Power>, ElementModelError>

Source§

impl<C, Y> ElasticViscoplasticElements<TensorVector<TensorList<TensorTuple<TensorRank2<3, Intermediate, Reference>, Y>, 1>>, 3> for Block<C>

Source§

fn initial_state(&self) -> ViscoplasticStateVariables<1, Y>

Source§

fn nodal_forces_into( &self, nodal_coordinates: &NodalCoordinates<3>, state_variables: &ViscoplasticStateVariables<1, Y>, nodal_forces: &mut NodalForcesSolid<3>, ) -> Result<(), ElementModelError>

Source§

fn nodal_stiffnesses_into( &self, nodal_coordinates: &NodalCoordinates<3>, state_variables: &ViscoplasticStateVariables<1, Y>, nodal_stiffnesses: &mut NodalStiffnessesSolid<3>, ) -> Result<(), ElementModelError>

Source§

fn state_variables_evolution( &self, nodal_coordinates: &NodalCoordinates<3>, state_variables: &ViscoplasticStateVariables<1, Y>, ) -> Result<ViscoplasticEvolution<1, Y>, ElementModelError>

Source§

fn nodal_forces( &self, nodal_coordinates: &NodalCoordinates<D>, state_variables: &S, ) -> Result<NodalForcesSolid<D>, ElementModelError>

Source§

fn nodal_stiffnesses( &self, nodal_coordinates: &NodalCoordinates<D>, state_variables: &S, ) -> Result<NodalStiffnessesSolid<D>, ElementModelError>

Source§

impl<C> Elements for Block<C>

Source§

fn node_neighbors(&self, neighbors: &mut [Vec<usize>])

Source§

impl<C> From<(C, PrimitiveConnectivity<3, 4>, &TensorVector<TensorRank1<3, Reference, Length>>)> for Block<C>

Source§

fn from( (constitutive_model, connectivity, reference_coordinates): (C, PrimitiveConnectivity<3, 4>, &NodalReferenceCoordinates<3>), ) -> Self

Converts to this type from the input type.
Source§

impl<C> From<(C, PrimitiveConnectivity<3, 4>, &TensorVector<TensorRank1<3, Reference, Length>>, Weighting)> for Block<C>

Source§

fn from( (constitutive_model, connectivity, reference_coordinates, weighting): (C, PrimitiveConnectivity<3, 4>, &NodalReferenceCoordinates<3>, Weighting), ) -> Self

Converts to this type from the input type.
Source§

impl<C> HyperelasticElements<3> for Block<C>
where C: Hyperelastic,

Source§

impl<C, Y> HyperelasticViscoplasticElements<TensorVector<TensorList<TensorTuple<TensorRank2<3, Intermediate, Reference>, Y>, 1>>, 3> for Block<C>

Source§

fn helmholtz_free_energy( &self, nodal_coordinates: &NodalCoordinates<3>, state_variables: &ViscoplasticStateVariables<1, Y>, ) -> Result<Quantity<Energy>, ElementModelError>

Source§

impl<C> HyperviscoelasticElements<3> for Block<C>

Source§

impl<C> SolidElements for Block<C>

Source§

impl<C> ViscoelasticElements<3> for Block<C>
where C: Viscoelastic,

Source§

fn nodal_forces_into( &self, nodal_coordinates: &NodalCoordinates<3>, nodal_velocities: &NodalVelocities<3>, nodal_forces: &mut NodalForcesSolid<3>, ) -> Result<(), ElementModelError>

Source§

fn nodal_stiffnesses_into( &self, nodal_coordinates: &NodalCoordinates<3>, nodal_velocities: &NodalVelocities<3>, nodal_stiffnesses: &mut NodalDampingsSolid<3>, ) -> Result<(), ElementModelError>

Source§

fn nodal_forces( &self, nodal_coordinates: &NodalCoordinates<D>, nodal_velocities: &NodalVelocities<D>, ) -> Result<NodalForcesSolid<D>, ElementModelError>

Source§

fn nodal_stiffnesses( &self, nodal_coordinates: &NodalCoordinates<D>, nodal_velocities: &NodalVelocities<D>, ) -> Result<NodalDampingsSolid<D>, ElementModelError>

Auto Trait Implementations§

§

impl<C> !Freeze for Block<C>

§

impl<C> !RefUnwindSafe for Block<C>

§

impl<C> !Sync for Block<C>

§

impl<C> Send for Block<C>
where C: Send,

§

impl<C> Unpin for Block<C>
where C: Unpin,

§

impl<C> UnsafeUnpin for Block<C>
where C: UnsafeUnpin,

§

impl<C> UnwindSafe for Block<C>
where C: 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> Is<T> for T

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.