Commit graph

42 commits

Author SHA1 Message Date
GuySten
83a30f6860
Support arbitrary symmetry axis for CylindricalIndependent class (#3474)
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2026-02-21 20:00:36 +00:00
David Andrs
6041ee6ae3
SpatialBox can be constructed via ctor with parameters (#3760) 2026-01-31 17:02:39 -06:00
Jack Fletcher
0486e433d2
Source biasing capabilities (#3460)
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2026-01-12 09:51:12 -06: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 Wilson
58400cbf10
Add PointCloud spatial distribution (#3161)
Co-authored-by: Patrick Shriwise <pshriwise@gmail.com>
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2024-11-13 15:39:41 -06:00
Erik B Knudsen
1702b4554b
Restricted file source (#2916)
Co-authored-by: church89 <l.chierici89@gmail.com>
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2024-05-15 15:49:04 -05:00
Patrick Shriwise
e0d03812b9
Mesh Source Class (#2759)
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
Co-authored-by: Jonathan Shimwell <drshimwell@gmail.com>
2023-12-02 17:35:23 +00:00
Paul P.H. Wilson
035e6dc45a change to instance from pointer and cleanup lazy mistakes 2023-03-22 00:25:04 -04:00
Paul P.H. Wilson
1d9446a065 introduce method to sample discrete index and use in various places 2023-03-21 16:14:38 -04:00
Paul P.H. Wilson
db92a64ec9 rename variable for clarity; re-add volume normalization 2023-03-16 17:51:41 -05:00
Paul P.H. Wilson
ee6975767d Use Discrete distribution for mesh sampling
This version builds the independent variable by
converting int to double and then converts back
when sampling.
2023-03-16 17:34:44 -05:00
Paul Romano
ce62bbd9c5 Add missing override specifiers 2023-02-16 14:06:59 -06:00
Patrick Shriwise
beb3085469 Changing to const Mesh* 2023-01-13 12:24:24 -06:00
Patrick Shriwise
ff9b5fd741 Adding not about moving the mesh cdf in the future. 2023-01-13 10:24:05 -06:00
Patrick Shriwise
d0988327fe Applying formatter 2023-01-13 00:00:16 -06:00
Patrick Shriwise
d4cbcd12fc Addressing comments from @paulromano's review 2023-01-12 23:19:12 -06:00
Patrick Shriwise
e873db9a07
Apply suggestions from @paulromano
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2023-01-12 23:13:09 -06:00
Patrick Shriwise
e100689c8f Minor updates to C++ source. Fix for CDF distribution sampling 2022-12-29 09:23:14 -06:00
NybergWISC
bd60956d20 Second round of comments. volume method is now implemented from Mesh instead of UnstructuredMesh 2022-12-29 09:23:14 -06:00
NybergWISC
7c40badfbc Address comments on initial PR, all changed other than name of class and the use of python API to combine track outputs 2022-12-29 09:23:14 -06:00
NybergWISC
9f6d536959 Commit including most of the sampling work in distribution_spatial.cpp and testing 2022-12-29 09:23:12 -06:00
NybergWISC
80077ed3fd New changes to spatial distribution and source to include mesh sources. Made some edits suggested by Shriwise, now compiles successfully 2022-12-29 09:22:34 -06:00
cpf
b9b119bc73 changed theta to cos_theta in .h file 2022-05-09 20:09:32 +02: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
aprilnovak
c1d4119b78 Correct typo in retrieving stored pointer from CartesianIndependent distribution unique pointers.Refs #1680 2020-10-05 17:49:12 -05:00
Gavin Ridley
cfeb14252d
Update include/openmc/distribution_spatial.h
Co-Authored-By: Paul Romano <paul.k.romano@gmail.com>
2020-03-20 12:04:51 -04:00
Gavin Ridley
5e614afe0f
Update include/openmc/distribution_spatial.h
Co-Authored-By: Paul Romano <paul.k.romano@gmail.com>
2020-03-20 12:04:42 -04:00
Gavin Ridley
e8247b2476
Update include/openmc/distribution_spatial.h
Co-Authored-By: Paul Romano <paul.k.romano@gmail.com>
2020-03-20 12:04:29 -04:00
Gavin Ridley
714a001d80
Update include/openmc/distribution_spatial.h
Co-Authored-By: Paul Romano <paul.k.romano@gmail.com>
2020-03-20 12:04:13 -04:00
Gavin Ridley
24843a4593 add some accessors for copying stuff to GPU 2020-03-19 15:43:39 -04:00
Ethan Peterson
96c7427eaf Adding CylindricalIndependent source type
ammended docstrings to mention local reference frame
2020-01-06 19:47:10 -05: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
Paul Romano
eca3ce33d2 Fix pointer placement on uint64_t 2019-11-27 07:04:11 -06:00
John Tramm
12ec9bacff cleanup of comments and adding some parameter descriptions for altered function prototypes 2019-11-22 22:56:16 +00:00
John Tramm
5502f38580 partially done with refactoring 2019-11-21 22:19:15 +00:00
Ethan Peterson
15c7148331 Adding SphericalIndependent source type
Applied suggestions from code review

Co-Authored-By: Paul Romano <paul.k.romano@gmail.com>
2019-11-11 10:50:38 -05: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
Paul Romano
44cb9a990f Add XML node ctors for multivariate distributions 2018-08-23 15:23:47 -05:00
Paul Romano
9f0ea52d1a Move headers to include/openmc directory and openmc.h -> openmc/capi.h 2018-08-20 14:40:32 -05:00
Renamed from src/distribution_spatial.h (Browse further)