Skip to content

Commit d84fc05

Browse files
committed
Change element expansion example in docs to use weight fractions
1 parent 51ee8fe commit d84fc05

1 file changed

Lines changed: 12 additions & 12 deletions

File tree

doc/source/user/plugins.rst

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -242,10 +242,10 @@ MCNP input file, this feature can be utilized by adding a `filter section
242242
.. code-block:: jinja
243243
244244
{% filter expand_element %}
245-
m1 24000.70c 0.17
246-
26000.70c 0.79
247-
28000.70c 0.10
248-
42000.70c 0.02
245+
m1 24000.70c -0.17
246+
26000.70c -0.79
247+
28000.70c -0.10
248+
42000.70c -0.02
249249
{% endfilter %}
250250
251251
Natural elements can be represented using the standard ZAID identifiers as above
@@ -254,10 +254,10 @@ Natural elements can be represented using the standard ZAID identifiers as above
254254
.. code-block:: jinja
255255
256256
{% filter expand_element %}
257-
m1 Cr.70c 0.17
258-
Fe.70c 0.79
259-
Ni.70c 0.10
260-
Mo.70c 0.02
257+
m1 Cr.70c -0.17
258+
Fe.70c -0.79
259+
Ni.70c -0.10
260+
Mo.70c -0.02
261261
{% endfilter %}
262262
263263
The ``expand_element`` custom filter also accepts a single argument specifying
@@ -266,10 +266,10 @@ what cross section suffix to apply by default when one is missing:
266266
.. code-block:: jinja
267267
268268
{% filter expand_element('70c') %}
269-
m1 Cr 0.17
270-
Fe 0.79
271-
Ni 0.10
272-
Mo 0.02
269+
m1 Cr -0.17
270+
Fe -0.79
271+
Ni -0.10
272+
Mo -0.02
273273
{% endfilter %}
274274
275275
By default, :class:`~watts.PluginMCNP` will look for the ``xsdir`` file found

0 commit comments

Comments
 (0)