mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-27 05:35:49 -04:00
docstring modifications and reduced histories in test_mg_convert in an attempt to bring its runtime down
This commit is contained in:
parent
7069c5db31
commit
e6a3c04817
4 changed files with 20 additions and 22 deletions
|
|
@ -1690,8 +1690,7 @@ class XSdata(object):
|
|||
azimuthal bins of an XSdata object that already uses an angular
|
||||
representation. Finally, this method simply uses an arithmetic mean to
|
||||
convert from an angular to isotropic representation; no flux-weighting
|
||||
is applied and therefore the correctness of the solution is not
|
||||
guaranteed.
|
||||
is applied and therefore reaction rates will not be preserved.
|
||||
|
||||
Parameters
|
||||
----------
|
||||
|
|
@ -2453,8 +2452,7 @@ class MGXSLibrary(object):
|
|||
azimuthal bins of an XSdata object that already uses an angular
|
||||
representation. Finally, this method simply uses an arithmetic mean to
|
||||
convert from an angular to isotropic representation; no flux-weighting
|
||||
is applied and therefore the correctness of the solution is not
|
||||
guaranteed.
|
||||
is applied and therefore the reaction rates will not be preserved.
|
||||
|
||||
Parameters
|
||||
----------
|
||||
|
|
|
|||
|
|
@ -17,9 +17,9 @@
|
|||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<settings>
|
||||
<eigenvalue>
|
||||
<particles>1000</particles>
|
||||
<batches>1000</batches>
|
||||
<inactive>100</inactive>
|
||||
<particles>100</particles>
|
||||
<batches>10</batches>
|
||||
<inactive>5</inactive>
|
||||
</eigenvalue>
|
||||
<source strength="1.0">
|
||||
<space type="box">
|
||||
|
|
|
|||
|
|
@ -1,24 +1,24 @@
|
|||
k-combined:
|
||||
9.957366E-01 7.836427E-05
|
||||
9.930873E-01 2.221904E-03
|
||||
k-combined:
|
||||
9.963227E-01 8.010344E-05
|
||||
9.948148E-01 1.216270E-03
|
||||
k-combined:
|
||||
9.957366E-01 7.836427E-05
|
||||
9.930873E-01 2.221904E-03
|
||||
k-combined:
|
||||
9.955152E-01 8.132242E-05
|
||||
9.755034E-01 6.178296E-03
|
||||
k-combined:
|
||||
9.953937E-01 8.452497E-05
|
||||
9.738059E-01 4.529068E-03
|
||||
k-combined:
|
||||
9.957744E-01 8.816057E-05
|
||||
9.866847E-01 9.485912E-03
|
||||
k-combined:
|
||||
9.955332E-01 8.894390E-05
|
||||
9.755024E-01 6.179047E-03
|
||||
k-combined:
|
||||
9.956463E-01 8.378533E-05
|
||||
9.738061E-01 4.529462E-03
|
||||
k-combined:
|
||||
9.955875E-01 8.818927E-05
|
||||
9.866835E-01 9.485832E-03
|
||||
k-combined:
|
||||
9.957017E-01 8.726677E-05
|
||||
9.719024E-01 4.213166E-03
|
||||
k-combined:
|
||||
9.957366E-01 7.836427E-05
|
||||
9.930873E-01 2.221904E-03
|
||||
k-combined:
|
||||
9.957366E-01 7.836427E-05
|
||||
9.930873E-01 2.221904E-03
|
||||
|
|
|
|||
|
|
@ -11,9 +11,9 @@ from testing_harness import PyAPITestHarness
|
|||
import openmc
|
||||
|
||||
# OpenMC simulation parameters
|
||||
batches = 1000
|
||||
inactive = 100
|
||||
particles = 1000
|
||||
batches = 10
|
||||
inactive = 5
|
||||
particles = 100
|
||||
|
||||
|
||||
def build_mgxs_library(convert):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue