ThermalConductionFiniteElement

Trait ThermalConductionFiniteElement 

Source
pub trait ThermalConductionFiniteElement<C, const G: usize, const M: usize, const N: usize, const P: usize>
where C: ThermalConduction, Self: ThermalFiniteElement<G, M, N, P>,
{ // Required methods fn potential( &self, constitutive_model: &C, nodal_temperatures: &ElementNodalTemperatures<N>, ) -> Result<Scalar, FiniteElementError>; fn nodal_forces( &self, constitutive_model: &C, nodal_temperatures: &ElementNodalTemperatures<N>, ) -> Result<ElementNodalForcesThermal<N>, FiniteElementError>; fn nodal_stiffnesses( &self, constitutive_model: &C, nodal_temperatures: &ElementNodalTemperatures<N>, ) -> Result<ElementNodalStiffnessesThermal<N>, FiniteElementError>; }

Required Methods§

Source

fn potential( &self, constitutive_model: &C, nodal_temperatures: &ElementNodalTemperatures<N>, ) -> Result<Scalar, FiniteElementError>

Source

fn nodal_forces( &self, constitutive_model: &C, nodal_temperatures: &ElementNodalTemperatures<N>, ) -> Result<ElementNodalForcesThermal<N>, FiniteElementError>

Source

fn nodal_stiffnesses( &self, constitutive_model: &C, nodal_temperatures: &ElementNodalTemperatures<N>, ) -> Result<ElementNodalStiffnessesThermal<N>, FiniteElementError>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<C, const G: usize, const M: usize, const N: usize, const O: usize, const P: usize> ThermalConductionFiniteElement<C, G, M, N, P> for Element<G, N, O>
where C: ThermalConduction, Self: ThermalFiniteElement<G, M, N, P>,