Go to the documentation of this file.
33 template<
class CellType>
36 if (!
c->parallelDualVertex())
45 for (Foam::label vI = 0; vI < 4; ++vI)
47 if (
c->vertex(vI)->referred())
49 masterProc =
min(masterProc,
c->vertex(vI)->procIndex());
61 template<
class CellType>
67 if (!
c->parallelDualVertex())
72 for (Foam::label vI = 0; vI < 4; ++vI)
74 if (
c->vertex(vI)->referred())
76 procsAttached[vI] =
c->vertex(vI)->procIndex();
static label nProcs(const label communicator=0)
Number of processes in parallel run.
label min(const labelHashSet &set, label minValue=labelMax)
Find the min value in labelHashSet, optionally limited by second argument.
Foam::label dualVertexMasterProc(const CellType &c)
Does the Dual vertex form part of a processor patch.
static int myProcNo(const label communicator=0)
Number of this process (starting from masterNo() = 0)
A 1D vector of objects of type <T> with a fixed length <N>.
Foam::FixedList< Foam::label, 4 > processorsAttached(const CellType &c)
const dimensionedScalar c
Speed of light in a vacuum.