mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-27 13:45:36 -04:00
Convert remainder of tallies to C++
This commit is contained in:
parent
487b62f760
commit
0439eb0fa1
54 changed files with 410 additions and 1420 deletions
|
|
@ -1,3 +1,5 @@
|
|||
#include "openmc/cmfd_solver.h"
|
||||
|
||||
#include <vector>
|
||||
#include <cmath>
|
||||
|
||||
|
|
@ -348,11 +350,7 @@ int openmc_run_linsolver(const double* A_data, const double* b, double* x,
|
|||
}
|
||||
}
|
||||
|
||||
//==============================================================================
|
||||
// Fortran compatibility
|
||||
//==============================================================================
|
||||
|
||||
extern "C" void free_memory_cmfd()
|
||||
void free_memory_cmfd()
|
||||
{
|
||||
cmfd::indptr.clear();
|
||||
cmfd::indices.clear();
|
||||
|
|
@ -360,5 +358,4 @@ extern "C" void free_memory_cmfd()
|
|||
cmfd::indexmap.resize({0});
|
||||
}
|
||||
|
||||
|
||||
} // namespace openmc
|
||||
} // namespace openmc
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue