20 #ifndef GEOS_PHYSICSSOLVERS_SURFACEGENERATION_PARALLELTOPOLOGYCHANGE_HPP_
21 #define GEOS_PHYSICSSOLVERS_SURFACEGENERATION_PARALLELTOPOLOGYCHANGE_HPP_
25 #define PARALLEL_TOPOLOGY_CHANGE_METHOD 1
30 class NeighborCommunicator;
31 struct ModifiedObjectLists;
33 namespace parallelTopologyChange
36 void synchronizeTopologyChange( MeshLevel *
const mesh,
37 std::vector< NeighborCommunicator > & neighbors,
38 ModifiedObjectLists & modifiedObjects,
39 ModifiedObjectLists & receivedObjects,
52 m_elementsView.resize( elemManager.
numRegions() );
53 m_elementsData.resize( elemManager.
numRegions() );
64 m_elementsData[er][esr].resize( 0 );
65 m_elements[er][esr].set( m_elementsData[er][esr] );
66 m_elementsView[er][esr] = m_elementsData[er][esr];
79 buffer_type::size_type m_size;
88 m_bufferPtr = receiveBuffer.data();
89 TopologyChangeStepData::init( elemManager );
The ElementRegionBase is the base class to manage the data stored at the element level.
localIndex numSubRegions() const
Get the number of subregions in the region.
The ElementRegionManager class provides an interface to ObjectManagerBase in order to manage ElementR...
array1d< array1d< ReferenceWrapper< VIEWTYPE > > > ElementReferenceAccessor
The ElementViewAccessor at the ElementRegionManager level is a 2D array of ReferenceWrapper around VI...
localIndex numRegions() const
Get number of the regions.
array1d< array1d< VIEWTYPE > > ElementViewAccessor
The ElementViewAccessor at the ElementRegionManager level is an array of array of VIEWTYPE.
T const & getRegion(KEY_TYPE const &key) const
Get a element region.
array1d< localIndex > localIndex_array
A 1-dimensional array of geos::localIndex types.
GEOS_LOCALINDEX_TYPE localIndex
Local index type (for indexing objects within an MPI partition).
std::vector< buffer_unit_type > buffer_type
Type of storage for communication buffers.
signed char buffer_unit_type
Type stored in communication buffers.
Array< T, 1 > array1d
Alias for 1D array.