Move results and global_tallies over to C++

This commit is contained in:
Paul Romano 2019-02-20 07:33:06 -06:00
parent 1542cf7bfd
commit 3eea8311d3
19 changed files with 315 additions and 613 deletions

View file

@ -336,15 +336,6 @@ extern "C" void free_memory_source()
model::external_sources.clear();
}
extern "C" double total_source_strength()
{
double strength = 0.0;
for (const auto& s : model::external_sources) {
strength += s.strength();
}
return strength;
}
void fill_source_bank_fixedsource()
{
if (settings::path_source.empty()) {