Paul Romano
fdd5e10822
Release notes for 0.13.0
2022-02-04 07:19:35 -06:00
Paul Romano
ca58e14073
Apply suggestions from @pshriwise code review
...
Co-authored-by: Patrick Shriwise <pshriwise@gmail.com>
2022-01-23 14:03:18 -06:00
Paul Romano
6bb6e2ec0c
Fix failing unit tests
2022-01-21 08:18:54 -06:00
Olaf Schumann
8114482084
Merge branch 'openmc-dev:develop' into mesh
2022-01-09 11:33:12 +01:00
Paul Romano
ef61563079
Ensure time is propagated to secondary particles
2022-01-05 07:43:43 -06:00
Olaf Jochen Schumann
776c6baf1f
Changes request by @gridley
2021-12-22 16:19:58 +01:00
Olaf Schumann
d723dd7f07
Add Cylindrical & Spherical Mesh for Tally Filter
...
New method for ray-tracing the mesh, used for both MeshFilter & MeshSurfaceFilter. For all Structured Meshes!
meshes
negative/positive_grid_boundary to non-virtual function for speed
MeshIndex typedef now a std::array instead of int[3] -> Get rid of pointers (see e.g. core quidelines I.13)
MeshDistance class to stroe all relevant information
2021-12-20 19:41:52 +01:00
agnelson
c9e91d42fb
Replacing manual absolute error tests with pytest.approx, improving documentation, and other small changes per the review by @paulroman.
2021-10-05 08:39:24 -05: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
Adam Nelson
e1365bd036
Applied suggested changes per @paulromano's code review
...
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2021-10-01 06:09:24 -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
b335f82792
Made integrator quiet and fixed failing test caused by MPICommunicator types
2021-09-30 14:39:53 -05:00
agnelson
ad483b3fea
Moved the dummy communicator to being within openmc vice openmc.deplete, added test of model.calculate_volumes and model.deplete, fixed issues identified from those tests, and added a DLL quieting method (still needs to be propagated to integrator.integrate
2021-09-30 11:18:35 -05:00
agnelson
dc80b799ac
Resolving comments from @paulromano and updating tests accordingly
2021-09-29 18:51:00 -05:00
agnelson
e62ba9b85a
Upgrading tests of model, and adding better file management, Model.calculate_volumes method and Model.plot_geometry method. These last two still need to be tested as well as Model.deplete
2021-09-28 08:44:31 -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
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
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
024b1080fd
Update id_map docstring
2021-07-12 07:28:21 -05:00
Paul Romano
329dff2018
Add tests for export_properties and import_properties
2021-06-24 15:36:41 +07:00
Paul Romano
33f7d09f71
Use names import_properties and export_properties for Python API
2021-06-24 14:26:50 +07:00
Paul Romano
01b023b7ec
Include cell instance in id_map
2021-06-24 12:09:59 +07:00
Paul Romano
482848cadb
Add openmc_properties_export/import to C API (incomplete)
2021-06-23 11:25:42 +07:00
Gavin Ridley
a4b879ae11
additional documentation, make name changes more consistent
2021-05-08 18:51:49 -04:00
Patrick Shriwise
933bc22c0a
Exposing translations through the Python CAPI.
2021-04-28 00:24:10 -05:00
Paul Romano
f813c45810
Merge pull request #1798 from ameliajo/collisionFilter
...
Added Collision filter
2021-04-09 08:03:02 -05:00
Patrick Shriwise
6c7c0a6816
Addressing initial review comments from @paulromano.
2021-04-07 19:07:07 -05:00
Patrick Shriwise
700d62c9ef
Some cleanup (reordering of methods to match in inheritance) and including libmesh collision tallies in testing.
2021-04-07 19:06:15 -05:00
Amelia J Trainer
ab32931870
Merge branch 'develop' into collisionFilter
2021-04-07 11:22:43 -04:00
Amelia Trainer
447887645e
added tests for collision filter
2021-03-25 22:42:04 +00:00
Amelia Trainer
d1d4553661
addressed some of the requested changes from PR
2021-03-25 14:21:58 -04:00
Sterling Harper
f87e074c89
Merge pull request #1759 from shikhar413/rectlin_cmfd
...
Support rectilinear meshes for CMFD
2021-03-09 19:30:18 -07:00
Shikhar Kumar
6cb5b8b149
Address @smharper comments
2021-03-08 20:17:44 -05:00
Shikhar Kumar
ee077b4d61
Define cmfd_src on all procs
2021-02-09 13:47:04 -05:00
Shikhar Kumar
34275f4c72
Minor bug fixes
2021-02-09 12:41:41 -05:00
Shikhar Kumar
f83ab39b99
First pass at exposing rectilinear mesh through C API
2021-02-08 22:25:17 -05: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
YoungHui Park
cc35910074
Add missing surf_id on source_bank field
2021-01-18 14:36:04 -06:00
Shikhar Kumar
d630746191
Address @paulromano comments
2020-12-03 10:37:13 -05:00
Shikhar Kumar
e87e5ba3dc
Move CMFD reweight to cpp, minor discrepancies in regression tests
2020-11-24 22:56:31 -05:00
Paul Romano
96a66789b1
Activate need_depletion_rx for reaction rate-based depletion only
2020-09-15 10:23:31 -05:00
Paul Romano
0a61bc0cbe
Account for temperature in reaction rate calculation
2020-09-15 10:23:31 -05:00
Paul Romano
77d99d499b
Allow access to material temperature from openmc.lib
2020-09-15 10:23:31 -05:00
Paul Romano
b7df2d95e1
Add documentation of collapse_rate functions
2020-09-15 10:23:31 -05:00
Paul Romano
fb68943ca2
Rename one_group_xs -> collapse_rate
2020-09-15 10:23:31 -05:00