ENH: splitMeshRegions, autoHexMesh: allocate face-decomp structure before doing findCell

This commit is contained in:
mattijs
2012-03-26 12:17:46 +01:00
parent d7fb2360e5
commit ec25783410
4 changed files with 15 additions and 4 deletions

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -2194,6 +2194,8 @@ int main(int argc, char *argv[])
label regionI = -1;
(void)mesh.tetBasePtIs();
label cellI = mesh.findCell(insidePoint);
Info<< nl << "Found point " << insidePoint << " in cell " << cellI