pub struct BoundarySpec {
pub elem_start: usize,
pub elem_end: usize,
pub bc_type: String,
pub value_re: f64,
pub curve_re: i32,
pub value_im: f64,
pub curve_im: i32,
}Expand description
Boundary condition specification
Fields§
§elem_start: usizeElement range start
elem_end: usizeElement range end
bc_type: StringBoundary condition type (“VELO”, “PRES”, “ADMI”)
value_re: f64Real part of BC value
curve_re: i32Curve index for real part (-1 = constant)
value_im: f64Imaginary part of BC value
curve_im: i32Curve index for imaginary part (-1 = constant)
Trait Implementations§
Source§impl Clone for BoundarySpec
impl Clone for BoundarySpec
Source§fn clone(&self) -> BoundarySpec
fn clone(&self) -> BoundarySpec
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 BoundarySpec
impl RefUnwindSafe for BoundarySpec
impl Send for BoundarySpec
impl Sync for BoundarySpec
impl Unpin for BoundarySpec
impl UnsafeUnpin for BoundarySpec
impl UnwindSafe for BoundarySpec
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