Commit graph

10 commits

Author SHA1 Message Date
Patrick Shriwise
057c33a48e
Expose Material::depletable in the CAPI (#2843)
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2024-01-17 20:46:37 +00:00
agnelson
e4476fc0b7 Delayed mpi4py import until the user clearly indicated intent to use a communicator (or they already have created one and thus have already imported it); corrected versionchanged doc statements to include comments about what changed; added stackoverflow reference 2021-10-01 09:21:41 -05:00
agnelson
e8081207d7 Modified the C API to support setting material temperatures and to support setting the event based flag. Fixed failing MPI test. 2021-09-30 16:34:58 -05:00
agnelson
3f24c3d4e1 Added a LIB_INIT module-level flag to openmc.lib. Began process of setting up model to be able to use the C-API instead of only working with XML files 2021-09-23 16:22:42 -05:00
Paul Romano
ab80feb65a Get rid of try/except block for lib.Material.get_density 2021-07-14 15:12:46 -05:00
Paul Romano
731f2975bb Replace lib.Material.density property with get_density method 2021-07-13 06:57:33 -05:00
Paul Romano
329dff2018 Add tests for export_properties and import_properties 2021-06-24 15:36:41 +07:00
Miriam
177d61405b Docstring cleanup
Changed docstring in openmc/lib/material.py and cell.py to resemble tally.py
2021-02-09 01:00:06 +00:00
Paul Romano
77d99d499b Allow access to material temperature from openmc.lib 2020-09-15 10:23:31 -05:00
Paul Romano
bbb0b78383 Rename openmc.capi -> openmc.lib 2019-09-13 10:38:26 -05:00
Renamed from openmc/capi/material.py (Browse further)