Commit graph

36 commits

Author SHA1 Message Date
GuySten
6cd39073b3
Fix surface tally when crossing lattice (#3895) 2026-03-23 10:16:59 -05:00
GuySten
a64cc96ed5
Fixed a bug in distribcell offsets logic (#3424) 2025-07-30 12:10:34 -05:00
Patrick Shriwise
754f6fa44a
Reset values of lattice offset tables when allocated (#3188) 2024-11-08 15:18:15 -06:00
Patrick Shriwise
ce4176deb5
Hexagonal lattice iterators (#2921)
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2024-06-17 21:14:12 +00:00
Paul Romano
ce62bbd9c5 Add missing override specifiers 2023-02-16 14:06:59 -06:00
Patrick Shriwise
9c385c5ba7 Adding punctuation to docstrings 2022-02-09 23:32:41 -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
Paul Romano
1bc2bd8460 Apply clang-format on entire source 2021-08-11 11:41:49 -05:00
Gavin Ridley
f0e1110e01 somehow changes to lattice methods were lost 2021-05-03 18:03:05 -04:00
Gavin Ridley
ad4e1c9f4a remove std:: from vector,unique_ptr,make_unique,array 2021-05-03 18:01:27 -04:00
Gavin Ridley
711c60ea15 cherry pick fixes 2021-05-03 17:53:03 -04: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
Patrick Shriwise
775cc1ae19 Incorporating @paulromano's comments 2020-06-02 09:10:13 -05:00
Patrick Shriwise
6390360dfa Initial layout of get_contained_cells. 2020-05-18 13:47:19 -05:00
Sterling Harper
193c6a9d7c Speed up distribcell initialization 2020-02-29 19:17:20 -05:00
Paul Romano
e7f3e34088 Fix from_hdf5 for hex lattice with x orientation. Assorted other fixes. 2019-06-10 13:13:52 -05:00
Paul Romano
a465dcdb16 Consistently use 'x' / 'y' for hex lattice orientation 2019-06-04 15:59:51 -05:00
dr.yuri
d860266892 test lattice OX according to PEP8 2019-05-31 02:38:06 +03:00
dryuri92
0333c5d500
call function by ref 2019-05-30 22:10:07 +03:00
dryuri92
4e0c52a628
rename HexOrientation to Orientation 2019-05-30 22:06:36 +03:00
Sterling Harper
e442f52102 Use enum for hex lattice orientation 2019-05-27 15:16:37 -04:00
Sterling Harper
f8690b87a0 Modify code to comply with the style guide 2019-05-27 14:59:05 -04:00
dr.yuri
7059b56e79 one distance function 2019-05-23 12:29:19 +03:00
dr.yuri
d3e661e7da One possible decision of a conflict 2019-04-11 15:41:21 +03:00
dr.yuri
7813b284ad code was corrected,tabs were replaced by spaces, results for tallies test get from current version 2019-04-11 12:23:44 +03:00
dr.yuri
4b2bb55054 new hex first commit 2019-04-08 16:01:36 +03:00
dr.yuri
967161cee8 test changes 2019-03-15 12:16:49 +03:00
Paul Romano
86c33fa7cb Fix build warnings 2019-03-13 08:27:35 -05:00
Paul Romano
e3f9446c23 Determine lattice indices accounting for particle's direction 2019-03-01 15:59:21 -06:00
Paul Romano
38e39c4486 Use unique_ptr consistently for global vectors 2019-03-01 15:56:21 -06:00
Paul Romano
964fdfde30 Remove cells array on Fortran side 2019-02-15 11:00:00 -06:00
Paul Romano
6436cab302 More namespacing for global variables 2018-11-14 15:00:15 -06:00
Sterling Harper
0e348e338b Remove global_ prefix from global geometry vectors 2018-08-27 19:06:01 -04:00
Sterling Harper
260bf843e8 Add trailing underscores to class attributes 2018-08-27 18:45:02 -04:00
Sterling Harper
01b216b63a Merge remote-tracking branch 'upstream/develop' into cpp_geometry 2018-08-24 20:45:52 -04: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/lattice.h (Browse further)