Skip to content

Generalize makesphere to also support FoamGrid spheres

Previously, makesphere would only create balls rather than spheres, i.e., 3d grids in 3d space with a spherical boundary. With this patch, when makesphere receives a grid with dim==2 and dimworld==3, then an actually spherical shell is created.

Merge request reports

Loading