mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: Check for infinite vertex in cell
This commit is contained in:
@ -529,6 +529,11 @@ void Foam::controlMeshRefinement::initialMeshPopulation
|
||||
label highestPriority = -1;
|
||||
for (label cI = 0; cI < 4; ++cI)
|
||||
{
|
||||
if (mesh_.is_infinite(ch->vertex(cI)))
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
const label vertPriority =
|
||||
priorityMap[ch->vertex(cI)->index()];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user