pub trait SingularQuadratureGenerator {
    // Required method
    fn get_singular_rule(
        &self,
        order: usize,
        connectivity: CellToCellConnectivity,
    ) -> Result<(NumericalQuadratureDefinition, NumericalQuadratureDefinition), InvalidQuadrature>;
}
Expand description

A trait for singular quadrature rules. These are rules that depend on the connectivity information between two cells. So we need to supply the Connectivity structure. The result is two separate quadrature containers for the two cells that are integrated against each other.

Required Methods§

source

fn get_singular_rule( &self, order: usize, connectivity: CellToCellConnectivity, ) -> Result<(NumericalQuadratureDefinition, NumericalQuadratureDefinition), InvalidQuadrature>

Return the quadrature rule for two cells.

The method takes an order parameter and connectivity information that specifies how the two cells are linked to each other.

Implementors§