Skip to content

Commit

Permalink
Change element expansion example in docs to use weight fractions
Browse files Browse the repository at this point in the history
  • Loading branch information
paulromano committed Jun 28, 2023
1 parent 51ee8fe commit d84fc05
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions doc/source/user/plugins.rst
Original file line number Diff line number Diff line change
Expand Up @@ -242,10 +242,10 @@ MCNP input file, this feature can be utilized by adding a `filter section
.. code-block:: jinja
{% filter expand_element %}
m1 24000.70c 0.17
26000.70c 0.79
28000.70c 0.10
42000.70c 0.02
m1 24000.70c -0.17
26000.70c -0.79
28000.70c -0.10
42000.70c -0.02
{% endfilter %}
Natural elements can be represented using the standard ZAID identifiers as above
Expand All @@ -254,10 +254,10 @@ Natural elements can be represented using the standard ZAID identifiers as above
.. code-block:: jinja
{% filter expand_element %}
m1 Cr.70c 0.17
Fe.70c 0.79
Ni.70c 0.10
Mo.70c 0.02
m1 Cr.70c -0.17
Fe.70c -0.79
Ni.70c -0.10
Mo.70c -0.02
{% endfilter %}
The ``expand_element`` custom filter also accepts a single argument specifying
Expand All @@ -266,10 +266,10 @@ what cross section suffix to apply by default when one is missing:
.. code-block:: jinja
{% filter expand_element('70c') %}
m1 Cr 0.17
Fe 0.79
Ni 0.10
Mo 0.02
m1 Cr -0.17
Fe -0.79
Ni -0.10
Mo -0.02
{% endfilter %}
By default, :class:`~watts.PluginMCNP` will look for the ``xsdir`` file found
Expand Down

0 comments on commit d84fc05

Please sign in to comment.