21 #ifndef GEOS_PHYSICSSOLVERS_SURFACEGENERATION_EMBEDDEDSURFACESPARALLELSYNCHRONIZATION_HPP_
22 #define GEOS_PHYSICSSOLVERS_SURFACEGENERATION_EMBEDDEDSURFACESPARALLELSYNCHRONIZATION_HPP_
25 #include "common/StdContainerWrappers.hpp"
30 class NeighborCommunicator;
34 std::set< localIndex > newNodes;
35 std::set< localIndex > newEdges;
40 newNodes.insert( newObjects.newNodes.begin(),
41 newObjects.newNodes.end() );
43 newEdges.insert( newObjects.newEdges.begin(),
44 newObjects.newEdges.end() );
46 for(
auto & iter : newObjects.newElements )
48 std::pair< localIndex, localIndex >
const & key = iter.first;
49 std::set< localIndex >
const & values = iter.second;
50 newElements[key].insert( values.begin(), values.end() );
57 namespace embeddedSurfacesParallelSynchronization
60 void synchronizeTopology(
MeshLevel & mesh,
63 int const mpiCommOrder,
64 string const fractureRegionName );
Class facilitating the representation of a multi-level discretization of a MeshBody.
Base template for ordered and unordered maps.
std::vector< T, Allocator > stdVector