pub trait VirtualElementwhere
for<'a> Self: From<(ElementNodalReferenceCoordinates, &'a [usize], &'a [usize], &'a [Vec<usize>])>,{
// Required methods
fn element_center<'a>(
nodal_coordinates: &ElementNodalCoordinates<'a>,
) -> CurrentCoordinate;
fn faces_centers<'a>(
&'a self,
nodal_coordinates: &ElementNodalCoordinates<'a>,
) -> NodalCoordinates;
fn faces_nodes(&self) -> &[Vec<usize>];
fn gradient_vectors(&self) -> &GradientVectors;
fn integration_weights(&self) -> &Scalars;
fn stabilization(&self) -> Scalar;
fn tetrahedra(&self) -> &[Tetrahedron] ⓘ;
fn tetrahedra_coordinates<'a>(
&'a self,
nodal_coordinates: &ElementNodalCoordinates<'a>,
) -> TetrahedraCoordinates;
fn tetrahedra_nodes(&self) -> &[[usize; 3]];
}Required Methods§
fn element_center<'a>( nodal_coordinates: &ElementNodalCoordinates<'a>, ) -> CurrentCoordinate
fn faces_centers<'a>( &'a self, nodal_coordinates: &ElementNodalCoordinates<'a>, ) -> NodalCoordinates
fn faces_nodes(&self) -> &[Vec<usize>]
fn gradient_vectors(&self) -> &GradientVectors
fn integration_weights(&self) -> &Scalars
fn stabilization(&self) -> Scalar
fn tetrahedra(&self) -> &[Tetrahedron] ⓘ
fn tetrahedra_coordinates<'a>( &'a self, nodal_coordinates: &ElementNodalCoordinates<'a>, ) -> TetrahedraCoordinates
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", so this trait is not object safe.