Skip to main content

VirtualElement

Trait VirtualElement 

Source
pub trait VirtualElement
where for<'a> Self: From<(ElementNodalReferenceCoordinates, &'a [usize], &'a [usize], &'a [Vec<usize>])>,
{ // Required methods fn element_center<U>( nodal_quantities: &TensorRank1Vec<3, Current, U>, ) -> TensorRank1<3, Current, U>; fn faces_centers<U>( &self, nodal_quantities: &TensorRank1Vec<3, Current, U>, ) -> TensorRank1Vec<3, Current, U>; fn faces_nodes(&self) -> &[Vec<usize>]; fn gradient_vectors(&self) -> &GradientVectors; fn integration_weights(&self) -> &IntegrationWeights; fn stabilization(&self) -> Scalar; fn tetrahedra(&self) -> &[Tetrahedron] ⓘ; fn tetrahedra_coordinates<U>( &self, nodal_quantities: &TensorRank1Vec<3, Current, U>, ) -> TetrahedraQuantities<U>; fn tetrahedra_nodes(&self) -> &[[usize; 3]]; }

Required Methods§

Source

fn element_center<U>( nodal_quantities: &TensorRank1Vec<3, Current, U>, ) -> TensorRank1<3, Current, U>

Source

fn faces_centers<U>( &self, nodal_quantities: &TensorRank1Vec<3, Current, U>, ) -> TensorRank1Vec<3, Current, U>

Source

fn faces_nodes(&self) -> &[Vec<usize>]

Source

fn gradient_vectors(&self) -> &GradientVectors

Source

fn integration_weights(&self) -> &IntegrationWeights

Source

fn stabilization(&self) -> Scalar

Source

fn tetrahedra(&self) -> &[Tetrahedron] ⓘ

Source

fn tetrahedra_coordinates<U>( &self, nodal_quantities: &TensorRank1Vec<3, Current, U>, ) -> TetrahedraQuantities<U>

Source

fn tetrahedra_nodes(&self) -> &[[usize; 3]]

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§