mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-27 13:45:36 -04:00
Apply @paulromano's suggestions from code review
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
This commit is contained in:
parent
f673a8dad2
commit
1262bcde7d
4 changed files with 17 additions and 22 deletions
|
|
@ -69,8 +69,7 @@ int openmc_init(int argc, char* argv[], const void* intracomm)
|
|||
|
||||
// initialize libMesh if it hasn't been initialized already
|
||||
// (if initialized externally, the libmesh_init object needs to be provided also)
|
||||
if (!settings::libmesh_init && !libMesh::initialized())
|
||||
{
|
||||
if (!settings::libmesh_init && !libMesh::initialized()) {
|
||||
#ifdef OPENMC_MPI
|
||||
// pass command line args, empty MPI communicator, and number of threads.
|
||||
// Because libMesh was not initialized, we assume that OpenMC is the primary
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue