mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: polyMesh,meshSearch: default value on findCell, pointInCell
This commit is contained in:
@ -86,7 +86,7 @@ Foam::labelList Foam::refinementParameters::findCells(const polyMesh& mesh)
|
||||
{
|
||||
const point& keepPoint = keepPoints_[i];
|
||||
|
||||
label localCellI = mesh.findCell(keepPoint, polyMesh::FACEDIAGTETS);
|
||||
label localCellI = mesh.findCell(keepPoint);
|
||||
|
||||
label globalCellI = -1;
|
||||
|
||||
|
||||
@ -1825,7 +1825,7 @@ Foam::autoPtr<Foam::mapPolyMesh> Foam::meshRefinement::splitMeshRegions
|
||||
|
||||
label regionI = -1;
|
||||
|
||||
label cellI = mesh_.findCell(keepPoint, polyMesh::FACEDIAGTETS);
|
||||
label cellI = mesh_.findCell(keepPoint);
|
||||
|
||||
if (cellI != -1)
|
||||
{
|
||||
|
||||
@ -1248,7 +1248,7 @@ void Foam::meshRefinement::findCellZoneInsideWalk
|
||||
// Find the region containing the insidePoint
|
||||
label keepRegionI = -1;
|
||||
|
||||
label cellI = mesh_.findCell(insidePoint, polyMesh::FACEDIAGTETS);
|
||||
label cellI = mesh_.findCell(insidePoint);
|
||||
|
||||
if (cellI != -1)
|
||||
{
|
||||
@ -1418,7 +1418,7 @@ void Foam::meshRefinement::findCellZoneTopo
|
||||
// Find the region containing the keepPoint
|
||||
label keepRegionI = -1;
|
||||
|
||||
label cellI = mesh_.findCell(keepPoint, polyMesh::FACEDIAGTETS);
|
||||
label cellI = mesh_.findCell(keepPoint);
|
||||
|
||||
if (cellI != -1)
|
||||
{
|
||||
@ -1959,7 +1959,7 @@ Foam::autoPtr<Foam::mapPolyMesh> Foam::meshRefinement::splitMesh
|
||||
// Find the region containing the keepPoint
|
||||
label keepRegionI = -1;
|
||||
|
||||
label cellI = mesh_.findCell(keepPoint, polyMesh::FACEDIAGTETS);
|
||||
label cellI = mesh_.findCell(keepPoint);
|
||||
|
||||
if (cellI != -1)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user