1 int USERD_get_part_node_ids
8 Info << "Entering: USERD_get_part_node_ids" << endl
9 << "part_number = " << part_number << endl
15 label nPoints = meshPtr->points().size();
17 for (label indx=0; indx<nPoints; indx++)
19 nodeid_array[indx] = indx + 1;
22 else if (part_number < nPatches+2)
25 label patchi = part_number-2;
26 const polyBoundaryMesh& bMesh = meshPtr->boundaryMesh();
27 const vectorField& points = bMesh[patchi].points();
29 label nPoints = points.size();
31 for (label indx=0; indx<nPoints; indx++)
33 nodeid_array[indx] = indx + 1;
37 else if (sprayPtr && part_number == nPatches+2)
42 Cloud<passiveParticle>::iterator elmnt = sprayPtr->begin();
43 elmnt != sprayPtr->end();
47 nodeid_array[indx] = indx + 1;
54 && part_number == secondMeshPartNum
57 label nPoints = secondMeshPtr->points().size();
59 for (label indx=0; indx<nPoints; indx++)
61 nodeid_array[indx] = indx + 1;
67 && part_number <= secondMeshPartNum + nSecondMeshPatches
70 label patchi = part_number - secondMeshPartNum - 1;
72 const polyBoundaryMesh& bMesh = secondMeshPtr->boundaryMesh();
73 const vectorField& points = bMesh[patchi].points();
74 label nPoints = points.size();
76 for (label indx=0; indx<nPoints; indx++)
78 nodeid_array[indx] = indx + 1;
84 && part_number == Numparts_available
87 label nPoints = faMeshPtr->points().size();
89 for (label indx=0; indx<nPoints; indx++)
91 nodeid_array[indx] = indx + 1;
100 Info << "Leaving: USERD_get_part_node_ids" << endl