pub struct MeshParams {
pub target_size: f64,
pub max_size: f64,
pub min_size: f64,
pub quality_threshold: f64,
pub use_delaunay: bool,
pub max_iterations: usize,
pub max_nodes: usize,
}Expand description
Mesh generation parameters.
Fields§
§target_size: f64Target element size (approximate edge length)
max_size: f64Maximum element size
min_size: f64Minimum element size
quality_threshold: f64Quality threshold (0-1, higher = better quality)
use_delaunay: boolWhether to use Delaunay refinement
max_iterations: usizeMaximum refinement iterations
max_nodes: usizeMaximum number of tri3 nodes the uniform refine step may create.
(The internal cap is max_nodes / 4 tri3 nodes, to bound the FEM mesh
size for thin-walled sections whose uniform refinement would otherwise
explode and make the direct solver impractically slow.)
Trait Implementations§
Auto Trait Implementations§
impl Forget for MeshParams
impl Freeze for MeshParams
impl Move for MeshParams
impl RefUnwindSafe for MeshParams
impl Send for MeshParams
impl Sync for MeshParams
impl Unpin for MeshParams
impl UnsafeUnpin for MeshParams
impl UnwindSafe for MeshParams
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