Go to the documentation of this file.
44 FatalErrorIn(
"polyMeshGenAddressing::calcPointPoints() const")
45 <<
"pointPoints already calculated"
59 const label nThreads = 3 * omp_get_num_procs();
60 # pragma omp parallel num_threads(nThreads) if( nPoints.size() > 10000 )
64 # pragma omp for schedule(static)
70 # pragma omp for schedule(static)
98 # pragma omp for schedule(static)
116 pp.
setRow(pointI, helper);
129 if( omp_in_parallel() )
132 "const VRWGraph& polyMeshGenAddressing::pointPoints() const"
133 ) <<
"Calculating addressing inside a parallel region."
void setRow(const label rowI, const ListType &l)
Set row with the list.
#define forAll(list, i)
Loop across all elements in list.
const polyMeshGenCells & mesh_
reference to the mesh
void calcPointPoints() const
Calculate point-point addressing.
const faceListPMG & faces() const
access to faces
const VRWGraph & pointFaces() const
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
label size() const
Returns the number of rows.
void appendIfNotIn(const T &e)
#define forAllRow(graph, rowI, index)
errorManip< error > abort(error &err)
errorManipArg< error, int > exit(error &err, const int errNo=1)
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
VRWGraph * ppPtr_
Point-points.
#define FatalErrorIn(functionName)
Report an error message using Foam::FatalError.
A face is a list of labels corresponding to mesh vertices.
const VRWGraph & pointPoints() const
void setSizeAndRowSize(const ListType &)
set the size and row sizes
dimensionedScalar pos(const dimensionedScalar &ds)