pub struct Subelement {
pub xi_center: f64,
pub eta_center: f64,
pub factor: f64,
pub gauss_order: usize,
pub tri_vertices: Option<[(f64, f64); 3]>,
}Expand description
Subelement data for adaptive integration
Fields§
§xi_center: f64Center local coordinate (xi) - used for quads
eta_center: f64Center local coordinate (eta) - used for quads
factor: f64Dimension factor (2^-j for subdivision level j) - used for quads
gauss_order: usizeGauss order for this subelement
tri_vertices: Option<[(f64, f64); 3]>Vertex local coordinates for triangular subelements (for affine mapping) Format: [(xi0, eta0), (xi1, eta1), (xi2, eta2)]
Trait Implementations§
Source§impl Clone for Subelement
impl Clone for Subelement
Source§fn clone(&self) -> Subelement
fn clone(&self) -> Subelement
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for Subelement
impl RefUnwindSafe for Subelement
impl Send for Subelement
impl Sync for Subelement
impl Unpin for Subelement
impl UnsafeUnpin for Subelement
impl UnwindSafe for Subelement
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<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more