34Foam::extendedCentredCellToCellStencil::extendedCentredCellToCellStencil
60 boolList isInStencil(map().constructSize(),
false);
64 const labelList& stencilCells = stencil_[celli];
68 isInStencil[stencilCells[i]] =
true;
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
static int & msgType() noexcept
Message tag of standard messages.
static label nProcs(const label communicator=worldComm)
Number of ranks in parallel run (for given communicator). It is 1 for serial run.
baseclass for extended cell centred addressing. Contains per cell a list of neighbouring cells and/or...
extendedCellToCellStencil(const polyMesh &)
Construct from mesh.
void compact()
After removing elements from the stencil adapt the schedule (map).
const mapDistribute & map() const
Return reference to the parallel distribution map.
const labelListList & stencil() const
Return reference to the stencil.
Class containing processor-to-processor mapping information.
List< label > labelList
A List of labels.
List< bool > boolList
A List of bools.
#define forAll(list, i)
Loop across all elements in list.