pub enum StructuralPreconditionerPolicy {
Auto,
Serial,
Parallel,
}Expand description
Execution policy for the structural rigid-body two-level preconditioner.
Variants§
Auto
Use the parallel fine/coarse transfer kernels only for large structural systems.
Serial
Use the serial preconditioner implementation.
Parallel
Force parallel block-Jacobi, restriction, and prolongation kernels.
Trait Implementations§
Source§impl Clone for StructuralPreconditionerPolicy
impl Clone for StructuralPreconditionerPolicy
Source§fn clone(&self) -> StructuralPreconditionerPolicy
fn clone(&self) -> StructuralPreconditionerPolicy
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 moreimpl Copy for StructuralPreconditionerPolicy
impl Eq for StructuralPreconditionerPolicy
impl StructuralPartialEq for StructuralPreconditionerPolicy
Auto Trait Implementations§
impl Freeze for StructuralPreconditionerPolicy
impl RefUnwindSafe for StructuralPreconditionerPolicy
impl Send for StructuralPreconditionerPolicy
impl Sync for StructuralPreconditionerPolicy
impl Unpin for StructuralPreconditionerPolicy
impl UnsafeUnpin for StructuralPreconditionerPolicy
impl UnwindSafe for StructuralPreconditionerPolicy
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