Commit graph

14174 commits

Author SHA1 Message Date
Erik B Knudsen
bdc76d95fc refactor MCPL file read part of FileSource
A new constructor is added to FileSource that reads from
a given MCPL-file.
2022-10-11 16:49:44 +02:00
Erik B Knudsen
76e726b527 add cond. compilation guards for MCPL functions 2022-10-11 16:49:44 +02:00
Erik B Knudsen
22ce618601 fix typo 2022-10-11 16:49:44 +02:00
Erik B Knudsen
b6aa2dc429 add mcpl-output settings 2022-10-11 16:49:44 +02:00
Erik B Knudsen
f76e416ee6 use find_package instead - MCPL now supports this 2022-10-11 16:49:44 +02:00
Erik B Knudsen
1519f4f3e6 add a trigger to simulation control 2022-10-11 16:49:44 +02:00
erkn
5462216deb wip add MCPL-out to openmc
code for writing a source_bank/point compiles but is untested
2022-10-11 16:49:44 +02:00
erkn
95338eada0 refactor MCPL file read part of FileSource
A new constructor is added to FileSource that reads from
a given MCPL-file.
2022-10-11 16:46:23 +02:00
Erik B Knudsen
5640bdb9eb fix typo
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2022-10-11 16:45:54 +02:00
Erik B Knudsen
3b052f03cf expose a python function to check for mcpl 2022-10-11 16:45:54 +02:00
Erik B Knudsen
2730f1954f allow electrons and positrons as well 2022-10-11 16:45:54 +02:00
Erik B Knudsen
bb8c022d77 fail without tripping the entire test-process 2022-10-11 16:45:54 +02:00
Erik B Knudsen
2773add047 needed to avoid name clashes with other tests 2022-10-11 16:45:54 +02:00
Erik B Knudsen
2fa4451938 only add mcpl-support if OPENMC_MCPL is defined 2022-10-11 16:45:54 +02:00
erkn
96ae7b4228 fix misprints 2022-10-11 16:45:53 +02:00
Erik B Knudsen
46e648cf38 add a source type to the settings interface 2022-10-11 16:44:53 +02:00
Erik B Knudsen
2cbcd53f07 add an option to turn on mcpl-support 2022-10-11 16:44:53 +02:00
Erik B Knudsen
1509420c21 fix bugs and finalize interface to MCPL 2022-10-11 16:44:53 +02:00
Erik B Knudsen
a123d239dd add a check that the test input got created as intended 2022-10-11 16:44:53 +02:00
Erik B Knudsen
c21ff938c7 yet another necessary file 2022-10-11 16:44:53 +02:00
Erik B Knudsen
c93defee59 test target result 2022-10-11 16:44:53 +02:00
Erik B Knudsen
e87ebfebc2 set seed to make test deteministic 2022-10-11 16:44:53 +02:00
Erik B Knudsen
935396e40b add necessary xmls 2022-10-11 16:44:53 +02:00
Erik B Knudsen
005189bfdf fix misprints 2022-10-11 16:44:53 +02:00
erkn
b2f83857e4 now compiles fine if mcpl is indeed installed 2022-10-11 16:35:19 +02:00
erkn
c6b42e828c don't zip the output-file 2022-10-11 16:35:18 +02:00
erkn
3e805cce15 c-prog to generate a dummy mcpl 2022-10-11 16:35:18 +02:00
erkn
999acbba9a (wip): skeleton for input only test 2022-10-11 16:35:18 +02:00
Erik B Knudsen
d21ecfa6a7 internals of sample and constructor 2022-10-11 16:35:18 +02:00
Erik B Knudsen
249a554980 declarations of MCPL-internals 2022-10-11 16:35:18 +02:00
Erik B Knudsen
cfbd397d45 include mcpl header 2022-10-11 16:35:18 +02:00
Erik B Knudsen
bf0c5d7f9a add placeholder skeleton for MCPL-input 2022-10-11 16:35:18 +02:00
Paul Romano
5efa3dce63
Merge pull request #2255 from shimwell/drop_py3.6_support_2
removed py3.6
2022-10-06 15:42:34 -05:00
Jonathan Shimwell
0a04c20c74 removed py3.6 2022-10-06 15:57:48 +01:00
Paul Romano
47ff27e77f
Merge pull request #2233 from shimwell/adding_from_domain_to_CylindricalMesh
added from domain to CylindricalMesh
2022-10-06 09:36:32 -05:00
Gavin Ridley
9a86c9c065
Merge pull request #2228 from paulromano/sourcefile-fix
Fix reading source file with time attribute
2022-10-05 14:43:20 -04:00
Jonathan Shimwell
6a9a1ad293 added phi_grid_bounds to CylindricalMesh tests 2022-10-05 11:46:00 +01:00
Jonathan Shimwell
9a61aed2ef doc string related review suggestions 2022-10-05 09:03:30 +01:00
Jonathan Shimwell
afbd994d4f
review suggestions from Remi and Paul
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
Co-authored-by: Rémi Delaporte-Mathurin <40028739+RemDelaporteMathurin@users.noreply.github.com>
2022-10-05 08:45:59 +01:00
Jonathan Shimwell
434dc1f30d
Merge pull request #2238 from pshriwise/dag_cells_surfs
Adding properties for number of DAGMC cells and surfaces
2022-10-04 16:18:50 +01:00
Patrick Shriwise
6c698e3b88
Merge pull request #2242 from eepeterson/wwinp_reader_fix
fix wwinp reader
2022-10-03 18:58:26 -05:00
Jonathan Shimwell
a32a5fbf0d review suggestion from @RemDelaporteMathurin 2022-10-03 16:58:11 +01:00
Patrick Shriwise
47488ecacb
Merge pull request #2235 from paulromano/source-rejection
Source rejection by domain (cell, material, universe)
2022-10-03 09:38:28 -05:00
Ethan Peterson
f9ba64eeb3
Update tests/unit_tests/weightwindows/test_wwinp_reader.py 2022-10-03 07:22:26 -04:00
Ethan Peterson
6bc2ee8e4f updated cyl and t wwlb for future tests 2022-10-03 07:19:58 -04:00
Ethan Peterson
4957ba240b revert to original expected ww lb 2022-10-03 07:17:07 -04:00
Ethan Peterson
1a306c4c15 rewrote ww test files 2022-10-03 07:15:02 -04:00
Patrick Shriwise
e11c42a7d5 pathlib import 2022-10-02 22:05:32 -05:00
Ethan Peterson
6fe91efd05 fixed wwinp reader tests 2022-10-02 10:45:01 -04:00
Ethan Peterson
9c13e85dc2 fix wwinp reader 2022-10-01 09:22:57 -04:00