Paul Romano
bf33a9e11b
Add openmc_mesh_get_volumes C API function ( #2869 )
2024-02-13 06:44:05 -06:00
Paul Romano
e6a36ff796
Add C API function for getting mesh bins for rasterized plot ( #2854 )
2024-01-23 06:54:08 -06:00
Paul Romano
187160d082
Ability to compute material volume fractions over mesh elements ( #2802 )
2024-01-19 09:01:18 -06:00
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
Jin Whan Bae
f5900293fa
microxs from mg flux and chain file ( #2755 )
...
Co-authored-by: Jin Whan Bae <baej@ornl.gov>
Co-authored-by: shimwell <mail@jshimwell.com>
Co-authored-by: Jonathan Shimwell <drshimwell@gmail.com>
Co-authored-by: Olek <45364492+yardasol@users.noreply.github.com>
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2023-12-21 21:21:14 -06:00
Baptiste Mouginot
a3695c784e
Filter material from ( #2750 )
...
Co-authored-by: Patrick Shriwise <pshriwise@gmail.com>
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2023-11-09 16:05:42 +00:00
Paul Romano
94f02ae10b
Bump version to 0.14.0-dev ( #2740 )
2023-10-31 16:55:19 -05:00
Patrick Shriwise
00104ce954
Correct openmc.lib wrapper for evaluate_legendre. ( #2729 )
2023-10-13 00:18:26 +00:00
Patrick Shriwise
f9c17dd82f
Improving documentation on the return array of openmc.lib.id_map ( #2630 )
2023-08-05 16:54:09 -04:00
Patrick Shriwise
afa6ceb7d7
Adding ability to set additional ww attrs from openmc.lib ( #2609 )
...
Co-authored-by: Jonathan Shimwell <mail@jshimwell.com>
2023-07-22 21:18:46 +01:00
Christopher Fichtlscherer
e3cd406a9b
Pulse height tally for photons ( #2452 )
...
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2023-07-09 22:50:08 -05:00
Jonathan Shimwell
ee7b95245a
Static errors continuation ( #2557 )
...
Co-authored-by: Christina Cai <chrsitinacai48933@gmail.com>
Co-authored-by: christinacai123 <63215816+christinacai123@users.noreply.github.com>
2023-06-16 22:34:02 -05:00
Patrick Shriwise
610a5d8c34
Global Weight Window Generation via CAPI ( #2359 )
...
Co-authored-by: Jonathan Shimwell <drshimwell@gmail.com>
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2023-06-09 10:47:27 -05:00
Paul Romano
c123ce0fa0
New multiply_density option on tallies ( #2539 )
2023-06-09 08:24:00 -04:00
Patrick Shriwise
a12480400b
Merge pull request #2475 from shimwell/adding_bounding_box_class
...
Adding bounding box class
2023-04-25 12:08:39 -05:00
Jonathan Shimwell
c06609cd8d
docstring lib.cell.py to match cell.py
2023-04-25 09:49:42 +01:00
stchaker
5713ef700c
update mac segfault fix format, fix python settings name
2023-04-20 12:21:10 -04: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
Paul Romano
b6d6bdf3f5
Merge branch 'develop' into mixed_ncrystal_pr
2023-01-09 13:13:14 +07:00
Paul Romano
1680a72f12
Merge pull request #2116 from ebknudsen/mcpl_input
...
Add support for MCPL files
2022-12-24 13:12:52 -06:00
Jose Ignacio Marquez Damian
91f939a391
Add flag for NCrystal
2022-11-18 18:26:31 +01:00
Paul Romano
0587aeeaa4
Allow EnergyFunctionFilter interpolation to be set from C API
2022-10-18 12:14:15 -05:00
Erik B Knudsen
3b052f03cf
expose a python function to check for mcpl
2022-10-11 16:45:54 +02:00
lewisgross1296
a8b0f1714a
mistaken, dont need _get_tally_index, we call the openmc C++ api one instead
2022-08-16 14:09:05 -05:00
lewisgross1296
5b6c6667cb
put _get_tally_index(self,key) back and forgot return in __getitem__
2022-08-16 13:43:15 -05:00
Lewis Gross
209954ee2f
change back to prevent accidental infinite recursion
...
Co-authored-by: Patrick Shriwise <pshriwise@gmail.com>
2022-08-16 13:08:35 -05:00
lewisgross1296
15a863e645
suggestion by Paul Romano. removed need for _get_tally_index_ funciton by using python's fancy self[key] and self[key]._index capabilities
2022-08-15 15:01:34 -05:00
lewisgross1296
7fdd96a573
forgot a space for formatting requirements
2022-08-15 13:46:26 -05:00
Lewis Gross
c772972808
add space for compliant formatting
...
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2022-08-15 13:34:19 -05:00
lewisgross1296
d1775181e9
added deletion operator to TallyMapping class. used in tests and changed delete invalid id to access invalid id
2022-08-12 15:49:08 -05:00
Lewis Gross
74e093ae45
renamed function and forgot to update these commands
...
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2022-08-12 10:55:21 -05:00
lewisgross1296
21f7cda6bc
changed return type to match signature change
2022-08-11 14:50:57 -05:00
lewisgross1296
9d146a3e0f
added openmc_remove_tally_from_tallies to C++ API
...
in tally.py
2022-08-10 15:44:00 -05:00
Paul Romano
476fdd1bf7
Improve description of prn_seed argument in openmc.lib functions
2022-07-18 06:49:14 -05:00
Paul Romano
b1267f0544
Allow openmc_sample_external_source to produce multiple samples
2022-07-15 20:12:10 -05:00
Paul Romano
953b35e742
Add openmc_sample_external_source function and Python binding
2022-07-15 07:21:08 -05:00
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