forked from crp/ecp-benchmarks
Removed templates2.py
This commit is contained in:
parent
bb124e1074
commit
95b57ffdfe
1 changed files with 0 additions and 109 deletions
|
|
@ -1,109 +0,0 @@
|
|||
c# openmc templates
|
||||
comm_t = """ <!--{0:^40}-->"""
|
||||
surf_t = """ <surface id="{id:>6}" type={type:<17} coeffs="{coeffs:>25}"/> {comm}\n"""
|
||||
surf_t_bc = """ <surface id="{id:>6}" type={type:<17} coeffs="{coeffs:>25}" boundary="{bc}"/> {comm}\n"""
|
||||
cell_t_mat = """ <cell id="{id:>6}" universe="{univ:>6}" material="{mat:>6}" surfaces="{surfs:>12}"/> {comm}\n"""
|
||||
cell_t_fill = """ <cell id="{id:>6}" universe="{univ:>6}" fill="{fill:>10}" surfaces="{surfs:>12}"/> {comm}\n"""
|
||||
latt_t = """{comm}
|
||||
<lattice id="{id:>6}" type="{type}" dimension="{dim} {dim}">
|
||||
<lower_left>{lleft} {lleft}</lower_left>
|
||||
<width>{width} {width}</width>
|
||||
<universes>
|
||||
{univs}
|
||||
</universes>
|
||||
</lattice>\n"""
|
||||
mat_t = """ <material id="{id:>6}">
|
||||
<density value="{density:>6}" units="{unit}" />
|
||||
{nuclides}{sab} </material>\n"""
|
||||
nucl_t = """ <nuclide name="{n}" xs="{xs}" {woao}="{a:.4e}" />\n"""
|
||||
sab_t = """ <sab name="{name}" xs="{xs}" />\n"""
|
||||
plot_t = """
|
||||
<plot id="{id}" type="{type}" color="{col}">
|
||||
<filename>{fname}</filename>
|
||||
<origin> {origin} </origin>
|
||||
<width> {width} </width>
|
||||
<basis>{basis}</basis>
|
||||
<pixels>{pixels}</pixels>
|
||||
<background>{background}</background>
|
||||
{col_spec}
|
||||
{mask}
|
||||
</plot>
|
||||
"""
|
||||
plot_col_spec_t = """ <col_spec id="{id}" rgb="{rgb}"/>\n"""
|
||||
plot_mask_t = """ <mask background="{maskrgb}">
|
||||
<components>
|
||||
{comps}
|
||||
</components>
|
||||
</mask>\n"""
|
||||
settings_t = """<?xml version="1.0" encoding="UTF-8"?>
|
||||
<settings>
|
||||
|
||||
<!-- This file auto-generated by seabrook.py -->
|
||||
|
||||
<!-- Parameters for criticality calculation -->
|
||||
<criticality batches="{batches}" inactive="{inactive}" particles="{particles}" />
|
||||
|
||||
<!-- How verbose output should be -->
|
||||
<verbosity value="{verbosity}" />
|
||||
|
||||
<state_point interval="10" />
|
||||
|
||||
<!-- Starting source -->
|
||||
<source>
|
||||
<space type="box">
|
||||
<parameters>{xbot} {ybot} {zbot} {xtop} {ytop} {ztop}</parameters>
|
||||
</space>
|
||||
</source>
|
||||
|
||||
<!-- Shannon Entropy -->
|
||||
<entropy>
|
||||
<dimension> {entrX} {entrY} {entrZ} </dimension>
|
||||
<lower_left> {xbot} {ybot} {zbot} </lower_left>
|
||||
<upper_right> {xtop} {ytop} {ztop} </upper_right>
|
||||
</entropy>
|
||||
|
||||
</settings>"""
|
||||
pinLattice_t = """
|
||||
{0:>4} {0:>4} {0:>4} {0:>4} {0:>4} {0:>4} {0:>4} {0:>4} {0:>4} {0:>4} {0:>4} {0:>4} {0:>4} {0:>4} {0:>4} {0:>4} {0:>4}
|
||||
{0:>4} {0:>4} {0:>4} {0:>4} {0:>4} {0:>4} {0:>4} {0:>4} {0:>4} {0:>4} {0:>4} {0:>4} {0:>4} {0:>4} {0:>4} {0:>4} {0:>4}
|
||||
{0:>4} {0:>4} {0:>4} {0:>4} {0:>4} {a:>4} {0:>4} {0:>4} {b:>4} {0:>4} {0:>4} {c:>4} {0:>4} {0:>4} {0:>4} {0:>4} {0:>4}
|
||||
{0:>4} {0:>4} {0:>4} {d:>4} {0:>4} {0:>4} {0:>4} {0:>4} {0:>4} {0:>4} {0:>4} {0:>4} {0:>4} {e:>4} {0:>4} {0:>4} {0:>4}
|
||||
{0:>4} {0:>4} {0:>4} {0:>4} {0:>4} {0:>4} {0:>4} {0:>4} {0:>4} {0:>4} {0:>4} {0:>4} {0:>4} {0:>4} {0:>4} {0:>4} {0:>4}
|
||||
{0:>4} {0:>4} {f:>4} {0:>4} {0:>4} {g:>4} {0:>4} {0:>4} {h:>4} {0:>4} {0:>4} {i:>4} {0:>4} {0:>4} {j:>4} {0:>4} {0:>4}
|
||||
{0:>4} {0:>4} {0:>4} {0:>4} {0:>4} {0:>4} {0:>4} {0:>4} {0:>4} {0:>4} {0:>4} {0:>4} {0:>4} {0:>4} {0:>4} {0:>4} {0:>4}
|
||||
{0:>4} {0:>4} {0:>4} {0:>4} {0:>4} {0:>4} {0:>4} {0:>4} {0:>4} {0:>4} {0:>4} {0:>4} {0:>4} {0:>4} {0:>4} {0:>4} {0:>4}
|
||||
{0:>4} {0:>4} {k:>4} {0:>4} {0:>4} {l:>4} {0:>4} {0:>4} {m:>4} {0:>4} {0:>4} {n:>4} {0:>4} {0:>4} {o:>4} {0:>4} {0:>4}
|
||||
{0:>4} {0:>4} {0:>4} {0:>4} {0:>4} {0:>4} {0:>4} {0:>4} {0:>4} {0:>4} {0:>4} {0:>4} {0:>4} {0:>4} {0:>4} {0:>4} {0:>4}
|
||||
{0:>4} {0:>4} {0:>4} {0:>4} {0:>4} {0:>4} {0:>4} {0:>4} {0:>4} {0:>4} {0:>4} {0:>4} {0:>4} {0:>4} {0:>4} {0:>4} {0:>4}
|
||||
{0:>4} {0:>4} {p:>4} {0:>4} {0:>4} {q:>4} {0:>4} {0:>4} {r:>4} {0:>4} {0:>4} {s:>4} {0:>4} {0:>4} {t:>4} {0:>4} {0:>4}
|
||||
{0:>4} {0:>4} {0:>4} {0:>4} {0:>4} {0:>4} {0:>4} {0:>4} {0:>4} {0:>4} {0:>4} {0:>4} {0:>4} {0:>4} {0:>4} {0:>4} {0:>4}
|
||||
{0:>4} {0:>4} {0:>4} {u:>4} {0:>4} {0:>4} {0:>4} {0:>4} {0:>4} {0:>4} {0:>4} {0:>4} {0:>4} {v:>4} {0:>4} {0:>4} {0:>4}
|
||||
{0:>4} {0:>4} {0:>4} {0:>4} {0:>4} {w:>4} {0:>4} {0:>4} {x:>4} {0:>4} {0:>4} {y:>4} {0:>4} {0:>4} {0:>4} {0:>4} {0:>4}
|
||||
{0:>4} {0:>4} {0:>4} {0:>4} {0:>4} {0:>4} {0:>4} {0:>4} {0:>4} {0:>4} {0:>4} {0:>4} {0:>4} {0:>4} {0:>4} {0:>4} {0:>4}
|
||||
{0:>4} {0:>4} {0:>4} {0:>4} {0:>4} {0:>4} {0:>4} {0:>4} {0:>4} {0:>4} {0:>4} {0:>4} {0:>4} {0:>4} {0:>4} {0:>4} {0:>4}
|
||||
"""
|
||||
tally_t = """ <tally id="{id}">
|
||||
<filter type="mesh" bins="{mesh}"/>
|
||||
<scores>{scores}</scores>
|
||||
</tally>
|
||||
|
||||
"""
|
||||
tallymesh_t = """ <mesh id="{id}">
|
||||
<type>{type}</type>
|
||||
<origin>{origin}</origin>
|
||||
<width>{width}</width>
|
||||
<lower_left>{lleft}</lower_left>
|
||||
<dimension>{dimension}</dimension>
|
||||
</mesh>
|
||||
|
||||
"""
|
||||
cmfdmesh_t = """ <mesh>
|
||||
<lower_left>{lleft}</lower_left>
|
||||
<upper_right>{uright}</upper_right>
|
||||
<dimension>{dimension}</dimension>
|
||||
<albedo>{albedo}</albedo>
|
||||
<map>{map}\n </map>
|
||||
<energy>{energy}</energy>
|
||||
</mesh>
|
||||
|
||||
"""
|
||||
Loading…
Add table
Add a link
Reference in a new issue