Fixing incorrect translation setting in mesh filter translation test.

This commit is contained in:
Patrick Shriwise 2021-04-29 10:07:15 -05:00
parent 9ad45c61d9
commit 60e216a16f
3 changed files with 124 additions and 124 deletions

View file

@ -35,8 +35,8 @@
<tallies>
<mesh id="1">
<dimension>3 4 5</dimension>
<lower_left>-19 -4 -9</lower_left>
<upper_right>-1 14 9</upper_right>
<lower_left>-9 -9 -9</lower_left>
<upper_right>9 9 9</upper_right>
</mesh>
<mesh id="2" type="rectilinear">
<x_grid>-9.0 0.0 9.0</x_grid>

View file

@ -1,126 +1,126 @@
k-combined:
7.656044E-01 5.168921E-02
tally 1:
0.000000E+00
0.000000E+00
2.220139E-02
1.051536E-04
2.437996E-01
1.218585E-02
0.000000E+00
0.000000E+00
2.076286E-02
9.030648E-05
2.355202E-01
1.163053E-02
0.000000E+00
0.000000E+00
2.087721E-02
9.001706E-05
4.525189E-02
4.184578E-04
0.000000E+00
0.000000E+00
2.481968E-03
1.491717E-06
4.714053E-03
4.644899E-06
0.000000E+00
0.000000E+00
2.998461E-02
1.842671E-04
3.718895E-01
2.778255E-02
0.000000E+00
0.000000E+00
2.936209E-02
1.744066E-04
3.714258E-01
2.764128E-02
0.000000E+00
0.000000E+00
2.430409E-02
1.220833E-04
5.554247E-02
6.252448E-04
0.000000E+00
0.000000E+00
3.277097E-03
2.289856E-06
5.878108E-03
7.064854E-06
0.000000E+00
0.000000E+00
3.732383E-02
2.872115E-04
5.140728E-01
5.776753E-02
0.000000E+00
0.000000E+00
2.888862E-02
1.727185E-04
3.995844E-01
3.239513E-02
0.000000E+00
0.000000E+00
2.245006E-02
1.063493E-04
6.012618E-02
7.350842E-04
0.000000E+00
0.000000E+00
2.364876E-03
1.151142E-06
6.103232E-03
8.126910E-06
0.000000E+00
0.000000E+00
3.151201E-02
2.108865E-04
3.437759E-01
2.398626E-02
0.000000E+00
0.000000E+00
2.757290E-02
1.564838E-04
3.374672E-01
2.299073E-02
0.000000E+00
0.000000E+00
2.008679E-02
8.306765E-05
5.170394E-02
5.380731E-04
0.000000E+00
0.000000E+00
1.931921E-03
1.005318E-06
5.262659E-03
5.860208E-06
0.000000E+00
0.000000E+00
2.095824E-02
8.922951E-05
2.186066E-01
1.004483E-02
0.000000E+00
0.000000E+00
2.494169E-02
1.252761E-04
2.315602E-01
1.119928E-02
0.000000E+00
0.000000E+00
1.851532E-02
6.983649E-05
4.501001E-02
4.136072E-04
0.000000E+00
0.000000E+00
2.221694E-03
1.048753E-06
5.820195E-03
7.008120E-06
4.195134E-02
3.639654E-04
7.345058E-02
1.082591E-03
5.325577E-02
5.772001E-04
1.390109E-01
3.954675E-03
3.829062E-01
3.001419E-02
1.408217E-01
4.113283E-03
1.412139E-01
4.218445E-03
3.567122E-01
2.663446E-02
1.393013E-01
3.978946E-03
5.117767E-02
5.394412E-04
8.111129E-02
1.362452E-03
5.594852E-02
6.333549E-04
6.298061E-02
8.073054E-04
9.082908E-02
1.668351E-03
6.783427E-02
9.250122E-04
1.999222E-01
8.028088E-03
5.909662E-01
7.061368E-02
1.896895E-01
7.242074E-03
1.877543E-01
7.145844E-03
6.189100E-01
7.667032E-02
1.847604E-01
6.905108E-03
6.017074E-02
7.311068E-04
1.109867E-01
2.474797E-03
7.322493E-02
1.112742E-03
6.859899E-02
9.576740E-04
1.062208E-01
2.360724E-03
6.762553E-02
9.247454E-04
2.367276E-01
1.130443E-02
9.674870E-01
2.606562E-01
2.113618E-01
8.988266E-03
2.079097E-01
8.765092E-03
9.535566E-01
2.216359E-01
2.131094E-01
9.143533E-03
6.644946E-02
9.024189E-04
1.064224E-01
2.284439E-03
8.143154E-02
1.362849E-03
6.209959E-02
7.875797E-04
9.702493E-02
1.902685E-03
6.416842E-02
8.369934E-04
1.727520E-01
6.027045E-03
5.966710E-01
7.197863E-02
1.889340E-01
7.213441E-03
1.914452E-01
7.420265E-03
5.726219E-01
6.723631E-02
1.646287E-01
5.489910E-03
5.663491E-02
6.494568E-04
9.923269E-02
2.053123E-03
6.809958E-02
9.386140E-04
4.850339E-02
4.856214E-04
8.169408E-02
1.354206E-03
5.474566E-02
6.128204E-04
1.208954E-01
3.074917E-03
3.393101E-01
2.398955E-02
1.358915E-01
3.758521E-03
1.347810E-01
3.718991E-03
3.404279E-01
2.380238E-02
1.315829E-01
3.585161E-03
4.754269E-02
4.593490E-04
7.591439E-02
1.170776E-03
5.121227E-02
5.346435E-04
tally 2:
2.194240E-01
9.811952E-03

View file

@ -55,8 +55,8 @@ def model():
filters.append(openmc.MeshFilter(recti_mesh))
llc -= translation
urc -= translation
llc = np.array(llc - translation)
urc = np.array(urc - translation)
# translated meshes
translated_reg_mesh = openmc.RegularMesh()