Description
Currently CylindricalMesh defaults to height axis vector oriented along the Z-axis.
CylindricalMesh orientation can be changed with filters, see below, but MeshSource and mesh.material_volumes cannot leverage the filter rotation
<mesh id="4" type="cylindrical">
<r_grid>0.0 5 10 20 </r_grid>
<phi_grid>0.0 6.283185307179586</phi_grid>
<z_grid>-100 -50 50 100</z_grid>
<origin>0.0 0.0 0.0</origin>
</mesh>
<filter id="2" type="mesh" rotation="-90.0 0.0 0.0">
<bins>4</bins>
</filter>
As was done for CylindricalIndependent, we should implement arbitrary orientation.
There are other similar types that lack this kind of arbitrary orientation support, grouped:
- SphericalMesh, CylindricalMesh
- SphericalIndependent (CylindricalIndependent had r_dir, z_dir implemented, Spherical did not)
- Follow-ups (WeightWindows)
Probably best broken up into multiple PRs matching the types above.
Compatibility
new keywords
r_dir, z_dir, polar_dir, azimuthal_dir etc
Description
Currently CylindricalMesh defaults to height axis vector oriented along the Z-axis.
CylindricalMesh orientation can be changed with filters, see below, but MeshSource and mesh.material_volumes cannot leverage the filter rotation
As was done for CylindricalIndependent, we should implement arbitrary orientation.
There are other similar types that lack this kind of arbitrary orientation support, grouped:
Probably best broken up into multiple PRs matching the types above.
Compatibility
new keywords
r_dir, z_dir, polar_dir, azimuthal_dir etc