Commit graph

127 commits

Author SHA1 Message Date
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
Patrick Shriwise
230e054ec3 Move DAGCell implementation into the dagmc files. 2021-05-19 19:03:32 -05:00
Patrick Shriwise
3293948248 65;6003;1cAdding a find_cell method to universes. 2021-05-19 18:55:58 -05:00
Patrick Shriwise
9fca1f690d Moving the DAGUniverse into the DAGMC header file. 2021-05-19 18:05:58 -05:00
Patrick Shriwise
6af978efb9 Moving UWUW material read into the DAGUniverse class. 2021-05-19 18:05:28 -05:00
Patrick Shriwise
956cf08481 Relying on the same enum to describe the Geometry type of different classes. 2021-05-19 18:02:15 -05:00
Patrick Shriwise
28153780a7 Moving the read_dagmc_universes function into the dagmc files. 2021-05-19 18:01:35 -05:00
Patrick Shriwise
f63ba31b55 Adding an option for reporting ID overlap between DAGMC and CSG geometry. 2021-05-19 18:01:35 -05:00
Patrick Shriwise
0a463be15e Adding universe types again. 2021-05-19 18:01:35 -05:00
Patrick Shriwise
108c2a2f35 Adding surface and cell offsets to the DAGUniverse to recover surface and cell indices. 2021-05-19 17:42:40 -05:00
Patrick Shriwise
c35c8dae43 Reading DAGMC universes from the geometry.xml now. 2021-05-19 17:41:38 -05:00
Patrick Shriwise
249a5bb511 Adding an XML node constructor for the DAGUniverse. 2021-05-19 17:41:38 -05:00
Patrick Shriwise
a16c0916da Using the DAGUniverse constructor to setup the DAGMC instance. 2021-05-19 17:41:38 -05:00