Fix bug when objects start in a positive halo

Objects with a thickness (triangles and circular sectors) can no longer
extend beyond the grid in the dimension they are aligned to.

Building these objects where the lower extent is aligned with a positive
halo, no longer corrupts memory due to out of bounds memory access
这个提交包含在:
Nathan Mannall
2025-02-21 18:29:11 +00:00
父节点 aecf08f269
当前提交 e9bc7d3978
共有 4 个文件被更改,包括 89 次插入57 次删除

查看文件

@@ -8,6 +8,6 @@
#rx: 0.080 0.080 0.080
#material: 8 0 1 0 half_space
#cylindrical_sector: z 0.07 0.06 0.04 0.12 0.05 30 240 half_space
#cylindrical_sector: z 0.07 0.06 0.04 0.1 0.05 30 240 half_space
#geometry_objects_write: 0 0 0 0.1 0.1 0.1 full_volume