Trait bempp::traits::PotentialIntegrand

source ·
pub unsafe trait PotentialIntegrand {
    type T: RlstScalar;

    // Required method
    fn evaluate(
        &self,
        table: &Array<Self::T, BaseArray<Self::T, VectorContainer<Self::T>, DIM>, DIM>,
        point_index: usize,
        eval_index: usize,
        basis_index: usize,
        k: &Array<Self::T, BaseArray<Self::T, VectorContainer<Self::T>, DIM>, DIM>,
        geometry: &impl CellGeometry<T = <Self::T as RlstScalar>::Real>,
    ) -> Self::T;
}
Expand description

Integrand

§Safety

This trait’s methods use unsafe access

Required Associated Types§

source

type T: RlstScalar

Scalar type

Required Methods§

source

fn evaluate( &self, table: &Array<Self::T, BaseArray<Self::T, VectorContainer<Self::T>, DIM>, DIM>, point_index: usize, eval_index: usize, basis_index: usize, k: &Array<Self::T, BaseArray<Self::T, VectorContainer<Self::T>, DIM>, DIM>, geometry: &impl CellGeometry<T = <Self::T as RlstScalar>::Real>, ) -> Self::T

Evaluate integrand

Object Safety§

This trait is not object safe.

Implementors§