mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-25 20:45:35 -04:00
Move results and global_tallies over to C++
This commit is contained in:
parent
1542cf7bfd
commit
3eea8311d3
19 changed files with 315 additions and 613 deletions
|
|
@ -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()) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue