| 142 | template<class Type> |
| 143 | template<class TrackingData> |
| 144 | inline bool wallPointData<Type>::updateFace |
| 145 | ( |
| 146 | const polyMesh& mesh, |
| 147 | const label thisFacei, |
| 148 | const label, |
| 149 | const wallPointData<Type>& neighbourWallInfo, |
| 150 | const scalar tol, |
| 151 | TrackingData& td |
| 152 | ) |
| 153 | { |
| 154 | const vectorField& faceCentres = mesh.faceCentres(); |
| 155 | |
| 156 | return update |
| 157 | ( |
| 158 | faceCentres[thisFacei], |
| 159 | neighbourWallInfo, |
| 160 | tol, |
| 161 | td |
| 162 | ); |
| 163 | } |
| 164 | |
| 165 | |
| 166 | // Update this with w2 if w2 nearer to pt. |