Skip to content

Commit 48a74ba

Browse files
authored
Merge pull request #86 from fusion-energy/develop
mesh overwritting bug fix
2 parents 5ae6f52 + 7c8f6f5 commit 48a74ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

openmc_dagmc_wrapper/Tally.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ def add_mesh_filter(self, bounding_box):
271271
else:
272272
self.bounding_box = bounding_box
273273

274-
mesh = openmc.RegularMesh(mesh_id=1, name="3d_mesh")
274+
mesh = openmc.RegularMesh(name="3d_mesh")
275275
mesh.dimension = self.mesh_resolution
276276
mesh.lower_left = self.bounding_box[0]
277277
mesh.upper_right = self.bounding_box[1]

0 commit comments

Comments
 (0)