Commit graph

1253 commits

Author SHA1 Message Date
Paul Romano
def0898a58 Remove -dev tag from version number 2022-02-11 12:17:12 -06:00
Patrick Shriwise
9c385c5ba7 Adding punctuation to docstrings 2022-02-09 23:32:41 -06:00
Patrick Shriwise
c8a1505635 Renaming longer find parent search method 2022-02-09 21:29:34 -06:00
Patrick Shriwise
c148683d82 Using find_cell to determine upward path through geometry 2022-02-09 20:44:39 -06:00
Patrick Shriwise
2332dd2fae Adding support for a position hint to get_contained_cells for acceleration 2022-02-09 20:44:39 -06:00
aprilnovak
e8982ea981 Reorder member variables to avoid order compile issue. Refs #1962 2022-02-04 10:24:38 -06:00
Patrick Shriwise
aefcb4c4aa Addressing comments from @paulromano 2022-02-01 12:17:38 -06:00
Patrick Shriwise
c6d4f1a5ed Updating some data member formats. 2022-01-26 13:41:53 -06:00
Patrick Shriwise
9aa6134366 Adding otf ww adjustment using lower bound ratio. 2022-01-25 17:02:17 -06:00
Patrick Shriwise
780039c512 moving some single-use constants closer to point of use 2022-01-20 15:10:24 -06:00
Patrick Shriwise
1a45d33310 Update: removing MAX_WORD_LEN and MAX_LINE_LEN constants. 2022-01-19 11:25:04 -06:00
Paul Romano
72af700ffd
Merge pull request #1947 from pshriwise/ww-final-tests
Weight windows final push
2022-01-19 09:13:07 -06:00
Olaf Schumann
39e57619df add suggensstions by @paulromano
run clang-format on all changed files
Update test results
2022-01-16 19:46:48 +00:00
Patrick Shriwise
62ad52d969 Adressing PR comments from @gridley. 2022-01-14 13:23:48 -06:00
Olaf Schumann
39f0d38367 Memory leak in hdf5_interface.h read_dataset(std::string) 2022-01-13 14:29:20 +01:00
Olaf Schumann
b150a58a11 Iterator invalidation in lower/upper_bound_index
Error ocured in regression_tests/filter_mesh/test.py
2022-01-13 14:29:19 +01:00
Paul Romano
0cf7d92837
Merge pull request #1931 from ojschumann/mesh
Add Cylindrical and Spherical Mesh for MeshFilter and MeshSurfaceFilter
2022-01-12 21:12:10 -06:00
Olaf Schumann
3b3294662e Addressing comments and suggestions of @paulromano
manually run clang-format on mesh.cpp and mesh.h
2022-01-12 19:43:48 +00:00
Olaf Schumann
8114482084
Merge branch 'openmc-dev:develop' into mesh 2022-01-09 11:33:12 +01:00
Paul Romano
ac495ef0f3 Move main weight window function to weight_windows.cpp 2022-01-08 15:26:02 -06:00
Paul Romano
f8290617bd Update settings.rst documentation, simplify reading weight window XML 2022-01-08 15:06:47 -06:00
YuanHu-PKU-KIT
e08af3c374 Implement mesh-based weight windows (squashed)
Co-authored-by: Andrew Davis <andrew.davis@ukaea.uk>
Co-authored-by: Patrick Shriwise <pshriwise@gmail.com>
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2022-01-08 14:43:18 -06:00
Olaf Schumann
d93df33dfb Implementation of time distribution for the source 2022-01-05 21:06:09 +00:00
Paul Romano
ef61563079 Ensure time is propagated to secondary particles 2022-01-05 07:43:43 -06:00
Paul Romano
24b741f2b3 Initial implementation of time filter 2022-01-05 07:43:42 -06:00
Olaf Schumann
53c15b9e7b More updates
after suggestions from @pshriwise
2022-01-04 16:57:30 +01:00
Olaf Schumann
5384734f62
Apply suggestions from code review
added suggestions from pshriwise

