mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-27 13:45:36 -04:00
Relying on the libmesh communicator to create new mesh instances.
This commit is contained in:
parent
0abf803bb7
commit
fd00bd94b2
3 changed files with 7 additions and 3 deletions
|
|
@ -80,6 +80,8 @@ if (!settings::libmesh_init && !libMesh::initialized())
|
|||
// pass command line args, empty MPI communicator, and number of threads
|
||||
settings::libmesh_init = std::make_unique<libMesh::LibMeshInit>(argc, argv, 0, n_threads);
|
||||
#endif
|
||||
|
||||
settings::libmesh_comm = &(settings::libmesh_init->comm());
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue