Commit graph

1617 commits

Author SHA1 Message Date
Patrick Shriwise
058e5a9094 Allowing cell instance filters for non material-filled cells. 2021-07-28 18:32:13 -05:00
Patrick Shriwise
4e3350ebcf Adding a function to determine the instance of a cell at any level of Particle::coords. 2021-07-28 17:54:56 -05:00
agnelson
6a9d43bcdb Added c-api methods for rotation matrix set/get 2021-07-28 05:37:13 -05:00
agnelson
1d8f4c922e Added a set/get_translation attribute to the Cell C-API interface. This is also tested. 2021-07-27 18:30:48 -05:00
Paul Romano
c9d84310d3 Merge branch 'develop' into properties-exim 2021-07-14 15:18:31 -05:00
Patrick Shriwise
1e3a38a96d Merge remote-tracking branch 'upstream/develop' into dagmc_universe 2021-06-30 09:12:35 -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
b62708f911
Merge pull request #1851 from helen-brooks/external-moab-interface
Support for external MOAB instance via new constructor
2021-06-25 09:34:08 -05:00
Patrick Shriwise
1a839061d4 Making DAGMC geom class attrs private where possible and adding accessors. 2021-06-25 07:45:15 -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
d6f483d36f Make sure openmc_properties_export/import appear in global namespace 2021-06-23 14:52:04 +07:00
Paul Romano
7a4e32f7d5 Add filetype and other metadata to properties.h5 2021-06-23 11:48:45 +07:00
Paul Romano
ef7b43d986 Add material density to properties.h5 2021-06-23 11:39:22 +07:00
Paul Romano
482848cadb Add openmc_properties_export/import to C API (incomplete) 2021-06-23 11:25:42 +07:00
Paul Romano
94fc050fec Add open_group that works with std::string 2021-06-23 10:23:47 +07:00
helen-brooks
130724e3f7 Small refactor of Tally::set_filters method: create new public method set_strides. 2021-06-15 16:12:01 +01:00
helen-brooks
b3b325d02f Add new constructor for MOAB Unstructured Mesh class, taking a pointer to an external MOAB instance as an argument 2021-06-15 16:12:01 +01:00
helen-brooks
12bd847129 Promote moab instance from unique to shared ptr and check null before calling constructor 2021-06-15 16:12:01 +01:00
helen-brooks
9ab4ae4755 Small refactor of MOAB construction into its own method 2021-06-15 16:12:00 +01:00
Paul Romano
1b6b73affa Changed version number of 0.13.0-dev 2021-06-15 09:41:29 +07:00
Paul Romano
aad2d4941d Change version to 0.12.2, add release notes 2021-06-09 17:03:57 +07:00
Patrick Shriwise
4abfbead4f Removing extra layer of inheritance for the UnstructuredMesh::surface_bins_crossed method. Correcting some formatting and spelling too. 2021-06-04 21:38:14 -05:00
Patrick Shriwise
ff69f5a07a Fixing dagmc header includes after rebase. 2021-05-19 20:33:34 -05:00
Patrick Shriwise
9ffbf02f40 Addressing comments from @makeclean. 2021-05-19 19:04:55 -05:00
Patrick Shriwise
d0f32b80e0 Updating formatting and a small refactor for the dagmc_filename function. 2021-05-19 19:04:55 -05:00
Patrick Shriwise
ec7595261f Adding doc strings to the dagmc header. 2021-05-19 19:04:55 -05:00
Patrick Shriwise
9874004e94 Moving the DAGMC surface implementation into the DAGMC files as well. 2021-05-19 19:04:02 -05:00
Patrick Shriwise
230e054ec3 Move DAGCell implementation into the dagmc files. 2021-05-19 19:03:32 -05:00
Patrick Shriwise
97691874f6 Improved handling of lower level DAGMC universes. 2021-05-19 18:57:05 -05:00
Patrick Shriwise
3293948248 65;6003;1cAdding a find_cell method to universes. 2021-05-19 18:55:58 -05:00
Patrick Shriwise
8658dbaed7 Removing another now unused function. 2021-05-19 18:54:19 -05:00
Patrick Shriwise
da6a369d1f Refactoring all of the openmc namespace functions into the DAGUniverse class. 2021-05-19 18:54:19 -05:00
Patrick Shriwise
4819e02f22 Removing some unused DAGMC functions. 2021-05-19 18:54:19 -05:00
Patrick Shriwise
4d58990957 Adjusting UWUW material IDs if needed. 2021-05-19 18:05:58 -05:00
Patrick Shriwise
fdcc1ddb7b Creating a new data member for auto-assigning material IDs. 2021-05-19 18:05: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
b3ad45f9a8 Formatting update to surface header. 2021-05-19 18:05:28 -05:00
Patrick Shriwise
70cb36b474 Corrections after rebasing. 2021-05-19 18:05:28 -05:00
Patrick Shriwise
c732e2ae88 Adding empty definition for dagmc materials function. 2021-05-19 18:05:28 -05:00
Patrick Shriwise
0bd2f9263b Always checking DAGMC models for additional material definitions. 2021-05-19 18:02:15 -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