Merge branch 'master' of ssh://noisy/home/noisy3/OpenFOAM/OpenFOAM-dev

This commit is contained in:
andy
2009-02-09 16:11:31 +00:00
2 changed files with 9 additions and 16 deletions

View File

@ -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
);
label patchI = meshRefinement::addPatch
(
mesh,
regNames[i],
wallPolyPatch::typeName
);
Info<< patchI << '\t' << regNames[i] << nl;
Info<< patchI << '\t' << regNames[i] << nl;
globalToPatch_[surfaces().globalRegion(surfI, i)] = patchI;
//}
globalToPatch_[surfaces().globalRegion(surfI, i)] = patchI;
}
Info<< nl;

View File

@ -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())
{