| 212 | // Update this with w2 if w2 nearer to pt. |
| 213 | template<class TrackingData> |
| 214 | inline bool Foam::wallPoint::updateCell |
| 215 | ( |
| 216 | const polyMesh& mesh, |
| 217 | const label thisCelli, |
| 218 | const label neighbourFacei, |
| 219 | const wallPoint& neighbourWallInfo, |
| 220 | const scalar tol, |
| 221 | TrackingData& td |
| 222 | ) |
| 223 | { |
| 224 | return |
| 225 | update |
| 226 | ( |
| 227 | mesh.cellCentres()[thisCelli], |
| 228 | neighbourWallInfo, |
| 229 | tol, |
| 230 | td |
| 231 | ); |
| 232 | } |
| 233 | |
| 234 | |
| 235 | // Update this with w2 if w2 nearer to pt. |