pshriwise / openmc

OpenMC Monte Carlo Code
http://openmc.readthedocs.io/
Other
5 stars 2 forks source link

Fix in StructuredMesh::sample_element #26

Closed paulromano closed 1 year ago

paulromano commented 1 year ago

Handle number of dimensions properly when sampling location in structured mesh. For dimensions < 3, the other coordinates default to zero.

pshriwise commented 1 year ago

Thanks @paulromano!