Commit graph

1672 commits

Author SHA1 Message Date
Gavin Ridley
530fb91324 rename brute force to exhaustive 2021-03-08 11:54:16 -05:00
Amelia Trainer
55fb5de01b Got the python interface for the collision filter tentatively working 2021-03-05 21:07:43 +00:00
Gavin Ridley
5f5420a0a9 add optimization for position indexing in surface functions 2021-03-04 23:35:24 -05:00
Amelia Trainer
7ebc36b4a5 Applied formatting corrections 2021-03-04 23:02:19 -05:00
Gavin Ridley
1fa2c0e889 separate find_cell into two functions 2021-03-04 17:56:34 -05:00
Amelia Trainer
7569139d51 added collision filter 2021-03-02 22:49:25 -05:00
AI-Pranto
a6144a4ab8 Rename to max_surface_particles 2021-02-25 10:46:57 +06:00
Paul Romano
242107fb63
Merge pull request #1768 from roystgnr/warning_fixes_cherrypicked
Warning fixes
2021-02-23 10:04:02 -06:00
Roy Stogner
b62b843332 Fix "unused variable" warning 2021-02-19 11:00:15 -06:00
Roy Stogner
ad483becec decltype() for loop index iterators
My compiler was only complaining about signed/unsigned warnings here,
but for maximum forwards compatibility it might be best to insist on
using the same data type for the index iterators as is being used for
the index range.
2021-02-19 11:00:06 -06:00
Shikhar Kumar
b3b6f6fedb Use dynamic_cast to get type of sub-class instead of storing type as variable 2021-02-12 19:18:57 -05:00
John Tramm
ecb92de244 Added fix for the relaxed memory ordering problem in the SharedArray object. 2021-02-12 22:47:24 +00:00
Gavin Ridley
12b6deaacf remove unnecessary pass by value for plot class 2021-02-11 16:43:34 -05:00
Shikhar Kumar
f83ab39b99 First pass at exposing rectilinear mesh through C API 2021-02-08 22:25:17 -05:00
aprilnovak
0bba5833fb Allow set_contained to be passed through C-API for setting cell temperatures. Refs #1754 2021-02-04 15:59:56 -06:00
helen-brooks
adf7077a01 Refactor read_input_xml so that all non-trivial functionality is containined in public functions. 2021-01-29 14:33:43 +00:00
Gavin Ridley
c262407af5
Merge pull request #1746 from paulromano/wmp-performance-opt
Performance optimizations for windowed multipole
2021-01-20 12:59:30 -05:00
Paul Romano
f782a2cf56
Merge pull request #1637 from ypark234/surf_src
Add surface source read/write capability
2021-01-20 11:06:18 -06:00
Patrick Shriwise
60cfe907b1
Apply suggestions from code review
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2021-01-18 22:27:58 -06:00
Patrick Shriwise
ee44b0c9c3
Update include/openmc/version.h.in
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2021-01-18 22:27:33 -06:00
YoungHui Park
5f48ec9eeb Rename max_surf_banks to max_particles 2021-01-18 14:36:05 -06:00
YoungHui Park
f31a4d2e78 Surf source size function name change 2021-01-18 14:36:05 -06:00
YoungHui Park
49a55120fd Move surf_source_index out of global scope 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
b0bd1ce011 Remove deprecated max_bank_size 2021-01-18 14:36:05 -06:00
YoungHui Park
fb9ee5504e Switch surf_src_bank in write_source_point to be optional 2021-01-18 14:36:05 -06:00
YoungHui Park
1264083f1b Switch source writing surface id designation scheme 2021-01-18 14:36:04 -06:00
YoungHui Park
3ab5568ac7 Localize variables total_surf_banks and max_bank_size 2021-01-18 14:36:04 -06:00
YoungHui Park
3be475836b Switch from surf_num to surf_id 2021-01-18 14:36:04 -06:00
YoungHui Park
dd82da692a Move query_surf_src_size from simulation.cpp to state_point.cpp 2021-01-18 14:36:04 -06:00
YoungHui Park
f388ac2e1e Rename variables for better readability 2021-01-18 14:36:04 -06:00
YoungHui Park
b5f6dacb7d Add setting parameter for surface source file reading 2021-01-18 14:36:04 -06:00
YoungHui Park
09863806df Add comments and minor changes 2021-01-18 14:36:04 -06:00
YoungHui Park
bdcfff0f0c Remove temporary functions specific to surface source 2021-01-18 14:36:04 -06:00
YoungHui Park
5091418d71 Add a new variable to store maximum bank size 2021-01-18 14:36:04 -06:00
YoungHui Park
5d9655256b Add new variables and functions to query global surface source bank size and index 2021-01-18 14:36:04 -06:00
YoungHui Park
26ccf1a0af Switch max_surf_banks to int64_t 2021-01-18 14:36:04 -06:00
YoungHui Park
74cae60a58 Use max_surf_banks for surface source bank allocation 2021-01-18 14:36:04 -06:00
YoungHui Park
abca6e580d Set the maximum number of particles to be banked on surfaces 2021-01-18 14:36:04 -06:00
YoungHui Park
d28967c801 Add surf_num to bank datatype 2021-01-18 14:36:04 -06:00
YoungHui Park
5ad6cfc4dc Switching to arbitrary source bank depending on surface source bank boolean 2021-01-18 14:36:04 -06:00
YoungHui Park
d849014391 Switch surf_src_bank from vector to SharedArray 2021-01-18 14:36:04 -06:00
YoungHui Park
45b24ca78e Switch to push_back method instead of manual indexing 2021-01-18 14:36:04 -06:00
YoungHui Park
0c8ce53d94 Rough banking of surface source into surf_src_bank 2021-01-18 14:36:04 -06:00
YoungHui Park
2ebf9d844f Copy/simplify source bank writing functions to make temp surface source bank writing functions 2021-01-18 14:36:04 -06:00
YoungHui Park
209394082e Add a new bank type surf_src_bank for surface source banking 2021-01-18 14:36:04 -06:00
YoungHui Park
2c0c2cfc03 Add a new element surface_source for banking and writing surface sources 2021-01-18 14:36:04 -06:00
YoungHui Park
b648142abb Add a new attribute surf_src on class Surface for source banking 2021-01-18 14:36:04 -06:00
Patrick Shriwise
b94d89dea7 Moving version numbers into a configured HEADER. Adding version numbers to CMake and including a version file. 2021-01-18 13:02:09 -06:00
Paul Romano
4fc7956515 Move broaden_wmp_polynomials to wmp.cpp. Make a few methods const 2021-01-15 14:25:32 -06:00