MCPcopy Create free account
hub / github.com/OpenFOAM/OpenFOAM-dev / indices

Function indices

src/triSurface/tools/labelledTri/sortLabelledTri.C:69–77  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

67// * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * //
68
69void sortLabelledTri::indices(labelList& newIndices) const
70{
71 newIndices.setSize(size());
72
73 forAll(newIndices, i)
74 {
75 newIndices[i] = operator[](i).index_;
76 }
77}
78
79
80labelList sortLabelledTri::indices() const

Callers 4

writeCellsFunction · 0.85

Calls 3

sizeFunction · 0.85
forAllFunction · 0.50
setSizeMethod · 0.45

Tested by

no test coverage detected