rename children and print voxel time
This commit is contained in:
parent
ddb4f2c473
commit
d4f92fbcfb
1 changed files with 5 additions and 3 deletions
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue