pub struct Check {
pub name: String,
pub value: Option<f64>,
pub threshold: f64,
pub passed: bool,
pub method: String,
}Expand description
One numerical check, recomputed by the solver from the current fields. A
check passes when its value is finite and at most its threshold.
Continuity and residual values are normalized with the case’s velocity and
length scales (neutral_rans: speed_m_s and reference_height_m;
otherwise the reference speed, at least 1 m/s, and the shortest domain
side).
Fields§
§name: StringWhat is checked: local_continuity, boundary_volume_balance,
steady_momentum_equations, steady_turbulence_equations,
turbulence_floor_events, monitor_stability, or per constituent
<id>.mass_budget, <id>.negative_mass, <id>.steady_equation and
<id>.steady_mass_balance. The steady checks appear in steady mode
only, the turbulence checks with neutral_rans only.
value: Option<f64>The measured value, or null when it is not finite or not available,
such as monitor_stability before three full monitor windows. A null
value fails.
threshold: f64Largest accepted value, a fixed gate or the tolerance from the case.
passed: boolWhether the value is finite and at most the threshold.
method: StringHow the value was obtained, for example application recomputation from current fields.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Check
impl<'de> Deserialize<'de> for Check
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>,
Source§impl JsonSchema for Check
impl JsonSchema for Check
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 moreAuto Trait Implementations§
impl Forget for Check
impl Freeze for Check
impl Move for Check
impl RefUnwindSafe for Check
impl Send for Check
impl Sync for Check
impl Unpin for Check
impl UnsafeUnpin for Check
impl UnwindSafe for Check
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