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

Method updateCell

src/meshTools/cellDist/wallPoint/wallPointDataI.H:119–138  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

117template<class Type>
118template<class TrackingData>
119inline bool wallPointData<Type>::updateCell
120(
121 const polyMesh& mesh,
122 const label thisCelli,
123 const label,
124 const wallPointData<Type>& neighbourWallInfo,
125 const scalar tol,
126 TrackingData& td
127)
128{
129 const vectorField& cellCentres = mesh.primitiveMesh::cellCentres();
130
131 return update
132 (
133 cellCentres[thisCelli],
134 neighbourWallInfo,
135 tol,
136 td
137 );
138}
139
140
141// Update this with w2 if w2 nearer to pt.

Callers

nothing calls this directly

Calls 1

updateFunction · 0.50

Tested by

no test coverage detected