Co-authored-by: Patrick Shriwise <pshriwise@gmail.com>
2022-01-04 15:17:11 +01:00
Olaf Schumann
d1a1cae278
Update include/openmc/mesh.h
Co-authored-by: Patrick Shriwise <pshriwise@gmail.com>
2022-01-04 13:38:59 +01:00
Paul Romano
b517d2967d Respond to @pshriwise comments on #1933 2021-12-29 10:18:02 -05:00
Olaf Schumann
8b0b11b6c5 Bug: Forget to declare and define UnstructuredMesh::get_mesh_type() 2021-12-22 18:37:55 +01:00
Paul Romano
c21f03daa3 Minor tweaks 2021-12-22 11:47:37 -05:00
Paul Romano
117e44f1e2 Use oqs namespace for quartic solver 2021-12-22 11:47:34 -05:00
Paul Romano
abe2247eb6 Minimial conversion of quartic_solver.c to C++ 2021-12-22 11:47:34 -05:00
Paul Romano
377ee77486 Use quadric solver from ACM TOMS 46(2), pp1-28 (algorithm 1010) 2021-12-22 11:47:31 -05:00
Paul Romano
04bf63d0de Run clang-format 2021-12-22 11:35:03 -05:00
Andrew Davis
ade2d4cb06 Andy's original torus implementation 2021-12-22 11:35:03 -05:00
Olaf Jochen Schumann
776c6baf1f Changes request by @gridley 2021-12-22 16:19:58 +01:00
Olaf Schumann
d723dd7f07 Add Cylindrical & Spherical Mesh for Tally Filter
New method for ray-tracing the mesh, used for both MeshFilter & MeshSurfaceFilter. For all Structured Meshes!
meshes

negative/positive_grid_boundary to non-virtual function for speed

MeshIndex typedef now a std::array instead of int[3] -> Get rid of pointers (see e.g. core quidelines I.13)

MeshDistance class to stroe all relevant information
2021-12-20 19:41:52 +01:00
Gavin Ridley
41c8cb4106 improve URR lookup data layout and performance 2021-11-08 16:04:37 -05:00
Paul Romano
f0c1ce8bb1
Merge pull request #1896 from amandalund/atomic-relaxation-updates
Atomic relaxation updates
2021-10-20 21:02:28 -05:00
amandalund
10e4489ff0 Address reviewer feedback 2021-10-20 11:49:44 -05:00
Paul Romano
c2fe6327e2
Merge pull request #1890 from ojschumann/rational_dist
Rational univariate distribution
2021-10-12 22:26:02 -05:00
Olaf Schumann
c0bcc3f1ca Renamed Rational to Power Law 2021-10-11 19:48:35 +00:00
Olaf Schumann
358f64c53a
Apply suggestions from code review
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2021-10-11 21:20:30 +02:00
Olaf Schumann
9eeff1ede9 Update to rational distribution
* store offset, span and ninv in class
  * accessor functions calculate a, b, n
2021-10-05 20:04:21 +00:00
Olaf Schumann
eb0eac79c1 Rational univariate distribution, that sampled a random variable with a pdf of p = x^n
Usefull for samplig homogenous cylindrical or spherical sources
Simmilar to MCNPs "sp -21 n" functionality
2021-10-05 19:24:40 +00:00
Paul Romano
75b3d18446 Merge branch 'develop' into libpng 2021-10-05 12:49:35 -05:00
Paul Romano
c3bb352f8f
Merge pull request #1884 from nelsonag/model_control
Expanded capabilities of openmc.model.Model container
2021-10-05 12:46:51 -05:00
Paul Romano
6eea13043f Add support for PNG plots using libpng 2021-10-04 15:48:42 -05:00
amandalund
07a0ff5072 Add a helper function to calculate the maximum size of the stack used in atomic relaxation 2021-10-04 09:31:55 -05:00