ndgrid/
shapes.rs

1//! Functions to create simple example grids
2
3mod cube;
4mod regular_sphere;
5mod screen;
6
7pub use cube::{
8    unit_cube, unit_cube_boundary, unit_cube_edges, unit_interval, unit_square,
9    unit_square_boundary,
10};
11#[cfg(feature = "mpi")]
12pub use cube::{
13    unit_cube_boundary_distributed, unit_cube_distributed, unit_cube_edges_distributed,
14    unit_interval_distributed, unit_square_boundary_distributed, unit_square_distributed,
15};
16pub use regular_sphere::regular_sphere;
17#[cfg(feature = "mpi")]
18pub use regular_sphere::regular_sphere_distributed;
19pub use screen::screen;
20#[cfg(feature = "mpi")]
21pub use screen::screen_distributed;