| 117 | template<class Type> |
| 118 | template<class TrackingData> |
| 119 | inline 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. |