Commit graph

139 commits

Author SHA1 Message Date
Patrick Shriwise
7d09a12606
DAGMC Cell Override Updates (#3888)
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2026-05-20 21:43:21 +00:00
Paul Romano
51ea89ccc8
Implement depth-awareness when enforcing precedence between union/intersection operators (#3730)
Co-authored-by: GuySten <guyste@post.bgu.ac.il>
2026-01-15 22:23:35 -06:00
Kevin Sawatzky
607f6babe5
Add distributed cell densities (#3546)
Co-authored-by: Patrick Shriwise <pshriwise@gmail.com>
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2025-09-19 04:11:06 +00:00
GuySten
a64cc96ed5
Fixed a bug in distribcell offsets logic (#3424) 2025-07-30 12:10:34 -05: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
Gavin Ridley
bcc2a4c5f0
simplify mechanism to detect if geometry entity is DAG (#3269) 2025-02-19 15:58:14 -06:00
Gavin Ridley
81b7388624
Raytrace plots (#2655)
Co-authored-by: Patrick Shriwise <pshriwise@gmail.com>
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2025-02-18 03:11:54 +00:00
Patrick Shriwise
32662b409a
Add constant for invalid surface tokens. (#3260)
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2025-01-16 09:36:13 -06:00
Baptiste Mouginot
5ad1a4aa1e
Differentiate materials in DAGMC universes (#3056)
Co-authored-by: Baptiste Mouginot <bam.git.not.reply@gmail.com>
Co-authored-by: Patrick Shriwise <pshriwise@gmail.com>
Co-authored-by: azimG <azimgivron@yahoo.com>
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2025-01-07 21:50:02 +00:00
Paul Romano
39a2d46e26
Implement bounding_box operation for meshes (#3119) 2024-08-18 23:09:32 -05:00
Paul Romano
8be35cd7b5
Fix bug with invalidated iterators when enforcing precedence in region expressions (#2950) 2024-06-17 14:25:05 -05:00
John Tramm
5111aa2621
Random Ray Transport (#2823)
Co-authored-by: Gavin Ridley <gavin.keith.ridley@gmail.com>
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2024-04-18 22:10:16 +00:00
Gavin Ridley
5549b58e1f
Geometron (#2744) 2024-01-16 10:35:57 -06:00
Paul Romano
647c9d185e
Update include/openmc/cell.h 2022-11-04 13:26:13 -05:00
myerspat
169d6d93dc Added Doxygen comments to Region data and methods. Added default implementation for new void functions. 2022-10-05 21:14:48 -04:00
myerspat
06312b0535 Refactored CSGCell to use Region 2022-09-25 22:05:22 -04:00
Paul Romano
9127ff4f5e [WIP] started region refactor 2022-09-08 11:24:08 -05:00
myerspat
090363b637 Fixed error due to applying de morgans laws 2022-08-26 12:47:08 -04:00
myerspat
80c8692537 Removed one of the region vectors and changed HDF5 output for geometry 2022-08-25 11:47:14 -04:00
myerspat
82bbf71413 Reduced contains_complex to one while loop 2022-08-15 15:04:03 -04:00
myerspat
809863c15c Removed second region expression so search finding relys on region_ 2022-08-15 10:18:45 -04:00
myerspat
bce3cc0da4 Added rpn back for bounding box 2022-08-04 15:46:10 -04:00
myerspat
8a5df89ea5 enforced precedence if intersections proceed unions without parenthesis 2022-07-28 12:22:28 -05:00
myerspat
7dfb35a39a removed rpn_ and changed to only region_ 2022-07-27 12:15:46 -05:00
helen-brooks
cc6c3ac9e6 More refactoring of DAGMC universe metadata; allow external setting of material temperature and population of universes' cells 2022-04-20 15:12:52 +01:00
Patrick Shriwise
4699732faa Separating the universe classes into their own source and header file 2022-04-05 08:53:43 -05: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
Paul Romano
7969bb1488 Use <gsl/gsl-lite.hpp> include instead of <gsl/gsl> 2021-08-25 13:10:28 -05:00
Paul Romano
f6bebf50d7 Add missing 'override' specifications in cell.h 2021-08-25 12:30:39 -05:00
Patrick Shriwise
f769afed93 Correction to docstring. 2021-08-25 07:32:12 -05:00
Patrick Shriwise
80dc5af4db
Update include/openmc/cell.h
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2021-08-23 14:45:08 -05:00
Patrick Shriwise
ed54e4df19 Removing unused parameter in Cell::find_parent_cells 2021-08-23 08:09:13 -05:00
Patrick Shriwise
137abfeedc Moving ParentCell* into cell.cpp 2021-08-23 08:09:13 -05:00
Patrick Shriwise
ccfaca8bdb Adding doc strings for PartentCell* and CellInstance* 2021-08-23 08:09:13 -05:00
Patrick Shriwise
5f2961cd55 Moving to unordered set. Applying style formatter. 2021-08-18 09:55:54 -05:00
Patrick Shriwise
e5e1c6eccc Adding a few more comments. Changing to use of openmc::vector. 2021-08-18 09:20:29 -05:00
Patrick Shriwise
64e93c930c Moving the compute_instance method to the ParentCellStack and adding some documentation there. 2021-08-18 08:52:10 -05:00
Patrick Shriwise
b9851b4c36 Some cleanup of the alg and ParentStack accessor. 2021-08-18 08:46:58 -05:00
Patrick Shriwise
0817a792d9 Applying a new stack to simplify parent cell traversal alg. 2021-08-18 08:46:58 -05:00
Patrick Shriwise
b94174cf96 Adding algorithm for finding parent cells of a cell instance. 2021-08-18 08:46:58 -05:00
Paul Romano
1bc2bd8460 Apply clang-format on entire source 2021-08-11 11:41:49 -05:00
agnelson
6a9d43bcdb Added c-api methods for rotation matrix set/get 2021-07-28 05:37:13 -05:00
Paul Romano
c9d84310d3 Merge branch 'develop' into properties-exim 2021-07-14 15:18:31 -05:00
Patrick Shriwise
ef70e12142 Enhancing to/from hdf5 methods so that DAGMC universes can be reproduced and exported to XML from a summary file. 2021-06-29 21:04:23 -05:00
Patrick Shriwise
648054fbc7 Adding a fucntion for printing a warning if a root DAGMC universe does not contain a graveyard volume. 2021-06-28 15:01:32 -05:00
Patrick Shriwise
5e4aef6cb0 Removing virtual on Cell::to_hdf5. 2021-06-25 07:45:15 -05:00
Patrick Shriwise
fbcaf5acd8
Apply PR suggestions from @paulromano
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2021-06-25 07:45:02 -05:00
Paul Romano
482848cadb Add openmc_properties_export/import to C API (incomplete) 2021-06-23 11:25:42 +07:00