{{ inline_css }}

{{ case_name }}

{% if ctme %} {% endif %} {% if nps %} {% endif %}
Input Generated from MCNP Case {{filename}}
MCNP Case Executed {{ rundate }} {{ runtime }}
HTML Output Created {{ date }} {{ time }}
Scaling Factor: {{scaling_factor}}
CTME {{ctme}}
NPS {{nps}}
{% if parameters %}

Parameters

{% for parameter in parameters %} {% endfor %}
Parameter Value
{{ parameter.capitalize() }} {{ parameters[parameter] }}
{% endif %} {% if tally_list %}

Results - Summary

{% if 'F2' in tally_types %} {% for particle in f2_tallies if f2_tallies[particle] %}

F2 Tally {{particle.capitalize()[:-1]}} Values

{% for tally in f2_tallies[particle] %} {% endfor %}
Tally Number Surface Value (uSv/h) Error
{{tally.tally_number}} {{tally.results['surface']}} {{"%.3e"|format(tally.results['result'])}} {{tally.results['variance']}}
{% endfor %} {% endif %} {% if 'F4' in tally_types %} {% for particle in f4_tallies if f4_tallies[particle] %}

F4 Tally {{particle.capitalize()[:-1]}} Values

{% for tally in f4_tallies[particle] %} {% for region in tally.results %} {% endfor %} {% endfor %}
Tally Number Cell Number Value (uSv/h) Error
{{tally.tally_number}} {{region['region'][5:]}} {{"%.3e"|format(region['result'])}} {{region['variance']}}
{% endfor %} {% endif %} {% if 'F5' in tally_types %} {% for particle in f5_tallies if f5_tallies[particle] %}

F5 Tally {{particle.capitalize()[:-1]}} Values

{% for tally in f5_tallies[particle] %} {% endfor %}
Tally Number X Y Z Value (uSv/h) Error
{{tally.tally_number}} {{tally.results['x']}} {{tally.results['y']}} {{tally.results['z']}} {{"%.3e"|format(tally.results['result'])}} {{tally.results['variance']}}
{% endfor %} {% endif %}

Tally Summary Against 10 Error Checks

