rename children and print voxel time

This commit is contained in:
jan 2018-03-30 16:52:18 -07:00
commit d4f92fbcfb

View file

@ -220,7 +220,9 @@ def test_voxelization():
edges = [numpy.linspace(-1, 3, grid_resolution) for _ in range(3)]
logger.info(f'Voxelizing a tetrahedron to a grid with moments of order {POLY_ORDER}')
t0 = perf_counter()
grid = voxelize(poly, edges, order=POLY_ORDER)
print(f'voxel time: {perf_counter() - t0}')
visualize_voxels(grid)