mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 06:05:58 -04:00
Surf source size function name change
This commit is contained in:
parent
f6bfacad3b
commit
f31a4d2e78
2 changed files with 3 additions and 3 deletions
|
|
@ -12,7 +12,7 @@
|
|||
namespace openmc {
|
||||
|
||||
void load_state_point();
|
||||
std::vector<int64_t> query_surf_source_size();
|
||||
std::vector<int64_t> calculate_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);
|
||||
|
|
|
|||
|
|
@ -525,7 +525,7 @@ hid_t h5banktype() {
|
|||
return banktype;
|
||||
}
|
||||
|
||||
std::vector<int64_t> query_surf_source_size()
|
||||
std::vector<int64_t> calculate_surf_source_size()
|
||||
{
|
||||
std::vector<int64_t> surf_source_index;
|
||||
surf_source_index.reserve(mpi::n_procs + 1);
|
||||
|
|
@ -601,7 +601,7 @@ write_source_bank(hid_t group_id, bool surf_source_bank)
|
|||
|
||||
// Reset dataspace sizes and vectors for surface source bank
|
||||
if (surf_source_bank) {
|
||||
surf_source_index_vector = query_surf_source_size();
|
||||
surf_source_index_vector = calculate_surf_source_size();
|
||||
dims_size = surf_source_index_vector[mpi::n_procs];
|
||||
count_size = simulation::surf_source_bank.size();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue