mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-27 21:55:41 -04:00
Apply suggestions from code review
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
This commit is contained in:
parent
8fa814d142
commit
9eb53a1af9
5 changed files with 10 additions and 13 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 LMI object needs to be provided also)
|
||||
if (!settings::LMI && !libMesh::initialized())
|
||||
{
|
||||
if (!settings::LMI && !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