mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
Merge branch 'master' into splitCyclic
Conflicts: src/OpenFOAM/meshes/polyMesh/polyPatches/basic/coupled/coupledPolyPatch.C src/OpenFOAM/meshes/polyMesh/polyPatches/constraint/cyclic/cyclicPolyPatch.C src/OpenFOAM/meshes/polyMesh/polyPatches/constraint/cyclic/cyclicPolyPatch.H src/dynamicMesh/polyTopoChange/polyTopoChange/addPatchCellLayer.C src/mesh/autoMesh/autoHexMesh/autoHexMeshDriver/autoLayerDriver.C src/parallel/decompose/scotchDecomp/scotchDecomp.C src/parallel/parMetisDecomp/parMetisDecomp.C src/sampling/sampledSurface/isoSurface/isoSurfaceCell.C
This commit is contained in:
@ -40,7 +40,6 @@ Description
|
||||
|
||||
// * * * * * * * * * * * * * Private Member Functions * * * * * * * * * * * //
|
||||
|
||||
<<<<<<< HEAD
|
||||
void Foam::domainDecomposition::append(labelList& lst, const label elem)
|
||||
{
|
||||
label sz = lst.size();
|
||||
@ -413,38 +412,6 @@ void Foam::domainDecomposition::decomposeMesh()
|
||||
}
|
||||
|
||||
|
||||
// Set the patch map. No filterPatches allowed.
|
||||
forAll(procBoundaryAddressing_, procI)
|
||||
{
|
||||
label nNormal = procPatchSize_[procI].size();
|
||||
|
||||
const labelListList& curSubPatchIDs =
|
||||
procProcessorPatchSubPatchIDs_[procI];
|
||||
|
||||
// label nInterProc = procProcessorPatchSize_[procI].size();
|
||||
label nInterProc = 0;
|
||||
forAll(curSubPatchIDs, procPatchI)
|
||||
{
|
||||
nInterProc += curSubPatchIDs[procPatchI].size();
|
||||
}
|
||||
|
||||
procBoundaryAddressing_[procI].setSize(nNormal + nInterProc);
|
||||
|
||||
for (label patchI = 0; patchI < nNormal; patchI++)
|
||||
{
|
||||
procBoundaryAddressing_[procI][patchI] = patchI;
|
||||
}
|
||||
label patchI = nNormal;
|
||||
forAll(curSubPatchIDs, procPatchI)
|
||||
{
|
||||
forAll(curSubPatchIDs[procPatchI], i)
|
||||
{
|
||||
procBoundaryAddressing_[procI][patchI++] =
|
||||
curSubPatchIDs[procPatchI][i];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//XXXXXXX
|
||||
// Print a bit
|
||||
forAll(procPatchStartIndex_, procI)
|
||||
@ -465,13 +432,6 @@ void Foam::domainDecomposition::decomposeMesh()
|
||||
}
|
||||
Info<< endl;
|
||||
|
||||
forAll(procBoundaryAddressing_, procI)
|
||||
{
|
||||
Info<< "Processor:" << procI << endl;
|
||||
Info<< " patchMap:" << procBoundaryAddressing_[procI] << endl;
|
||||
}
|
||||
Info<< endl;
|
||||
|
||||
forAll(procNeighbourProcessors_, procI)
|
||||
{
|
||||
Info<< "Processor " << procI << endl;
|
||||
|
||||
Reference in New Issue
Block a user