pub struct TestTrialNumericalQuadratureDefinition {
pub dim: usize,
pub order: usize,
pub npoints: usize,
pub weights: Vec<f64>,
pub test_points: Vec<f64>,
pub trial_points: Vec<f64>,
}
Expand description
Definition of a quadrature rule for double test/trial integrals.
This is necessary in cases where such integrals cannot be evaluated via tensor application of rules for one simplex, such as for integration of weak singularities (e.g. Duffy transformation rules).
Fields§
§dim: usize
The dimension d of a single point.
order: usize
The order of the quadrature rule.
npoints: usize
The number of points of the quadrature rule.
weights: Vec<f64>
The weights of the quadrature rule.
test_points: Vec<f64>
The test point coordinates of the quadrature rule.
A single point has the coordinates p_1, p_2, …, p_d, with d being the dimension of the point (typically, 1, 2, or 3). The vector points stores all points in consecutive order. Hence, the first point starts at position zero, the second point at position d, and the third point at position 2d.
trial_points: Vec<f64>
The trial point coordinates of the quadrature rule.
A single point has the coordinates p_1, p_2, …, p_d, with d being the dimension of the point (typically, 1, 2, or 3). The vector points stores all points in consecutive order. Hence, the first point starts at position zero, the second point at position d, and the third point at position 2d.
Auto Trait Implementations§
impl Freeze for TestTrialNumericalQuadratureDefinition
impl RefUnwindSafe for TestTrialNumericalQuadratureDefinition
impl Send for TestTrialNumericalQuadratureDefinition
impl Sync for TestTrialNumericalQuadratureDefinition
impl Unpin for TestTrialNumericalQuadratureDefinition
impl UnwindSafe for TestTrialNumericalQuadratureDefinition
Blanket Implementations§
§impl<Src, Scheme> ApproxFrom<Src, Scheme> for Srcwhere
Scheme: ApproxScheme,
impl<Src, Scheme> ApproxFrom<Src, Scheme> for Srcwhere
Scheme: ApproxScheme,
§fn approx_from(src: Src) -> Result<Src, <Src as ApproxFrom<Src, Scheme>>::Err>
fn approx_from(src: Src) -> Result<Src, <Src as ApproxFrom<Src, Scheme>>::Err>
§impl<Dst, Src, Scheme> ApproxInto<Dst, Scheme> for Srcwhere
Dst: ApproxFrom<Src, Scheme>,
Scheme: ApproxScheme,
impl<Dst, Src, Scheme> ApproxInto<Dst, Scheme> for Srcwhere
Dst: ApproxFrom<Src, Scheme>,
Scheme: ApproxScheme,
§fn approx_into(self) -> Result<Dst, <Src as ApproxInto<Dst, Scheme>>::Err>
fn approx_into(self) -> Result<Dst, <Src as ApproxInto<Dst, Scheme>>::Err>
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
§impl<T, Dst> ConvAsUtil<Dst> for T
impl<T, Dst> ConvAsUtil<Dst> for T
§impl<T> ConvUtil for T
impl<T> ConvUtil for T
§fn approx_as<Dst>(self) -> Result<Dst, Self::Err>where
Self: Sized + ApproxInto<Dst>,
fn approx_as<Dst>(self) -> Result<Dst, Self::Err>where
Self: Sized + ApproxInto<Dst>,
§fn approx_as_by<Dst, Scheme>(self) -> Result<Dst, Self::Err>where
Self: Sized + ApproxInto<Dst, Scheme>,
Scheme: ApproxScheme,
fn approx_as_by<Dst, Scheme>(self) -> Result<Dst, Self::Err>where
Self: Sized + ApproxInto<Dst, Scheme>,
Scheme: ApproxScheme,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more§impl<T> Pointable for T
impl<T> Pointable for T
§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
self
from the equivalent element of its
superset. Read more§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
self
is actually part of its subset T
(and can be converted to it).§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
self.to_subset
but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
self
to the equivalent element of its superset.