Patrick Shriwise
ea6ba328c9
Fix collision track feature for photon transport ( #3946 )
...
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2026-06-08 23:37:34 +00:00
John Tramm
977ade79a1
Replace xtensor with internal Tensor/View classes ( #3805 )
...
Co-authored-by: John Tramm <jtramm@gmail.com>
2026-02-17 09:50:38 -06:00
Paul Romano
b41e22f68b
Refactor ParticleType to use PDG Monte Carlo numbering scheme ( #3756 )
...
Co-authored-by: GuySten <62616591+GuySten@users.noreply.github.com>
Co-authored-by: Amanda Lund <alund1187@gmail.com>
2026-02-03 07:23:24 +00:00
GuySten
b94b496113
Ability to source electron/positrons directly ( #3404 )
...
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2025-10-15 23:51:59 +00:00
Gavin Ridley
aa4de82258
remove gsl-lite dependency ( #3225 )
...
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2025-02-20 01:03:20 +00:00
Paul Romano
c123ce0fa0
New multiply_density option on tallies ( #2539 )
2023-06-09 08:24:00 -04:00
Paul Romano
7969bb1488
Use <gsl/gsl-lite.hpp> include instead of <gsl/gsl>
2021-08-25 13:10:28 -05:00
Paul Romano
1bc2bd8460
Apply clang-format on entire source
2021-08-11 11:41:49 -05:00
Gavin Ridley
ad4e1c9f4a
remove std:: from vector,unique_ptr,make_unique,array
2021-05-03 18:01:27 -04:00
Paul Romano
1e436577ea
Use pair instead of struct as return type of find_temperature
2020-09-15 10:23:31 -05:00
Paul Romano
0a61bc0cbe
Account for temperature in reaction rate calculation
2020-09-15 10:23:31 -05:00
Paul Romano
b7df2d95e1
Add documentation of collapse_rate functions
2020-09-15 10:23:31 -05:00
Paul Romano
fb68943ca2
Rename one_group_xs -> collapse_rate
2020-09-15 10:23:31 -05:00
Paul Romano
e0bcfead80
First version of Nuclide::one_group_xs method
2020-09-15 10:23:31 -05:00
Paul Romano
6992e53398
Change declaration order of maps used for vectors
...
If the destructor of an object tries to remove an entry from the map, there's no
guarantee it exists if the map has already been destroyed (because it was
declared after the vector of objects), resulting in a segfault. By declaring the
map first, we avoid this. Currently an issue for Nuclide, but potentially other
classes in the future.
2020-07-29 15:48:14 -05:00
Paul Romano
ece6b8b15f
Weight non-fission energy deposition by keff
2020-06-29 10:59:14 -05:00
Paul Romano
f81f5b164f
Fix fission delayed photon scaling
2020-06-29 09:42:15 -05:00
Paul Romano
5ff8dca372
Change i_nuclide_/i_element_ to index_
2020-06-18 16:21:26 -05:00
Paul Romano
9c5ada6dd0
Change Nuclide/PhotonInteraction constructor to not take index
2020-06-18 13:37:50 -05:00
Paul Romano
086369e797
Use references for Nuclide objects being passed
2020-04-23 16:37:23 -05:00
Paul Romano
8894696db1
Scale fission photon production by (EGP + EGD)/EGP
2020-01-13 14:42:40 -06:00
Paul Romano
85f80f6b33
Make sure Nuclide::reaction_index_ is big enough for MT=901
2019-09-16 10:59:03 -05:00
Paul Romano
d7bcf60eb4
Store min/max data temperatures. Use in Cell::set_temperature to check bounds
2019-07-30 10:18:17 -05:00
Paul Romano
8a8b7b2c0a
Move cross section caches into Particle class
2019-03-19 13:56:45 -05: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
34be2851b4
Remove extern "C" from a bunch of global variables
2019-02-20 15:03:36 -06:00
Sterling Harper
cdb10ef2cc
Move score_*_derivative to C++
2019-02-10 18:43:48 -05:00
Sterling Harper
2d0ea1154b
Merge remote-tracking branch 'upstream/develop' into cpp_tallies
2019-02-05 14:05:15 -05:00
Paul Romano
06751d5373
Move openmc_load_nuclide, openmc_material_add_nuclide, and read_mgxs to C++
2019-01-30 22:15:48 -06:00
Paul Romano
9a2298f66d
Move read_ce_cross_sections to C++
2019-01-30 22:15:48 -06:00
Paul Romano
6b583d615c
Start converting material xs lookup
2019-01-30 22:15:48 -06:00
Sterling Harper
06caf67ccf
Create C++ TallyDerivative struct
2019-01-26 12:10:18 -05:00
Paul Romano
38ff673cf3
Finish converting windowed multipole functions to C++
2019-01-02 13:55:08 -06:00
Paul Romano
79ef612cb5
Fix multipole and two other bugs
2019-01-02 13:55:08 -06:00
Paul Romano
015360d477
Fix errors in conversion of Nuclide methods
2019-01-02 13:55:08 -06:00
Paul Romano
8be229ee62
Start converting full Nuclide object to C++ (calculate_xs, init_grid)
2019-01-02 13:54:21 -06:00
Adam G Nelson
af54b60c2e
Fixing @paulromano comments
2018-12-07 20:38:24 -05:00
Adam G Nelson
d4c8c3d34e
completed conversion of Urr to C++
2018-12-06 19:28:26 -05:00
Adam G Nelson
5eab6dbed0
Got URR working, now just need a few simplifications of the Fortran code
2018-12-05 21:02:59 -05:00
Adam G Nelson
12540cbc5b
initial implementation of Urr in C++
2018-12-05 13:49:04 -05:00
Paul Romano
b34283ca40
Add bindings for getting multipole attributes of Nuclide
2018-11-26 23:00:44 -06:00
Paul Romano
e8af7a2d16
Convert scattering routines to C++
2018-11-26 23:00:44 -06:00
Paul Romano
1f90ec1560
Convert sample_fission and sample_fission_neutron to C++
2018-11-26 23:00:44 -06:00
Paul Romano
8859714592
Move sample_neutron_reaction and create_fission_sites to C++
2018-11-26 23:00:44 -06:00
Paul Romano
71e36db418
Store reactions as a vector on Nuclide
2018-11-26 23:00:44 -06:00
Paul Romano
6940656c8a
Start reading nuclides on C++ side
2018-11-26 23:00:44 -06:00
Paul Romano
c9bd707f04
Namespace energy_min and energy_max
2018-11-14 15:00:16 -06:00
Paul Romano
83d64397d1
Add doxygen comments where needed
2018-08-23 21:38:23 -05:00
Paul Romano
b92677e70b
Convert source distributions to C++
2018-08-23 15:23:47 -05:00