ENH: sample on nearest cell, not cell containing triangle centre.
Much more robust. Also now works on triSurfaces with non-compact point numbering.
Showing
- src/sampling/sampledSurface/sampledTriSurfaceMesh/sampledTriSurfaceMesh.C 122 additions, 61 deletions...pledSurface/sampledTriSurfaceMesh/sampledTriSurfaceMesh.C
- src/sampling/sampledSurface/sampledTriSurfaceMesh/sampledTriSurfaceMesh.H 5 additions, 10 deletions...pledSurface/sampledTriSurfaceMesh/sampledTriSurfaceMesh.H
- src/sampling/sampledSurface/sampledTriSurfaceMesh/sampledTriSurfaceMeshTemplates.C 9 additions, 26 deletions...ce/sampledTriSurfaceMesh/sampledTriSurfaceMeshTemplates.C
Please register or sign in to comment