pub enum PressurePreconditioner {
Ic0,
Multigrid,
}Expand description
Preconditioner of the pressure PCG solve. ic0 (the default) is an
incomplete Cholesky factor built once per grid and works on every grid.
multigrid is a fixed symmetric multigrid cycle. On an unmasked grid it is
geometric, and strongly anisotropic spacings select line or plane
smoothing. With geometry it aggregates connected fluid cells and uses
point smoothing only, so strong anisotropy can make it slower than ic0.
Strong anisotropy draws warning CFD-W004 in both cases. Both
preconditioners solve the same equation to the same tolerance and
recomputed residual.
Variants§
Ic0
Incomplete Cholesky IC(0) of a slightly shifted operator, built on the first pressure solve and cached in the grid (default).
Multigrid
Fixed symmetric multigrid cycle: geometric on unmasked grids, connected aggregates with geometry. See the pressure multigrid guide.
Trait Implementations§
Source§impl Clone for PressurePreconditioner
impl Clone for PressurePreconditioner
impl Copy for PressurePreconditioner
Source§impl Debug for PressurePreconditioner
impl Debug for PressurePreconditioner
Source§impl Default for PressurePreconditioner
impl Default for PressurePreconditioner
Source§impl<'de> Deserialize<'de> for PressurePreconditioner
impl<'de> Deserialize<'de> for PressurePreconditioner
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl Eq for PressurePreconditioner
Source§impl JsonSchema for PressurePreconditioner
impl JsonSchema for PressurePreconditioner
Source§fn schema_name() -> String
fn schema_name() -> String
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
$ref keyword. Read moreSource§impl PartialEq for PressurePreconditioner
impl PartialEq for PressurePreconditioner
Source§impl Serialize for PressurePreconditioner
impl Serialize for PressurePreconditioner
impl StructuralPartialEq for PressurePreconditioner
Auto Trait Implementations§
impl Forget for PressurePreconditioner
impl Freeze for PressurePreconditioner
impl Move for PressurePreconditioner
impl RefUnwindSafe for PressurePreconditioner
impl Send for PressurePreconditioner
impl Sync for PressurePreconditioner
impl Unpin for PressurePreconditioner
impl UnsafeUnpin for PressurePreconditioner
impl UnwindSafe for PressurePreconditioner
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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> ⓘ
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> ⓘ
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