pub trait VirtualElementwhere
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§
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]]
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".