Paul Romano
|
6b1c0f907f
|
Fix openmc.capi.init()
|
2018-05-02 06:21:09 -05:00 |
|
Paul Romano
|
9d5275ca26
|
Support passing command-line arguments in openmc.capi.init()
|
2018-05-01 22:22:18 -05:00 |
|
Paul Romano
|
0a8f5977ed
|
Be more consistent with C API function return values
|
2018-04-25 15:07:40 -05:00 |
|
Paul Romano
|
da4999f116
|
Move reading command-line arguments to C++ side
|
2018-04-25 12:51:45 -05:00 |
|
Paul Romano
|
44ff22dc14
|
Convert write_source_bank to C++, move some MPI initialization over too
|
2018-04-24 06:32:18 -05:00 |
|
Paul Romano
|
9b8cb2e0f1
|
Have openmc_init take a MPI_Comm*
|
2018-04-24 06:32:18 -05:00 |
|
Paul Romano
|
14455dc43e
|
Write main() from C++
|
2018-04-24 06:32:18 -05:00 |
|
Paul Romano
|
c78d296bf6
|
Have openmc_next_batch return an actual error
|
2018-04-11 13:23:54 -05:00 |
|
Paul Romano
|
08bf32e1ae
|
Throw exception if next_batch() is called before simulation is initialized
|
2017-12-15 11:38:28 +07:00 |
|
Paul Romano
|
8e1b8d6264
|
Make capi.keff() usable during inactive and active batches
|
2017-12-15 11:05:46 +07:00 |
|
Paul Romano
|
7b56bcead6
|
Add unit tests for openmc.capi
|
2017-12-14 09:52:05 +07:00 |
|
Paul Romano
|
4fbd9d75c2
|
Allow openmc.capi.statepoint_write to pass filename
|
2017-12-11 13:01:18 +07:00 |
|
Paul Romano
|
198df07311
|
Add subdivide convenience function
|
2017-12-11 13:01:18 +07:00 |
|
Paul Romano
|
671db024db
|
Fix bugs with statepoint loading. Add properties to capi.Tally.
|
2017-12-11 13:01:17 +07:00 |
|
Paul Romano
|
9ddc7316e4
|
Add simulation_init/finalize, iter_batches, source_bank in openmc.capi
|
2017-12-11 13:01:17 +07:00 |
|
Paul Romano
|
02b8f4ec09
|
Change names of openmc.capi classes. Hopefully fix RTD docs build.
|
2017-10-05 10:52:29 -05:00 |
|
Paul Romano
|
95a4f4c0f5
|
Allow C API View objects to be created (new) using normal constructor
|
2017-10-05 09:51:54 -05:00 |
|
Paul Romano
|
a1eb39d8fc
|
Improve repr() for Python classes exposing C API
|
2017-09-27 11:45:00 -05:00 |
|
Paul Romano
|
d4c7b58a4b
|
Change how error codes/messages are handled between C API and Python
|
2017-09-27 11:24:33 -05:00 |
|
Paul Romano
|
0d67240f2f
|
Wrap yield in run_in_memory @contextmanager in a try/finally
|
2017-09-22 10:17:07 -05:00 |
|
Paul Romano
|
cd8a297353
|
Break up capi.find into find_cell and find_material
|
2017-08-03 07:12:37 -05:00 |
|
Paul Romano
|
d0676c7a85
|
Break up capi/__init__ into __init__, core, and error
|
2017-08-03 06:31:09 -05:00 |
|