pub enum Su2ElementType {
Line = 3,
Triangle = 5,
Quadrilateral = 9,
Tetrahedron = 10,
Hexahedron = 12,
Prism = 13,
Pyramid = 14,
}Expand description
VTK-compatible element type codes used in SU2 mesh files.
SU2 uses VTK type codes in the ELEM= connectivity section.
Variants§
Line = 3
Line (2 nodes), VTK type 3.
Triangle = 5
Triangle (3 nodes), VTK type 5.
Quadrilateral = 9
Quadrilateral (4 nodes), VTK type 9.
Tetrahedron = 10
Tetrahedron (4 nodes), VTK type 10.
Hexahedron = 12
Hexahedron (8 nodes), VTK type 12.
Prism = 13
Prism / wedge (6 nodes), VTK type 13.
Pyramid = 14
Pyramid (5 nodes), VTK type 14.
Implementations§
Trait Implementations§
Source§impl Clone for Su2ElementType
impl Clone for Su2ElementType
Source§fn clone(&self) -> Su2ElementType
fn clone(&self) -> Su2ElementType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for Su2ElementType
impl Debug for Su2ElementType
Source§impl Display for Su2ElementType
impl Display for Su2ElementType
Source§impl PartialEq for Su2ElementType
impl PartialEq for Su2ElementType
Source§fn eq(&self, other: &Su2ElementType) -> bool
fn eq(&self, other: &Su2ElementType) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for Su2ElementType
impl Eq for Su2ElementType
impl StructuralPartialEq for Su2ElementType
Auto Trait Implementations§
impl Freeze for Su2ElementType
impl RefUnwindSafe for Su2ElementType
impl Send for Su2ElementType
impl Sync for Su2ElementType
impl Unpin for Su2ElementType
impl UnsafeUnpin for Su2ElementType
impl UnwindSafe for Su2ElementType
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.