{% for tally in tally_list %} {% if 'statistical_checks' in tally.__dict__ %} {% endif %} {% endfor %}
Tally Number Target Score out of 10
{{tally.tally_number}} 10 {{tally.passes}}
{# The tally check summary table is the same for every tally type, so is presented in a macro #} {% macro tally_check(tally) -%} {% if 'statistical_checks' in tally.__dict__ %}

Tally {{tally.tally_number}} Passed {{tally.passes}} out of 10 Checks

{% for check in tally.statistical_checks %} {% endfor %} {% for check in tally.statistical_checks %} {% endfor %}
Bin Behaviour Mean Behaviour Relative Error Variance of the Variance Figure of Merit PDF Slope
Value Decrease Decrease Rate Value Decrease Decrease Rate Value Behaviour
Desired Random <0.10 Yes 1/Sqrt(Nps) <0.10 Yes 1/Nps Constant Random >3.00
Observed{{tally.statistical_checks[check]['value'].capitalize()}}
Passed {{tally.statistical_checks[check]['pass'].capitalize()}}
{% else %}

There are no statistical checks available for Tally {{tally.tally_number}}

{% endif %} {# This was "if tally has statistical checks #} {%- endmacro %}

Results Breakdown

{# F2 TALLY RESULTS #} {% if 'F2' in tally_types %}

F2 Tally Results

{% for particle in f2_tallies %} {% for tally in f2_tallies[particle] %}

Results for {{tally.particles.capitalize()[:-1]}} {{tally.tally_type[:-1].title()}}, Tally Number: {{tally.tally_number}}

Tally Number Surface Value (uSv/h) Error
{{tally.tally_number}} {{tally.results['surface']}} {{"%.3e"|format(tally.results['result'])}} {{tally.results['variance']}}
{{ tally_check(tally=tally) }}
{% endfor %} {# This was "for tally in particle" #} {% endfor %} {# This was "for particle in F2_tallies" #}
{% endif %} {# This was "if F2 in tally_types" #} {# F4 TALLY RESULTS #} {% if 'F4' in tally_types %}

F4 Tally Results

{% for particle in f4_tallies %} {% for tally in f4_tallies[particle] %}

Results for {{tally.particles.capitalize()[:-1]}} {{tally.tally_type[:-1].title()}}, Tally Number: {{tally.tally_number}}

{% for region in tally.results %} {% endfor %}
Tally Number Cell Number Value (uSv/h) Error
{{tally.tally_number}} {{region['region'][5:]}} {{"%.3e"|format(region['result'])}} {{region['variance']}}
{{ tally_check(tally=tally) }}
{% endfor %} {# This was "for tally in particle" #} {% endfor %} {# This was "for particle in F4_tallies" #}
{% endif %} {# This was "if F4 in tally_types" #} {# F5 TALLY RESULTS #} {% if 'F5' in tally_types %}

F5 Tally Results

{% for particle in f5_tallies %} {% for tally in f5_tallies[particle] %}

Results for {{tally.particles.capitalize()[:-1]}} {{tally.tally_type[:-1].title()}}, Tally Number: {{tally.tally_number}}

Tally Number X Y Z Value (uSv/h) Error
{{tally.tally_number}} {{tally.results['x']}} {{tally.results['y']}} {{tally.results['z']}} {{"%.3e"|format(tally.results['result'])}} {{tally.results['variance']}}
{{ tally_check(tally=tally) }}
{% endfor %} {# This was "for tally in particle" #} {% endfor %} {# This was "for particle in F5_tallies" #}
{% endif %} {# This was "if F5 in tally_types" #}
{% endif %} {# This is the "if tallies" #} {% if k_eff %}

K-Effective

Problem K-Effective Standard Deviation
First Half {{ k_eff['first half k_eff'] }} {{ k_eff['first half stdev'] }}
Second Half {{ k_eff['second half k_eff'] }} {{ k_eff['second half stdev'] }}
Final Result {{ k_eff['final k_eff'] }} {{ k_eff['final stdev'] }}
{% endif %} {% if cycles %}

Cycles

Inactive Cycles {{ cycles["inactive"] }}
Active Cycles {{ cycles["active"] }}
Total Cycles {{ cycles["inactive"] + cycles["active"] }}
{% endif %} {% if warnings %}

Warnings

The following warning messages were generated:

{% for warning in warnings %} {% if "messages so far" not in warning %}

{{warning.capitalize()}}

{% endif %} {% endfor %}
{% endif %} {% if comments %}

Comments

The following comments were generated:

{% for comment in comments %}

{{comment.capitalize()}}

{% endfor %}
{% endif %} {% if duplicate_surfaces %}

Duplicate Surfaces

The following duplicate surfaces were detected:

{% for item in duplicate_surfaces %}

{{item.strip().capitalize()}}

{% endfor %}
{% endif %}

Cells

{% for cell in cell_list %} {% endfor %}
Cell Number Material Mass (g) Volume (cm^3)
{{cell.cell_number}} {{cell.material_number}} {{"%.3e"|format(cell.mass)}} {{"%.3e"|format(cell.volume)}}
{% for particle in particle_list %}

{{particle.particle_type.capitalize()}} Summary

{{particle.particle_type.capitalize()}} Creation

{% for attribute in particle.attributes %} {% if 'Creation' in attribute %} {% endif %} {% endfor %}
Source Tracks Weight Energy
{{attribute[:-9]}} {{particle.__dict__[attribute]['tracks']}} {{particle.__dict__[attribute]['weight']}} {{particle.__dict__[attribute]['energy']}}

{{particle.particle_type.capitalize()}} Loss

{% for attribute in particle.attributes %} {% if 'Loss' in attribute %} {% endif %} {% endfor %}
Source Tracks Weight Energy
{{attribute[:-5]}} {{particle.__dict__[attribute]['tracks']}} {{particle.__dict__[attribute]['weight']}} {{particle.__dict__[attribute]['energy']}}
{% endfor %} {% for particle in particle_list %} {# can be any of neutrons, photons, electrons #} {% set particle_name = particle.particle_type %}

{{particle_name.capitalize()}} Populations

{% for cell in cell_list %} {% if particle_name + '_population' in cell.__dict__ %} {% endif %} {% endfor %}
Cell Tracks Entering Populations Collisions
{{cell.cell_number}} {{cell.__dict__[particle_name + '_tracks_entering']}} {{cell.__dict__[particle_name + '_population']}} {{cell.__dict__[particle_name + '_collisions']}}
{% endfor %}

MCNP Input

{% for line in input_deck %}

{{ line }}

{% endfor %}

Eddy, the MCNP and SCALE output HTML Generator, was created by Cerberus Nuclear.

Unless the results in this document were calculated directly by Cerberus Nuclear, Cerberus accepts no responsibility for the accuracy of any results presented.

This software is provided by Cerberus Nuclear Limited "as is" and any express or implied warranties, including, but not limited to, the implied warranties of merchantability and fitness for a particular purpose are disclaimed. In no event shall cerberus nuclear limited be liable for any direct, indirect, incidental, special, exemplary, or consequential damages (including, but not limited to, procurement of substitute goods or services; loss of use, data, or profits; or business interruption) however caused and on any theory of liability, whether in contract, strict liability, or tort (including negligence or otherwise) arising in any way out of the use of this software, even if advised of the possibility of such damage.