Commit graph

166 commits

Author SHA1 Message Date
Paul Romano
44a57b9a6f Improve error message about missing settings.xml 2023-04-11 13:18:30 -05:00
Paul Romano
61b30f5dcc
Merge pull request #2334 from pshriwise/umesh_sampling
Unstructured Mesh Sampling Updates
2023-02-16 07:24:13 -06:00
Patrick Shriwise
d0988327fe Applying formatter 2023-01-13 00:00:16 -06:00
Patrick Shriwise
4195d1e8ca Restoring blank lines in settings.cpp and source.cpp 2023-01-12 23:20:11 -06:00
Paul Romano
1cdb37a05c
Merge pull request #2348 from cfichtlscherer/prompt_neutrons
Prompt neutrons 2.0
2023-01-13 09:44:44 +07:00
Christopher Fichtlscherer
e266bb15bf old changes for delayed neutron feature 2023-01-11 14:50:08 -05:00
Paul Romano
e83ced88dc Change ncrystal_max_energy to be a global constant 2023-01-11 01:17:53 +07:00
Paul Romano
62af773108 Refactor NCrystal interface code to ncrystal_interface.h/cpp 2023-01-10 17:20:11 +07:00
Paul Romano
b6d6bdf3f5 Merge branch 'develop' into mixed_ncrystal_pr 2023-01-09 13:13:14 +07:00
NybergWISC
9f6d536959 Commit including most of the sampling work in distribution_spatial.cpp and testing 2022-12-29 09:23:12 -06:00
Paul Romano
3f8f8f6701
Merge pull request #2291 from pshriwise/model-xml
Support for a single `model.xml` file
2022-12-24 13:33:27 -06:00
Paul Romano
361b3486ef Move remainder of MCPL-related code to mcpl_interface.h/cpp 2022-12-22 14:56:36 -06:00
Paul Romano
a3065b479c Move FileSource MCPL reading to mcpl_interface.h/cpp 2022-12-22 11:33:29 -06:00
Paul Romano
987293cfff Small fixes and formatting changes 2022-12-22 10:57:11 -06:00
Erik B Knudsen
4d7797c25b mistake assigning the wrong variable 2022-12-22 17:18:37 +01:00
erkn
de8dcbd332 Merge branch 'mcpl_output_dev' into mcpl_input 2022-12-21 00:01:15 +01:00
Patrick Shriwise
ef2f690e3d Updating handling of single XML input to leverage existing settings::path_input 2022-12-06 13:03:38 -06:00
Patrick Shriwise
bec9bf6f20 Refactoring model read into it's own function. 2022-12-06 13:03:38 -06:00
Patrick Shriwise
cdd2a6b1ca Correcting doc scope and some reads 2022-12-06 13:03:38 -06:00
Patrick Shriwise
040965245d Adding signatures for reading information from an XML node where necessary. 2022-12-06 13:03:38 -06:00
Erik B Knudsen
fab1ddac00
prefer native as default
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2022-11-19 02:19:41 +01:00
Erik B Knudsen
a40cc14d8e check in the c++-layer if it's an mcpl-file 2022-11-19 00:33:04 +01:00
Jose Ignacio Marquez Damian
91f939a391 Add flag for NCrystal 2022-11-18 18:26:31 +01:00
Jose Ignacio Marquez Damian
5afcc9e49b Apply clang-format 2022-10-21 10:40:30 +02:00
Jose Ignacio Marquez Damian
0e0cd0a22d Added hooks for NCrystal 2022-10-21 10:40:30 +02:00
Erik B Knudsen
5da08f6b0e fix logic to avoid writing both kinds of source file 2022-10-14 01:40:52 +02:00
Erik B Knudsen
81fa3b45a3 mcpl-file output simimlar to regular source output file 2022-10-14 00:22:28 +02:00
Erik B Knudsen
b6aa2dc429 add mcpl-output settings 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
2fa4451938 only add mcpl-support if OPENMC_MCPL is defined 2022-10-11 16:45:54 +02:00
Erik B Knudsen
46e648cf38 add a source type to the settings interface 2022-10-11 16:44:53 +02:00
Paul Romano
8fdbbd2c43 Set default max_tracks to 1000 2022-05-31 07:32:29 -05:00
Paul Romano
e34bf445f0 Add max_tracks setting (maximum number of tracks per process) 2022-05-20 10:46:59 -05:00
Paul Romano
ee5697e858 Add error message if user tries WMP + photon transport 2022-05-05 22:11:29 -05:00
Paul Romano
72af700ffd
Merge pull request #1947 from pshriwise/ww-final-tests
Weight windows final push
2022-01-19 09:13:07 -06:00
YuanHu-PKU-KIT
e08af3c374 Implement mesh-based weight windows (squashed)
Co-authored-by: Andrew Davis <andrew.davis@ukaea.uk>
Co-authored-by: Patrick Shriwise <pshriwise@gmail.com>
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2022-01-08 14:43:18 -06:00
Olaf Schumann
66ffe3a6b8 Default Source in Settings implement time 2022-01-05 21:06:09 +00:00
Patrick Shriwise
600ad9a6e6 Removing dagmc from settings. 2021-11-16 12:01:22 -06:00
Paul Romano
1bc2bd8460 Apply clang-format on entire source 2021-08-11 11:41:49 -05:00
Gavin Ridley
50d0430496 std::make_unique -> make_unique 2021-05-04 15:55:08 -04:00
Gavin Ridley
ad4e1c9f4a remove std:: from vector,unique_ptr,make_unique,array 2021-05-03 18:01:27 -04:00
AI-Pranto
8c289fc5bd cleanup 2021-03-03 00:42:39 +06:00
AI-Pranto
fff8e5d1bd Remove constrain for 'max_surface_particles' value 2021-02-25 10:51:03 +06:00
AI-Pranto
a6144a4ab8 Rename to max_surface_particles 2021-02-25 10:46:57 +06:00
YoungHui Park
5f48ec9eeb Rename max_surf_banks to max_particles 2021-01-18 14:36:05 -06:00
YoungHui Park
26c3043726 Rename surf_ids to surface_ids 2021-01-18 14:36:05 -06:00
YoungHui Park
e427dbde50 Reword src to source for consistency 2021-01-18 14:36:05 -06:00
YoungHui Park
c4be96e74a Update src/settings.cpp
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2021-01-18 14:36:05 -06:00
YoungHui Park
a9af38a4dd Relocate surf_src_read setting check to be compatible with changes on external source logic 2021-01-18 14:36:05 -06:00
YoungHui Park
f1216d8b51 Fix old surface source reading on settings 2021-01-18 14:36:05 -06:00