From 8657123baceeb9ac91fe06d991c60db38950e10f Mon Sep 17 00:00:00 2001 From: Patrick Shriwise Date: Fri, 30 Dec 2022 07:21:11 -0600 Subject: [PATCH] Add some documentation for the new MeshSpatial class. --- docs/source/pythonapi/stats.rst | 1 + docs/source/usersguide/settings.rst | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/source/pythonapi/stats.rst b/docs/source/pythonapi/stats.rst index fb6383fc7..ffb4fcda2 100644 --- a/docs/source/pythonapi/stats.rst +++ b/docs/source/pythonapi/stats.rst @@ -57,6 +57,7 @@ Spatial Distributions openmc.stats.SphericalIndependent openmc.stats.Box openmc.stats.Point + openmc.stats.MeshSpatial .. autosummary:: :toctree: generated diff --git a/docs/source/usersguide/settings.rst b/docs/source/usersguide/settings.rst index 336982ac6..19373d26e 100644 --- a/docs/source/usersguide/settings.rst +++ b/docs/source/usersguide/settings.rst @@ -187,7 +187,9 @@ The spatial distribution can be set equal to a sub-class of :class:`openmc.stats.CartesianIndependent`. To independently specify distributions using spherical or cylindrical coordinates, you can use :class:`openmc.stats.SphericalIndependent` or -:class:`openmc.stats.CylindricalIndependent`, respectively. +:class:`openmc.stats.CylindricalIndependent`, respectively. Meshes can also be +used to represent spatial distributions with :class:`openmc.stats.MeshSpatial` +by specifying a mesh and source strengths for each mesh element. The angular distribution can be set equal to a sub-class of :class:`openmc.stats.UnitSphere` such as :class:`openmc.stats.Isotropic`,