Go to the documentation of this file.
63 const bool active0 = activeFace[startFace + edgeFaces(edgeI, 0)];
64 const bool active1 = activeFace[startFace + edgeFaces(edgeI, 1)];
66 if( active0 && active1 )
79 std::map<label, labelLongList> exchangeData;
81 exchangeData[neiProcs[i]].clear();
85 const label beI = it();
87 if( activeFace[startFace + edgeFaces(beI, 0)] )
89 exchangeData[otherProc[beI]].append(it.key());
98 const label beI = globalToLocal[receivedData[i]];
100 if( activeFace[startFace + edgeFaces(beI, 0)] )
139 mesh2DEnginePtr_(NULL),
140 surfPartitionerPtr_(NULL),
141 meshPartitionerPtr_(NULL)
147 surfaceEngine_.bpAtProcs();
150 findActiveBoundaryEdges();
152 createMeshSurfacePartitioner();
void append(const T &e)
Append an element at the end of the list.
void create2DEngine() const
create a 2D engine
const Map< label > & globalToLocalBndEdgeAddressing() const
global boundary edge label to local label. Only for processor edges
#define forAll(list, i)
Loop across all elements in list.
const boolList & activeFace() const
const access to active faces
Template functions to aid in the implementation of demand driven data.
void clear()
Clear the list, i.e. set next free to zero.
meshSurfacePartitioner * meshPartitionerPtr_
mesh surface partitioner
static bool & parRun()
Is this a parallel run?
const polyMeshGen2DEngine & mesh2DEngine() const
create and return mesh 2D engine
triSurfacePartitioner * surfPartitionerPtr_
triSurface partitioner
forAllConstIter(PtrDictionary< phaseModel >, mixture.phases(), phase)
void deleteDemandDrivenData(DataPtr &dataPtr)
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
void createMeshSurfacePartitioner() const
create mesh surface partitioner
const Map< label > & otherEdgeFaceAtProc() const
const DynList< label > & beNeiProcs() const
communication matrix for sending edge data
labelLongList activeBoundaryEdges_
void clearOut()
delete dynamically allocated data
label sizeOfRow(const label rowI) const
Returns the number of elements in the given row.
const VRWGraph & edgeFaces() const
polyMeshGen2DEngine * mesh2DEnginePtr_
mesh 2D engine
const meshOctree & meshOctree_
reference to the octree
const meshSurfaceEngine & surfaceEngine_
reference to mesh surface
meshSurfaceMapper2D(const meshSurfaceMapper2D &)
Disallow default bitwise copy construct.
void createTriSurfacePartitioner() const
create surface partitioner
const PtrList< boundaryPatch > & boundaries() const
ordinary boundaries
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
void exchangeMap(const std::map< label, ListType > &m, LongList< T > &data, const Pstream::commsTypes commsType)
void findActiveBoundaryEdges()
find active boundary edges
const triSurf & surface() const
return a reference to the surface
const polyMeshGen & mesh() const