Commit graph

7602 commits

Author SHA1 Message Date
Adam G Nelson
7fd4cbb140 whoops, missed some code i could remove 2018-06-13 20:26:20 -04:00
Adam G Nelson
a32678865d Cathartically removing the fortran Mgxs code 2018-06-13 20:24:16 -04:00
Adam G Nelson
b1c73918a8 It works! Replaced all mgxs_header functionality with the C++ version and a mgxs_interface module to act as the go-between the C++ and Fortran 2018-06-13 20:22:51 -04:00
amandalund
3fce470f78 Simplify/clean up calculation of material TTB data 2018-06-11 14:17:57 -05:00
Sterling Harper
4b403c6b7b Address #1012 comments 2018-06-11 15:00:18 -04:00
Sterling Harper
973170628c
Merge pull request #1014 from GiudGiud/develop
Easier depletion restart capability
2018-06-11 12:59:13 -04:00
Adam G Nelson
6c8de73e3e Implemented sample_scatter in C++ 2018-06-10 14:23:08 -04:00
Adam G Nelson
59c4bc3fc4 fixing bugs found from the mg_basic test which exercises many more Mgxs data formats 2018-06-10 05:53:22 -04:00
Adam G Nelson
0054759c3a fixed line indentation so we can see if travis works with this 2018-06-09 08:54:21 -04:00
Adam G Nelson
ce919a0ad8 extended to being able to combine microscopic data into macroscopic. Seems to work, next step is to actually incorporate the C++ data into the transport and tallying process. That will be the true test 2018-06-09 08:53:40 -04:00
Adam G Nelson
13f163a25a Tied in the Mgxs cpp code in to the main body of Fortran. This commit stores progress getting microscopic data loaded on the C++ side. The next will be building the macroscopic cross sections, and then actually using the C++ during the fortran simulation 2018-06-08 16:18:37 -04:00
amandalund
7fc8c32295 Added TTB positron treatment 2018-06-08 09:56:59 -05:00
Jose Salcedo Perez
2602bef154 fixing indentations and level-spacing. Changed index in 'nuclide_header.f90'
line 891 from 4 to 1 (n,gamma) to account for the re-ordering of DEPLETION_RX.
2018-06-05 19:11:45 +00:00
Adam G Nelson
4355faed6e this flie too 2018-06-04 19:00:17 -04:00
Adam G Nelson
79b473fa5b Initial implementation of MGXS C++ code 2018-06-04 19:00:07 -04:00
guillaume
9de6108ac0 BUG fix, indexing of nuclides in reactionrates arrays was being ignored + cleaned debugging lines + added plots to examples 2018-06-03 21:21:39 -04:00
guillaume
da49be46aa debugging rxn rates 2018-06-02 22:47:24 -04:00
guillaume
b2c720b296 added unit tests for depletion restart capability 2018-06-02 16:34:41 -04:00
guillaume
09a4475e38 fixed bugs when changing integrator at restart time 2018-06-02 16:33:24 -04:00
guillaume
a85db74b2b addressed paulromano's review, added support for restart in cecm integrator 2018-06-02 14:03:11 -04:00
amandalund
d4237668d2 Allow TTB implementation to handle any photon cutoff energy 2018-05-31 20:52:54 -05:00
guillaume
f25cdb93f2 renamed exit() to close() 2018-05-31 17:39:34 -04:00
guillaume
87aed7a0b0 addressed smharper's comments 2018-05-31 17:33:43 -04:00
guillaume
1f60a7fea6 more natural way of getting starting index for depletion restart 2018-05-30 16:28:25 -04:00
guillaume
1e68f8635a added power to test_reference.h5 results so that they can be read 2018-05-30 16:25:58 -04:00
guillaume
d4ff02d2a2 first round of adapting tests 2018-05-30 13:39:04 -04:00
guillaume
8726744ef2 added support for changing power at beginning of restart without recomputing rates (no TH feedback) 2018-05-29 23:57:31 -04:00
guillaume
2b08112b91 getting volumes from last result 2018-05-29 22:56:47 -04:00
guillaume
f4968e1e03 updated comment 2018-05-29 22:39:17 -04:00
guillaume
d2bce45a31 cleaned a comment 2018-05-29 20:04:01 -04:00
guillaume
29222f69cf cleaner way to get initial time 2018-05-29 20:03:05 -04:00
guillaume
73d8b4a043 getting initial nuclide densities from depletion results for the burnable ones, from geometry for the non-burnable ones 2018-05-29 19:55:54 -04:00
guillaume
563e3436e4 getting initial nuclide densities from depletion results, other choice would be to update python densities, but depletion results are needed anyway 2018-05-29 19:09:38 -04:00
guillaume
cf85c2bb05 skipping first step if already ran, not checking if power is the same though 2018-05-29 18:03:37 -04:00
guillaume
1673b2983a added restart in predictor, working on skipping initial step if already ran 2018-05-29 17:45:31 -04:00
guillaume
ed65c15b30 added depletion restart python example 2018-05-28 18:38:31 -04:00
guillaume
51911bacb4 added transfer volumes function, changed titles in depletion example 2018-05-28 18:36:43 -04:00
Jose Salcedo Perez
9857f46231 making sure CMakelist.f90 and simulation.f90
match their corresponding files in the develop
branch.
2018-05-28 18:13:59 +00:00
Jose Salcedo Perez
6a53e61c96 Updating tallies.xml 2018-05-28 13:24:30 +00:00
Sterling Harper
3d5e9b4dc2 Add deallocation for C++ geometry globals 2018-05-27 16:43:33 -04:00
Sterling Harper
1e867c0749 Merge branch 'develop' into c_cell 2018-05-27 14:16:48 -04:00
Sterling Harper
7f7af84e64 Miscellaneous cleanup 2018-05-27 13:44:16 -04:00
Sterling Harper
d78c5619de Consistently use 0-based indexing for lattices 2018-05-26 13:55:05 -04:00
Sterling Harper
4614db8e2c Use const reverse iter for GCC 4.8 2018-05-25 21:35:46 -04:00
Sterling Harper
af4525a1eb Move find_offset (distribcell) to C++ 2018-05-25 21:16:47 -04:00
Jose Salcedo Perez
0af6b4bee0 Changed logic in depletion-xs construction to skip (n,3n) and (n,4n) if
energy index is below the threshold for (n,2n). If we are above (n,2n) but
below (n,3n) then we skip (n,4n) automatically.

I also took (n,gamma) outside of that loop since it is not really a
threshold reaction.
2018-05-24 20:27:15 +00:00
Jose Salcedo Perez
70e45b3763 Adding Mesh tallies.
Merge branch 'develop' of https://github.com/mit-crpg/openmc into new-update
2018-05-24 19:39:52 +00:00
Sterling Harper
9bf2eaa42e Simplify distribcell find_offset logic 2018-05-24 12:53:09 -04:00
Sterling Harper
ae8395e0e4
Merge pull request #1008 from tjlaboss/mesh_from_lattice
Create a Mesh from an existing lattice
2018-05-23 17:56:58 -04:00
Paul Romano
0ea787fccf
Merge pull request #1011 from lindsayad/tally-sum-sq-1010
Consistently check derived for sum and sum_sq in tallies
2018-05-23 16:27:39 -05:00