pub struct DiscretizationCapability {
pub cell_type: CellType,
pub dimension: usize,
pub basis_families: &'static [BasisFamily],
pub degree_range: (usize, usize),
pub quadrature_families: &'static [QuadratureFamily],
pub geometry_order_range: (usize, usize),
pub finite_volume: bool,
}Expand description
One row in the supported PetscFE/PetscFV-equivalent discretization matrix.
Fields§
§cell_type: CellTypeCanonical cell topology.
dimension: usizeTopological dimension.
basis_families: &'static [BasisFamily]Lagrange node/basis families supported for this topology.
degree_range: (usize, usize)Inclusive polynomial degree range supported by the runtime tabulator.
quadrature_families: &'static [QuadratureFamily]Quadrature families supported for this topology.
geometry_order_range: (usize, usize)Inclusive coordinate geometry order range supported by element assembly.
finite_volume: boolWhether cell-centered FV stencils/geometry are supported.
Trait Implementations§
Source§impl Clone for DiscretizationCapability
impl Clone for DiscretizationCapability
Source§fn clone(&self) -> DiscretizationCapability
fn clone(&self) -> DiscretizationCapability
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 DiscretizationCapability
Source§impl Debug for DiscretizationCapability
impl Debug for DiscretizationCapability
impl Eq for DiscretizationCapability
Source§impl PartialEq for DiscretizationCapability
impl PartialEq for DiscretizationCapability
impl StructuralPartialEq for DiscretizationCapability
Auto Trait Implementations§
impl Freeze for DiscretizationCapability
impl RefUnwindSafe for DiscretizationCapability
impl Send for DiscretizationCapability
impl Sync for DiscretizationCapability
impl Unpin for DiscretizationCapability
impl UnsafeUnpin for DiscretizationCapability
impl UnwindSafe for DiscretizationCapability
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