unit_square

Function unit_square 

Source
pub fn unit_square<T: Scalar>(
    nx: usize,
    ny: usize,
    cell_type: ReferenceCellType,
) -> SingleElementGrid<T, CiarletElement<T, IdentityMap, T>>
Expand description

Create a unit square grid

The unit square is the square with corners at (0,0), (1,0), (0,1) and (1,1)