Skip to main content

Summary

Struct Summary 

Source
pub struct Summary {
Show 33 fields pub schema_version: String, pub name: String, pub case_sha256: String, pub physics_sha256: String, pub initial_state_sha256: String, pub termination: String, pub assessment: String, pub error: Option<String>, pub model_scope: String, pub experimental_validation: String, pub steps: usize, pub physical_time_s: f64, pub elapsed_s: f64, pub pressure_iterations: usize, pub momentum_solver_iterations: Option<usize>, pub turbulent_floor_events: usize, pub fluid_cells: usize, pub solid_cells: usize, pub fluid_components: usize, pub mask_sha256: String, pub estimated_peak_mib: f64, pub checks: Vec<Check>, pub constituents: Vec<ScalarEvidence>, pub particulate_matter: BTreeMap<String, ParticulateEvidence>, pub vegetation: Option<Evidence>, pub velocity_max_m_s: f64, pub momentum_residual: Option<f64>, pub turbulence_residual: Option<f64>, pub receptor_relative_change: Option<f64>, pub source_sha256: String, pub build_version: String, pub threads: usize, pub frozen_flow: Option<FrozenFlowEvidence>,
}
Expand description

The result of one native run (schema cfd-craft.result/0.1), written as summary.json: identities, the stopping reason and numerical verdict, work counters, geometry, the recomputed checks and per-constituent evidence. termination says why execution stopped; assessment says what the checks support; experimental validation is a separate question. Null means unavailable in the stated context, not zero.

Fields§

§schema_version: String

Always cfd-craft.result/0.1.

§name: String

The case name.

§case_sha256: String

SHA-256 of the consumed, normalized case as compact JSON.

§physics_sha256: String

Physics hash of the case: the case without name, run and output. Checkpoints are compatible across cases with the same value.

§initial_state_sha256: String

SHA-256 of the starting state (cold or restored), so restarts from different states stay distinguishable.

§termination: String

Why execution stopped: completed, iteration_limit (step budget), wall_time_limit, cancelled or diverged (a failed step, recorded in error).

§assessment: String

Numerical verdict: steady_discrete_solution or transient_interval_completed (completed with every check passed), failed_checks (completed, some check failed) or incomplete (any other termination). Never upgraded because the last state looks reasonable.

§error: Option<String>

The failure that stopped the run, usually with its code (for example CFD-E033: pressure iteration limit 100), or cancelled / wall_time_limit when the stop came inside a step; null otherwise.

§model_scope: String

Model label: incompressible_laminar, prescribed_flow_passive_transport or neutral_k_epsilon_rough_wall; the CLI prefixes preview: for a coarsened preview.

§experimental_validation: String

Always not_validated; see validation/data-inventory.json: numerical acceptance is not experimental validation.

§steps: usize

Retained steps (outer iterations with an implicit steady algorithm), cumulative across restarts.

§physical_time_s: f64

Time covered in seconds; pseudo-time in steady mode.

§elapsed_s: f64

Wall seconds of this invocation, from the creation of its control.

§pressure_iterations: usize

Cumulative pressure PCG iterations of the retained steps.

§momentum_solver_iterations: Option<usize>

Inner iterations of implicit momentum-correction solves, when selected.

§turbulent_floor_events: usize

Turbulence updates that hit the k or epsilon floor; any event fails the turbulence checks.

§fluid_cells: usize

Number of fluid cells.

§solid_cells: usize

Number of solid cells.

§fluid_components: usize

Number of face-connected fluid regions, each with its own pressure gauge unless it touches an outlet.

§mask_sha256: String

SHA-256 of the cell mask, one byte per cell (1 fluid, 0 solid) in cell order; also in geometry.json.

§estimated_peak_mib: f64

The preflight memory estimate of the case check, in MiB.

§checks: Vec<Check>

Every recomputed check of the returned state.

§constituents: Vec<ScalarEvidence>

Evidence for each constituent, in case order.

§particulate_matter: BTreeMap<String, ParticulateEvidence>

PM2.5/PM10 airborne mass and receptor sums for spherical particle bins. No interpolation within a bin: its representative aerodynamic diameter is either below the cutoff or excluded. Omitted without particles.

§vegetation: Option<Evidence>

Recomputed porous canopy drag/coverage, absent without nonzero LAD.

§velocity_max_m_s: f64

Largest absolute face velocity in m/s.

§momentum_residual: Option<f64>

Largest normalized momentum residual, null for prescribed flow.

§turbulence_residual: Option<f64>

Largest normalized k or epsilon residual, neutral_rans only.

§receptor_relative_change: Option<f64>

Largest relative change between the means of three successive monitor windows over all monitor columns (flow norm, constituent masses, receptor values and, with neutral_rans, mean k and epsilon); null before three full windows. The monitor_stability value of steady runs.

§source_sha256: String

Source fingerprint of the producing build. A library run reports the core crate’s; the CLI and the Python binding combine it with their own.

§build_version: String

Package version and compiler of the producing build, as <version>; <rustc version>.

§threads: usize

The case’s declared run.threads, not a measurement of the pool.

§frozen_flow: Option<FrozenFlowEvidence>

Optional verified fixed-flow initialization and zero-flow-update evidence. Ordinary coupled runs omit this field.

Trait Implementations§

Source§

impl Clone for Summary

Source§

fn clone(&self) -> Self

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for Summary

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for Summary

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl JsonSchema for Summary

Source§

fn schema_name() -> String

The name of the generated JSON Schema. Read more
Source§

fn schema_id() -> Cow<'static, str>

Returns a string that uniquely identifies the schema produced by this type. Read more
Source§

fn json_schema(generator: &mut SchemaGenerator) -> Schema

Generates a JSON Schema for this type. Read more
Source§

fn is_referenceable() -> bool

Whether JSON Schemas generated for this type should be re-used where possible using the $ref keyword. Read more
Source§

impl Serialize for Summary

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

Source§

impl<T> DynClone for T
where T: Clone,

Source§

fn __clone_box(&self, _: Private) -> *mut ()

Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoEither for T

Source§

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 more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
where F: FnOnce(&Self) -> bool,

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
Source§

impl<T> Pointable for T

Source§

const ALIGN: usize

The alignment of pointer.
Source§

type Init = T

The type for initializers.
Source§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
Source§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
Source§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
Source§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.