pub struct ControlDict {
pub application: String,
pub start_time: f64,
pub end_time: f64,
pub delta_t: f64,
pub write_interval: f64,
pub write_format: String,
pub write_precision: usize,
}Expand description
Writer for the OpenFOAM system/controlDict file.
Fields§
§application: StringSolver application name (e.g. “icoFoam”, “simpleFoam”).
start_time: f64Simulation start time.
end_time: f64Simulation end time.
delta_t: f64Time step size.
write_interval: f64How often to write results (in time units).
write_format: StringOutput format: “ascii” or “binary”.
write_precision: usizeNumber of significant digits for ASCII output.
Implementations§
Auto Trait Implementations§
impl Freeze for ControlDict
impl RefUnwindSafe for ControlDict
impl Send for ControlDict
impl Sync for ControlDict
impl Unpin for ControlDict
impl UnsafeUnpin for ControlDict
impl UnwindSafe for ControlDict
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<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.