Skip to content

Commit 526bc88

Browse files
committed
Updating documentation on supported formats
1 parent 938a880 commit 526bc88

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

docs/source/usersguide/processing.rst

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,15 @@ VTK Mesh File Generation
9797
------------------------
9898

9999
VTK files of OpenMC meshes can be created using the
100-
:meth:`openmc.Mesh.write_data_to_vtk` method. Data can be applied to the
100+
:meth:`openmc.Mesh.write_data_to_vtk` method. This method supports several VTK
101+
formats depending on the mesh type. Structured meshes
102+
(:class:`~openmc.RegularMesh`, :class:`~openmc.RectilinearMesh`,
103+
:class:`~openmc.CylindricalMesh`, and :class:`~openmc.SphericalMesh`) can be
104+
exported to legacy VTK format (``.vtk``). The :class:`~openmc.UnstructuredMesh`
105+
class supports VTK unstructured grid formats (``.vtu``) as well as an HDF5-based
106+
format (``.vtkhdf``) that does not require the ``vtk`` module to write.
107+
108+
Data can be applied to the
101109
elements of the resulting mesh from mesh filter objects. This data can be
102110
provided either as a flat array or, in the case of structured meshes
103111
(:class:`~openmc.RegularMesh`, :class:`~openmc.RectilinearMesh`,

0 commit comments

Comments
 (0)