mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-27 13:45:36 -04:00
Updates to get the timing of variable addition and score setting right for libmesh.
This commit is contained in:
parent
d00dd061ca
commit
7323ae526f
6 changed files with 41 additions and 30 deletions
|
|
@ -67,12 +67,8 @@ int openmc_init(int argc, char* argv[], const void* intracomm)
|
|||
int n_threads = 1;
|
||||
#endif
|
||||
|
||||
// initialize libmesh
|
||||
#ifdef OPENMC_MPI
|
||||
if (!settings::LMI) settings::LMI = std::make_unique<libMesh::LibMeshInit>(argc, argv, mpi::intracomm, n_threads);
|
||||
#else
|
||||
if (!settings::LMI) settings::LMI = std::make_unique<libMesh::LibMeshInit>(argc, argv, n_threads);
|
||||
#endif
|
||||
// initialize libmesh
|
||||
if (!settings::LMI) settings::LMI = std::make_unique<libMesh::LibMeshInit>(argc, argv, n_threads);
|
||||
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue