pub struct DmplexMetricProfile {Show 17 fields
pub refine_max_edge_length: f64,
pub coarsen_max_edge_length: f64,
pub split_edge_length: f64,
pub split_face_length: f64,
pub check_geometry: bool,
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>,
pub backend: DmplexMetricBackendProfile,
pub transfer: DmplexTransferProfile,
pub fixed_boundary_labels: Vec<(String, i32)>,
pub protected_region_labels: Vec<(String, i32)>,
pub relax_region_labels: Vec<(String, i32)>,
}Expand description
Metric-adaptation profile mirroring common DMPLEX metric options.
Fields§
§refine_max_edge_length: f64§coarsen_max_edge_length: f64§split_edge_length: f64§split_face_length: f64§check_geometry: bool§target_complexity: Option<f64>§gradation: Option<f64>§hausdorff_number: Option<f64>§min_anisotropy: Option<f64>§max_anisotropy: Option<f64>§min_magnitude: Option<f64>§max_magnitude: Option<f64>§backend: DmplexMetricBackendProfile§transfer: DmplexTransferProfile§fixed_boundary_labels: Vec<(String, i32)>§protected_region_labels: Vec<(String, i32)>§relax_region_labels: Vec<(String, i32)>Implementations§
Source§impl DmplexMetricProfile
impl DmplexMetricProfile
Sourcepub fn metric_thresholds(&self) -> MetricThresholds
pub fn metric_thresholds(&self) -> MetricThresholds
Lower numeric metric thresholds into mesh-sieve’s adaptation thresholds.
Sourcepub fn normalization_controls(&self) -> MetricNormalizationControls
pub fn normalization_controls(&self) -> MetricNormalizationControls
Lower DMPLEX-style normalization controls.
Sourcepub fn label_policy(&self) -> MeshDMAdaptLabelPolicy
pub fn label_policy(&self) -> MeshDMAdaptLabelPolicy
Lower label policy fields into the DM-level adaptation policy.
Sourcepub fn metric_adapt_options(&self) -> MeshDMMetricAdaptOptions
pub fn metric_adapt_options(&self) -> MeshDMMetricAdaptOptions
Lower this profile into DM metric adaptation options.
Trait Implementations§
Source§impl Clone for DmplexMetricProfile
impl Clone for DmplexMetricProfile
Source§fn clone(&self) -> DmplexMetricProfile
fn clone(&self) -> DmplexMetricProfile
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 moreSource§impl Debug for DmplexMetricProfile
impl Debug for DmplexMetricProfile
Source§impl Default for DmplexMetricProfile
impl Default for DmplexMetricProfile
Source§impl<'de> Deserialize<'de> for DmplexMetricProfile
impl<'de> Deserialize<'de> for DmplexMetricProfile
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for DmplexMetricProfile
impl PartialEq for DmplexMetricProfile
Source§impl Serialize for DmplexMetricProfile
impl Serialize for DmplexMetricProfile
impl StructuralPartialEq for DmplexMetricProfile
Auto Trait Implementations§
impl Freeze for DmplexMetricProfile
impl RefUnwindSafe for DmplexMetricProfile
impl Send for DmplexMetricProfile
impl Sync for DmplexMetricProfile
impl Unpin for DmplexMetricProfile
impl UnsafeUnpin for DmplexMetricProfile
impl UnwindSafe for DmplexMetricProfile
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