walkersw / VTKwrite

Python package to write VTK files in XML format, including time series *without* PVD files
GNU General Public License v3.0
10 stars 4 forks source link

Bug: The cells are considerably longer along the Z direction than XY #2

Closed karpathyan closed 1 year ago

karpathyan commented 1 year ago

Hi, Thanks for fixing the last bug. Currently, while we are trying to create a cell grid, the length of the unit cells is not uniform along the three directions. For example, in the example file structured_ex1.py, when we create a 6x6x2 grid, we should have a cuboid with dimensions, Length:Breadth: Height = 6:6:2. However, here we have a cube with equal sided and the height of the cells (along Z direction) is 3 times that of along X, Y. Could you please fix this? Thanks. Here is an image showing this: Cell_grid

walkersw commented 1 year ago

This is something you can implement yourself.