back to .dimension

This commit is contained in:
RemDelaporteMathurin 2022-06-29 14:26:27 +02:00
parent 1266e433c8
commit 58ccb82cf5

View file

@ -32,7 +32,7 @@ def test_write_data_to_vtk(mesh, tmpdir):
# BUILD
filename = Path(tmpdir) / "out.vtk"
data = np.random.random(mesh.num_mesh_cells)
data = np.random.random(mesh.dimension[0]*mesh.dimension[1]*mesh.dimension[2])
# RUN
mesh.write_data_to_vtk(filename=filename, datasets={"label1": data, "label2": data})