Merge pull request #1400 from pshriwise/cpp_counter_caches

C++ Cell and Universe Level Counting
This commit is contained in:
Paul Romano 2019-11-11 07:38:03 -06:00 committed by GitHub
commit f4cbcd20c5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 53 additions and 11 deletions

View file

@ -7,9 +7,15 @@
#include <cstdint>
#include <string>
#include <vector>
#include <unordered_map>
namespace openmc {
namespace model {
extern std::unordered_map<int32_t, std::unordered_map<int32_t, int32_t>> universe_cell_counts;
extern std::unordered_map<int32_t, int32_t> universe_level_counts;
} // namespace model
void read_geometry_xml();
//==============================================================================