bempp::shapes

Function screen_quadrilaterals

Source
pub fn screen_quadrilaterals<T: RealScalar + Equivalence, C: Communicator>(
    ncells: usize,
    comm: &C,
) -> ParallelGrid<'_, C, SingleElementGrid<T, CiarletElement<T>>>
Expand description

Create a square grid with quadrilateral cells

Create a grid of the square [0,1]^2 with quadrilateral cells. The input ncells is the number of cells along each side of the square.