From f31a4d2e780ebb9069f0f11aae78f19376352832 Mon Sep 17 00:00:00 2001 From: YoungHui Park Date: Tue, 12 Jan 2021 12:05:52 -0600 Subject: [PATCH] Surf source size function name change --- include/openmc/state_point.h | 2 +- src/state_point.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/openmc/state_point.h b/include/openmc/state_point.h index 322b3162a5..53f072b85b 100644 --- a/include/openmc/state_point.h +++ b/include/openmc/state_point.h @@ -12,7 +12,7 @@ namespace openmc { void load_state_point(); -std::vector query_surf_source_size(); +std::vector 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& sites, bool distribute); diff --git a/src/state_point.cpp b/src/state_point.cpp index f6b38f09b1..48d87d403d 100644 --- a/src/state_point.cpp +++ b/src/state_point.cpp @@ -525,7 +525,7 @@ hid_t h5banktype() { return banktype; } -std::vector query_surf_source_size() +std::vector calculate_surf_source_size() { std::vector 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();