Relying on the libmesh communicator to create new mesh instances.

This commit is contained in:
Patrick Shriwise 2021-03-12 08:45:38 -06:00
parent 0abf803bb7
commit fd00bd94b2
3 changed files with 7 additions and 3 deletions

View file

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