Set n_batches and n_max_batches through C API

This commit is contained in:
Shikhar Kumar 2020-06-01 18:06:31 -04:00
parent ffe0f0283a
commit 7b4db3279a
4 changed files with 78 additions and 1 deletions

View file

@ -89,6 +89,8 @@ extern "C" {
int openmc_reset_timers();
int openmc_run();
void openmc_set_seed(int64_t new_seed);
int openmc_set_n_batches(int32_t n_batches, int32_t n_max_batches,
bool add_statepoint_batch);
int openmc_simulation_finalize();
int openmc_simulation_init();
int openmc_source_bank(void** ptr, int64_t* n);