| 235 | // Update this with w2 if w2 nearer to pt. |
| 236 | template<class TrackingData> |
| 237 | inline bool Foam::wallPoint::updateFace |
| 238 | ( |
| 239 | const polyMesh& mesh, |
| 240 | const label thisFacei, |
| 241 | const label neighbourCelli, |
| 242 | const wallPoint& neighbourWallInfo, |
| 243 | const scalar tol, |
| 244 | TrackingData& td |
| 245 | ) |
| 246 | { |
| 247 | return |
| 248 | update |
| 249 | ( |
| 250 | mesh.faceCentres()[thisFacei], |
| 251 | neighbourWallInfo, |
| 252 | tol, |
| 253 | td |
| 254 | ); |
| 255 | } |
| 256 | |
| 257 | // Update this with w2 if w2 nearer to pt. |
| 258 | template<class TrackingData> |