Convert remainder of tallies to C++

This commit is contained in:
Paul Romano 2019-02-21 08:32:32 -06:00
parent 487b62f760
commit 0439eb0fa1
54 changed files with 410 additions and 1420 deletions

View file

@ -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