mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
Rationalize position searching and add cell->tet decomposition as the default cell-search algorithm
Resolves issues with probes and findRefCell for meshes in which all cell face-pyramids are positive.
This commit is contained in:
@ -44,13 +44,11 @@ int main(int argc, char *argv[])
|
||||
#include "createTime.H"
|
||||
#include "createMesh.H"
|
||||
|
||||
//label nReps = 100000;
|
||||
label nReps = 10000;
|
||||
|
||||
const point sample = args.argRead<point>(1);
|
||||
|
||||
//const polyMesh::cellRepresentation decompMode = polyMesh::FACEPLANES;
|
||||
const polyMesh::cellRepresentation decompMode = polyMesh::FACEDIAGTETS;
|
||||
const polyMesh::cellDecomposition decompMode = polyMesh::CELL_TETS;
|
||||
|
||||
treeBoundBox meshBb(mesh.bounds());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user