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 |
|
Jonathan Shimwell
|
5d2b352025
|
f strings instead of .format for string editing (#2987)
|
2024-04-29 16:45:37 -05:00 |
|
Jonathan Shimwell
|
c06609cd8d
|
docstring lib.cell.py to match cell.py
|
2023-04-25 09:49:42 +01:00 |
|
Paul Romano
|
b5d30ff553
|
Refactor BoundingBox implementation
|
2023-04-18 22:26:37 -05:00 |
|
Jonathan Shimwell
|
6eb26b80c6
|
implemented BoundingBox class
|
2023-04-14 13:11:01 +01:00 |
|
agnelson
|
ad3a14fa3d
|
Resolving comments from @paulromano. Namely, set the openmc.lib.Cell rotation and translations to be properties that can take iterables vice ndarrays. Also removed const declaration when not needed. Finally, revised code and tests so that we do not return a None for non-initialized cases. This would yield different behavior between translation and rotation and instead of leading to confusion I now simply always return a sensical ndarray of float values.That is no rotation is no longer None, but is now array([0., 0., 0.]).
|
2021-07-30 11:42:27 -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
|
482848cadb
|
Add openmc_properties_export/import to C API (incomplete)
|
2021-06-23 11:25:42 +07:00 |
|
Miriam
|
1c90b5de71
|
typo
|
2021-02-09 01:14:04 +00: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 |
|
aprilnovak
|
0bba5833fb
|
Allow set_contained to be passed through C-API for setting cell temperatures. Refs #1754
|
2021-02-04 15:59:56 -06:00 |
|
Paul Romano
|
4943ae9307
|
Alphabetize import ordering (and use relative imports in a few places)
|
2020-04-06 15:16:09 -05:00 |
|
Paul Romano
|
e34a71b448
|
Remove unused imports across entire Python API
|
2020-03-31 18:11:31 -05:00 |
|
Gavin Ridley
|
f7281d9b57
|
fix off-by-ones 😦
|
2020-01-16 22:46:09 -05:00 |
|
Gavin Ridley
|
e258093d08
|
Annndddd that made it segfault
|
2020-01-16 22:12:42 -05:00 |
|
Gavin Ridley
|
3ec68866a7
|
maybe fix CI?
|
2020-01-16 16:49:07 -05:00 |
|
Paul Romano
|
bbb0b78383
|
Rename openmc.capi -> openmc.lib
|
2019-09-13 10:38:26 -05:00 |
|