diff --git a/mg-criticality/make_library.py b/mg-criticality/make_library.py index 2c61700..f6bcb0c 100755 --- a/mg-criticality/make_library.py +++ b/mg-criticality/make_library.py @@ -552,10 +552,10 @@ def create_6g(): [0.000, 0.000, 2.000, 0.00, 0.00, 0.00], [0.000, 0.000, 0.000, 2.00, 0.00, 0.00], [0.000, 0.000, 0.000, 0.275, 0.60, 0.00], - [0.000, 0.000, 2.000, 0.033, 0.171, 0.024]]]) + [0.000, 0.000, 0.000, 0.033, 0.171, 0.024]]]) scatter = np.rollaxis(scatter, 0, 3) total = [0.240, 0.975, 3.10, 3.10, 0.975, 0.240] - chi = [0.48, 0.02, 0.0, 0.0, 0.02, 0.048] + chi = [0.48, 0.02, 0.0, 0.0, 0.02, 0.48] URR = set_it('URR', groups, 0, fiss, nu, absorption, scatter, total, chi) mg_cross_sections_file.add_xsdata(URR) diff --git a/mg-criticality/repo.py b/mg-criticality/repo.py index 7dc2230..5339bcf 100644 --- a/mg-criticality/repo.py +++ b/mg-criticality/repo.py @@ -3,10 +3,11 @@ from make_model import Case # GLOBAL DATA -batches = 5000 -inactive = 500 -particles = 10000 +batches = 600 +inactive = 100 +particles = 100000 tab_leg = {'enable': True, 'num_points': 33} +# tab_leg = {'enable': False, 'num_points': 33} def build_cases(): diff --git a/mg-criticality/run_cases.py b/mg-criticality/run_cases.py index d228d46..eec1e27 100755 --- a/mg-criticality/run_cases.py +++ b/mg-criticality/run_cases.py @@ -2,6 +2,7 @@ from __future__ import print_function from optparse import OptionParser +import pickle import matplotlib.pyplot as plt import numpy as np @@ -32,6 +33,7 @@ if options.list_cases: print('Case Name: {0}'.format(key)) exit() +results = [] # Run specific case, if requested if options.case_name: if options.case_name in repo.names: @@ -48,6 +50,7 @@ if options.case_name: print(case.name + ' Failed Execution!') else: print_case(case) + results.append(case) else: print('Invalid Case Name: ' + options.case) @@ -66,3 +69,6 @@ else: print(case.name + ' Failed Execution!') else: print_case(case) + results.append(case) + +pickle.dump(results, open("save.pkl", "wb"))