Namespace filter_matches and tally_filters

This commit is contained in:
Paul Romano 2018-11-08 15:46:06 -06:00
parent a63a89f9d6
commit 24613a6799
4 changed files with 42 additions and 30 deletions

View file

@ -77,13 +77,20 @@ public:
// Global variables
//==============================================================================
extern "C" int32_t n_filters;
namespace simulation {
extern std::vector<FilterMatch> filter_matches;
#pragma omp threadprivate(filter_matches)
} // namespace simulation
namespace model {
extern "C" int32_t n_filters;
extern std::vector<std::unique_ptr<Filter>> tally_filters;
} // namespace model
//==============================================================================
extern "C" void free_memory_tally_c();