Commit graph

30 commits

Author SHA1 Message Date
Paul Romano
c4a75f7062
Ensure that Model.run() works when specifying a custom XML path (#2889) 2024-03-11 22:35:32 -05:00
Gavin Ridley
fca4da4bda
Export model.tallies to XML in CoupledOperator (#2840) 2024-01-23 06:53:11 -06:00
Paul Romano
ac941f79e0
Add RectangularPrism and HexagonalPrism composite surfaces (#2739)
Co-authored-by: Patrick Shriwise <pshriwise@gmail.com>
2023-11-01 09:13:40 -05:00
Patrick Shriwise
eda39ad9ca
Python source class refactor (#2524)
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2023-06-20 21:27:55 -05:00
Patrick Shriwise
f3bcad37b7 Addressing comments from @paulromano 2022-12-12 21:30:05 -06:00
Patrick Shriwise
939adbe70e Updating tests to reflect changes to API 2022-12-06 14:41:26 -06:00
Patrick Shriwise
b3225be24d Adding executor tests 2022-12-06 13:03:38 -06:00
Patrick Shriwise
b76825fa9f Addressing some comments from PR 2022-12-06 13:03:38 -06:00
Patrick Shriwise
d034e1de9c Apply suggestions from code review
Incorporating suggestions from @paulromano

Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2022-12-06 13:03:38 -06:00
Patrick Shriwise
021bb280c9 Adding initial test for exporting model.xmls. Correcting material maps 2022-12-06 13:03:38 -06:00
Paul Romano
a4f98b489c Change values in dict returned by Material.get_nuclide_atom_densities 2022-06-27 22:36:36 -05:00
Paul Romano
45a6b31c8f Change StatePoint.k_combined -> keff, ResultsList.get_eigenvalue -> get_keff 2022-05-02 12:09:43 -05:00
Jonathan
d91676fe1b removed unused imports 2022-02-11 22:36:46 +00:00
Paul Romano
6bb6e2ec0c Fix failing unit tests 2022-01-21 08:18:54 -06:00
Paul Romano
66ef28a385 Remove convert_exec arguments, update documentation 2021-10-06 11:51:38 -05:00
Paul Romano
7b070b7154 Remove convert arguments from Model.plot_geometry 2021-10-05 13:42:27 -05: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
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
61d067f1f5 oops; had test_model.py:test_deplete commented out. fixed 2021-09-30 11:19:11 -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
d7bf830028 Added test of Model.plot_geometry and made changes to reflect that openmc.lib.plot_geometry wont work if openmc.lib.init wasnt told that the run mode is to plot because then plots.xml isnt read in 2021-09-29 08:22:16 -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
d45af5a4ef Changes to the model.run interface again for clarity and for test passing 2021-09-27 13:45:31 -05:00
agnelson
f03b98ac0f Updating model.init_C_api and model.run to handle the kwargs that have been assigned to model.run for the CLI interface. Also updated tests 2021-09-27 12:32:25 -05:00
agnelson
0d2f923be8 Added tests of the openmc.Model class. Still need to do tests of deplete and the methods which change python and C attributes. Pushing this now to verify the CI shows passes for the MPI configs 2021-09-27 08:18:54 -05:00
Paul Romano
803f17500c Fix use of get_map<IdData> within plot.cpp and failing properties test 2021-06-24 17:05:10 +07:00
Paul Romano
6190ff8ff3 Add test for Model.import_properties 2021-06-24 15:54:38 +07:00