krzysztofarendt / building3d

Towards 3D building modeling and simulation
MIT License
20 stars 2 forks source link

Some bug in read_buffer, dump_buffer #82

Closed krzysztofarendt closed 1 month ago

krzysztofarendt commented 1 month ago

When examples are run with these lines on:

    dump_buffers(pos_buf, vel_buf, enr_buf, hit_buf, "tmp")
    pos_buf, vel_buf, enr_buf, hit_buf = read_buffers("tmp")

The output plot looks as follows:

image

The same simulation run without these lines:

image
krzysztofarendt commented 1 month ago

Related: https://github.com/krzysztofarendt/building3d/issues/81

krzysztofarendt commented 1 month ago

I don't see this issue anymore:

image image

Results from: https://github.com/krzysztofarendt/building3d/pull/88

krzysztofarendt commented 1 month ago

Seems to be fixed.