pub struct PreparedFlow {
pub result: RunResult,
/* private fields */
}Expand description
Immutable, bounded accepted flow and its represented topology. Source and receptor choices may change between responses; the flow case may not.
Fields§
§result: RunResultActual accepted native flow result, suitable for a separate sealed archive.
Implementations§
Source§impl PreparedFlow
impl PreparedFlow
Sourcepub fn prepare(case: &Case, control: &Control) -> Result<Self>
pub fn prepare(case: &Case, control: &Control) -> Result<Self>
Prepare one cold accepted flow. A source-response study requires steady, linear-upwind transport and zero initial concentration (CFD-E089).
Sourcepub fn preparation_case(case: &Case) -> Result<Case>
pub fn preparation_case(case: &Case) -> Result<Case>
Validate all original source/receptor supports before preparing a flow.
Sourcepub fn from_accepted(case: &Case, result: RunResult) -> Result<Self>
pub fn from_accepted(case: &Case, result: RunResult) -> Result<Self>
Adopt a separately archived flow preparation, preserving failed-flow archives at the caller. Identity and all field gates are checked again.
Auto Trait Implementations§
impl !Freeze for PreparedFlow
impl Forget for PreparedFlow
impl Move for PreparedFlow
impl RefUnwindSafe for PreparedFlow
impl Send for PreparedFlow
impl Sync for PreparedFlow
impl Unpin for PreparedFlow
impl UnsafeUnpin for PreparedFlow
impl UnwindSafe for PreparedFlow
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> 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