pub struct Run {
pub mode: Mode,
pub end_time_s: f64,
pub max_steps: usize,
pub wall_time_limit_s: f64,
pub threads: usize,
pub memory_limit_mib: usize,
}Expand description
Mode, endpoint and execution budgets. The whole group is excluded from the physics hash, so budgets can change between a run and its restart.
Fields§
§mode: ModeSteady or transient; see Mode.
end_time_s: f64Physical end time of a transient run in seconds: finite, positive and at most 1e12 (CFD-E009, CFD-E022). It does not bound a steady run.
max_steps: usizeMaximum number of retained steps (outer iterations with an implicit
steady algorithm), counted from the cold start including the steps of
a restart checkpoint; nonzero (CFD-E008). Reaching it ends the run as
iteration_limit.
wall_time_limit_s: f64Wall-time allowance in seconds: finite, positive and at most seven
days (CFD-E009, CFD-E022). The CLI and the Python binding enforce it;
a Rust caller passes it, or its own limit, to Control::new.
threads: usizeWorker threads, 1..64 (CFD-E008). The CLI and the Python binding solve on a pool of this size; the Rust library does not create one.
memory_limit_mib: usizeMemory budget in MiB for the preflight estimate (CFD-E006); a restart checkpoint may be at most half of it (CFD-E065). An estimate check, not an enforced process limit.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Run
impl<'de> Deserialize<'de> for Run
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 Run
impl JsonSchema for Run
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 Run
impl Freeze for Run
impl Move for Run
impl RefUnwindSafe for Run
impl Send for Run
impl Sync for Run
impl Unpin for Run
impl UnsafeUnpin for Run
impl UnwindSafe for Run
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