MontePy
MontePy copied to clipboard
problem.surfaces.shift_x, y, z
In GitLab by @tjlaboss on May 25, 2022, 11:25
Requires #32.
Once it is easy to shift a surface in x, y, z:
a numbered object collection like 'pz', 'c_z', etc. could be made, and called something like 'shiftable_z' or whatever.
Then a user can say for surf in problem.shiftable_z: surf.do_thing(dz)
I like it. Not sure I like the name though.
Probably would need to make a new generator object.
Question: if there's a surface that we know should support this sort of translation but doesn't, should that raise an error?
In GitLab by @tjlaboss on May 25, 2022, 11:59
Yes, a NotImplementedError