Commit graph

81 commits

Author SHA1 Message Date
Paul Romano
9ddbfd26c9 Prepare distributed cell indices/arrays during initialization 2019-12-12 06:59:01 -06:00
Paul Romano
fb8b1c9b78 Add constructor for CellInstanceFilter. Call prepare_distribcells at simulation
initialization, not program initialization
2019-12-12 06:59:01 -06:00
John Tramm
0602ddd8a3 refactor seed and seed aray variable names 2019-12-05 19:50:31 +00:00
John Tramm
638172e68d refactor of prn() interface and python interface changes 2019-12-04 16:35:01 +00:00
John Tramm
60015e5c5c Revert "Merge branch 'event-based-device' into particle_owned_seeds"
This reverts commit 12463ac6b0, reversing
changes made to 4261690537.
2019-11-26 17:05:04 +00:00
John Tramm
12463ac6b0
Merge branch 'event-based-device' into particle_owned_seeds 2019-11-26 10:47:10 -06:00
John Tramm
4261690537 finished refactoring to add class member signifier, and finished formatting cleanup 2019-11-25 16:28:07 +00:00
John Tramm
ecb5f828d2 removed some comments. Also attempted to fix the math unit tests that now require direct passing of seeds and stream variables 2019-11-22 16:17:46 +00:00
John Tramm
87c66a0499 fixed queue deallocation function 2019-11-21 15:16:29 +00:00
John Tramm
0ebfae4ef5 added particle based seed initialization. Now for sampling functions to use the new seeds. 2019-11-20 22:55:40 +00:00
John Tramm
c7399d0d1d Fixed MPI by changing the indexing scheme for reading from the source bank. Previously, it was doing index_source -1, with index source starting at 0, which was causing undefined behavior. Now, it uses index_source properly. This may have been an artifact from Fortran days? 2019-11-20 20:07:27 +00:00
John Tramm
d99e2d27c1 fixed MPI issue 2019-11-19 23:11:00 +00:00
John Tramm
c5d2aa405e fixed one bug: I was initializing the shared fission vector before calculating work per rank, so probably size 0 or something, which caused all sorts of issues. Now we get an error at the end of the first power iteration, as it complains we have no fission sites on rank 0. 2019-11-19 22:34:42 +00:00
John Tramm
8c1ebbd7fb initial SHM fission bank has been implemented. Needs debugging. 2019-11-19 22:04:01 +00:00
John Tramm
2f9dba6a58 removed print statements. Works in serial as expected. 2019-11-18 22:28:19 +00:00
John Tramm
3ef3ee9fcb fixed the bug -- was using wrong index in one of the event loops (should have been j, but was using i). Now to remove all the debugging print statements 2019-11-18 22:04:11 +00:00
John Tramm
2cc5f751b0 initial switch to SHM queues. Needs debugging. 2019-11-18 20:19:18 +00:00
John Tramm
6333392936 fixed bug by partially removing multigroup support 2019-11-18 15:08:41 +00:00
John Tramm
0fb047f56c Brings things up to level with the @paulromano event-based code 2019-11-15 21:28:24 +00:00
Paul Romano
cb9d0a92b0
Merge pull request #1222 from shikhar413/cmfd-added-funcs
Added CMFD Functionality - Tally windows, statepoint write/restart, in-memory functions
2019-06-13 08:01:47 -05:00
Sterling Harper
f4ae14af39 Use RegularMesh* for entropy and ufs 2019-05-29 11:03:32 -04:00
Shikhar Kumar
055842b5cb Only call statepoint_write from C API if cmfd_run 2019-04-11 12:38:36 -04:00
Shikhar Kumar
196d24f0db Merge branch 'develop' into cmfd-added-funcs 2019-04-07 22:37:45 -04:00
Paul Romano
492d984525 Change name of work -> work_per_rank 2019-03-20 13:26:04 -05:00
Paul Romano
49bf4523c3 Remove thread_id and n_threads global variables 2019-03-19 13:57:42 -05:00
Paul Romano
d980b4a5ea Make secondary_bank_ a vector and improve interfaces 2019-03-19 13:57:42 -05:00
Paul Romano
8a8b7b2c0a Move cross section caches into Particle class 2019-03-19 13:56:45 -05:00
Shikhar Kumar
8424a2c850 First pass at statepoint_write 2019-03-12 01:54:30 -04:00
Paul Romano
7382d35679 Respond to @smharper comments on #1183 2019-03-05 07:05:33 -06:00
Paul Romano
b4ed267d4b Add trailing underscore on Particle data members 2019-03-01 15:59:21 -06:00
Paul Romano
3cac2a6702 Remove Fortan compatibility functions 2019-02-21 22:44:24 -06:00
Paul Romano
0439eb0fa1 Convert remainder of tallies to C++ 2019-02-21 19:30:04 -06:00
Paul Romano
3eea8311d3 Move results and global_tallies over to C++ 2019-02-20 15:03:36 -06:00
Paul Romano
16b2a657d6 Move cross section caches to C++ 2019-02-20 15:03:36 -06:00
Paul Romano
7325897ee9 Address @smharper comments on #1169 2019-02-19 21:48:20 -06:00
Paul Romano
968e9a95d4 Convert particle restart to C++ 2019-02-15 10:59:23 -06:00
Paul Romano
f8925b25be Convert transport() and cross_surface() to C++ 2019-02-15 10:59:23 -06:00
Sterling Harper
08e50977f0 Merge remote-tracking branch 'upstream/develop' into cpp_tallies 2019-02-12 12:35:32 -05:00
Sterling Harper
8b3be55f0e Use more 0-based indexing for tallies 2019-02-11 15:34:55 -05:00
Sterling Harper
8bb0fa7791 Move write_tallies to C++ 2019-02-11 13:58:12 -05:00
Paul Romano
ab0b9eb0bc Translate most of load_state_point to C++ 2019-02-06 07:11:44 -06:00
Paul Romano
a732efbe51 Translate print_results to C++ 2019-02-06 07:11:44 -06:00
Paul Romano
a7b0babb96 Translate print_runtime to C++ 2019-02-06 07:11:44 -06:00
Paul Romano
9f06008565 Translate several functions in output.F90 to C++ 2019-02-06 07:11:40 -06:00
Sterling Harper
2d0ea1154b Merge remote-tracking branch 'upstream/develop' into cpp_tallies 2019-02-05 14:05:15 -05:00
Sterling Harper
5b8806c839 Move check_triggers to C++ 2019-02-01 13:03:00 -05:00
Paul Romano
63aa3bf106 Remove most of remaining components of Material type on Fortran side 2019-01-30 22:15:48 -06:00
Shikhar Kumar
0a43a465d4 Merge remote-tracking branch 'upstream/develop' into cmfd-capi 2018-12-11 18:02:23 -05:00
Paul Romano
8859714592 Move sample_neutron_reaction and create_fission_sites to C++ 2018-11-26 23:00:44 -06:00
Paul Romano
b8187571b3 Move source and fission banks to C++ 2018-11-26 23:00:44 -06:00