Commit b7e06b2c authored by Andrew Heather's avatar Andrew Heather
Browse files
parents f4d1f6fa f29b065e
......@@ -317,25 +317,18 @@ Foam::autoHexMeshDriver::autoHexMeshDriver
Info<< surfaces().names()[surfI] << ':' << nl << nl;
//const triSurfaceMesh& s = surfaces()[surfI];
//const geometricSurfacePatchList& regions = s.patches();
//labelList nTrisPerRegion(surfaces().countRegions(s));
forAll(regNames, i)
{
//if (nTrisPerRegion[i] > 0)
//{
label patchI = meshRefinement::addPatch
(
mesh,
regNames[i],
wallPolyPatch::typeName
);
Info<< patchI << '\t' << regNames[i] << nl;
globalToPatch_[surfaces().globalRegion(surfI, i)] = patchI;
//}
label patchI = meshRefinement::addPatch
(
mesh,
regNames[i],
wallPolyPatch::typeName
);
Info<< patchI << '\t' << regNames[i] << nl;
globalToPatch_[surfaces().globalRegion(surfI, i)] = patchI;
}
Info<< nl;
......
......@@ -369,7 +369,7 @@ void Foam::isoSurface::generateTriPoints
{
const polyPatch& pp = patches[patchI];
if (pp.coupled())
if (isA<processorPolyPatch>(pp))
{
if (refCast<const processorPolyPatch>(pp).owner())
{
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment