pub struct CompileOptions {
pub subsampling: usize,
pub snap_tolerance: f64,
pub update_model: bool,
pub mesh_check: bool,
}Expand description
Options of compile.
Fields§
§subsampling: usizeSub-samples per axis in each quarter / half cell used by csx to
average materials (N, N³ samples; default 1).
snap_tolerance: f64Relative tolerance for snapping sheets and lines to mesh lines (default 1e-6 of the local cell size).
update_model: boolRe-evaluate parametric values on a clone of the model before
discretising (default true). Set to false if the model is known
to be up to date, to avoid the clone.
mesh_check: boolRun the solver-aware mesh checks (crate::mesh::check_compiled)
when building a Simulation and append their
warnings and errors to its warnings (default true). Not used by
compile itself.
Trait Implementations§
Source§impl Clone for CompileOptions
impl Clone for CompileOptions
Source§impl Debug for CompileOptions
impl Debug for CompileOptions
Source§impl Default for CompileOptions
impl Default for CompileOptions
Source§impl PartialEq for CompileOptions
impl PartialEq for CompileOptions
impl StructuralPartialEq for CompileOptions
Auto Trait Implementations§
impl Freeze for CompileOptions
impl RefUnwindSafe for CompileOptions
impl Send for CompileOptions
impl Sync for CompileOptions
impl Unpin for CompileOptions
impl UnsafeUnpin for CompileOptions
impl UnwindSafe for CompileOptions
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