| 236 | } |
| 237 | |
| 238 | void correctPatchOrientation(const IPatch& originalPatch, IPatch& mergedPatch) |
| 239 | { |
| 240 | if (meshesAreFacingOppositeDirections(originalPatch.getTesselatedPatchMesh(), mergedPatch.getTesselatedPatchMesh())) |
| 241 | { |
| 242 | rMessage() << "Reversing patch matrix" << std::endl; |
| 243 | mergedPatch.invertMatrix(); |
| 244 | } |
| 245 | } |
| 246 | |
| 247 | } |
| 248 |
no test coverage detected