pub struct MetricNormalizationControls {
pub target_complexity: Option<f64>,
pub gradation: Option<f64>,
pub hausdorff_number: Option<f64>,
pub min_anisotropy: Option<f64>,
pub max_anisotropy: Option<f64>,
pub min_magnitude: Option<f64>,
pub max_magnitude: Option<f64>,
}Expand description
Controls matching DMPLEX-style metric normalization knobs.
The controls are intentionally backend-neutral: they transform the metric field before selection/refinement and can later be passed unchanged to external remeshers that implement equivalent options.
Fields§
§target_complexity: Option<f64>Desired global metric complexity. Values > 0 rescale metric magnitudes.
gradation: Option<f64>Maximum allowed cell-to-cell metric gradation ratio.
hausdorff_number: Option<f64>Hausdorff tolerance carried for remeshing backends.
min_anisotropy: Option<f64>Lower bound for edge anisotropy ratios.
max_anisotropy: Option<f64>Upper bound for edge anisotropy ratios.
min_magnitude: Option<f64>Lower bound for tensor diagonal magnitudes.
max_magnitude: Option<f64>Upper bound for tensor diagonal magnitudes.
Implementations§
Source§impl MetricNormalizationControls
impl MetricNormalizationControls
Sourcepub fn is_identity(&self) -> bool
pub fn is_identity(&self) -> bool
Returns true when no normalization or backend policy controls are set.
Trait Implementations§
Source§impl Clone for MetricNormalizationControls
impl Clone for MetricNormalizationControls
Source§fn clone(&self) -> MetricNormalizationControls
fn clone(&self) -> MetricNormalizationControls
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for MetricNormalizationControls
Source§impl Debug for MetricNormalizationControls
impl Debug for MetricNormalizationControls
Source§impl Default for MetricNormalizationControls
impl Default for MetricNormalizationControls
Source§fn default() -> MetricNormalizationControls
fn default() -> MetricNormalizationControls
Returns the “default value” for a type. Read more
impl StructuralPartialEq for MetricNormalizationControls
Auto Trait Implementations§
impl Freeze for MetricNormalizationControls
impl RefUnwindSafe for MetricNormalizationControls
impl Send for MetricNormalizationControls
impl Sync for MetricNormalizationControls
impl Unpin for MetricNormalizationControls
impl UnsafeUnpin for MetricNormalizationControls
impl UnwindSafe for MetricNormalizationControls
Blanket Implementations§
Source§impl<T> AccumulatePathExt for T
impl<T> AccumulatePathExt for T
fn accumulate_path<O, I>(path: I) -> Owhere
O: Orientation,
I: IntoIterator<Item = O>,
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