Move surf_source_index out of global scope

This commit is contained in:
YoungHui Park 2021-01-11 17:04:08 -06:00
parent 1e01c9b0d0
commit 49a55120fd
3 changed files with 13 additions and 18 deletions

View file

@ -45,8 +45,6 @@ extern const RegularMesh* ufs_mesh;
extern std::vector<double> k_generation;
extern std::vector<int64_t> work_index;
extern std::vector<int64_t> surf_source_index;
} // namespace simulation
//==============================================================================

View file

@ -12,7 +12,7 @@
namespace openmc {
void load_state_point();
int query_surf_source_size();
std::vector<int64_t> query_surf_source_size();
void write_source_point(const char* filename, bool surf_source_bank = false);
void write_source_bank(hid_t group_id, bool surf_source_bank);
void read_source_bank(hid_t group_id, std::vector<Particle::Bank>& sites, bool distribute);