diff --git a/src/OpenFOAM/meshes/lduMesh/lduPrimitiveMesh.H b/src/OpenFOAM/meshes/lduMesh/lduPrimitiveMesh.H index b5f16857ac..c84796da41 100644 --- a/src/OpenFOAM/meshes/lduMesh/lduPrimitiveMesh.H +++ b/src/OpenFOAM/meshes/lduMesh/lduPrimitiveMesh.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2004-2010 OpenCFD Ltd. + \\ / A nd | Copyright (C) 2004-2011 OpenCFD Ltd. \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -25,7 +25,7 @@ Class Foam::lduPrimitiveMesh Description - Simplest contrete lduMesh which stores the addressing needed bu lduMatrix. + Simplest contrete lduMesh which stores the addressing needed by lduMatrix. \*---------------------------------------------------------------------------*/ diff --git a/src/OpenFOAM/meshes/pointMesh/pointPatches/constraint/processorCyclic/processorCyclicPointPatch.C b/src/OpenFOAM/meshes/pointMesh/pointPatches/constraint/processorCyclic/processorCyclicPointPatch.C index f16ce4085e..edf4fb4da8 100644 --- a/src/OpenFOAM/meshes/pointMesh/pointPatches/constraint/processorCyclic/processorCyclicPointPatch.C +++ b/src/OpenFOAM/meshes/pointMesh/pointPatches/constraint/processorCyclic/processorCyclicPointPatch.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2010-2010 OpenCFD Ltd. + \\ / A nd | Copyright (C) 2010-2011 OpenCFD Ltd. \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -26,11 +26,6 @@ License #include "processorCyclicPointPatch.H" #include "pointBoundaryMesh.H" #include "addToRunTimeSelectionTable.H" -//#include "pointMesh.H" -//#include "globalPointPatch.H" -//#include "faceList.H" -//#include "primitiveFacePatch.H" -//#include "emptyPolyPatch.H" // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // @@ -49,344 +44,6 @@ addToRunTimeSelectionTable ); -// * * * * * * * * * * * * * Protected Member Functions * * * * * * * * * * // - -//void Foam::processorCyclicPointPatch::initGeometry(PstreamBuffers& pBufs) -//{ -// // Algorithm: -// // Depending on whether the patch is a master or a slave, get the -// // primitive patch points and filter away the points from the -// // global patch. -// -// if (isMaster()) -// { -// meshPoints_ = procPolyPatch_.meshPoints(); -// } -// else -// { -// // Slave side. Create the reversed patch and pick up its points -// // so that the order is correct -// const polyPatch& pp = patch(); -// -// faceList masterFaces(pp.size()); -// -// forAll(pp, faceI) -// { -// masterFaces[faceI] = pp[faceI].reverseFace(); -// } -// -// meshPoints_ = primitiveFacePatch -// ( -// masterFaces, -// pp.points() -// ).meshPoints(); -// } -// -// if (Pstream::parRun()) -// { -// initPatchPatchPoints(pBufs); -// } -//} -// -// -//void Foam::processorCyclicPointPatch::calcGeometry(PstreamBuffers& pBufs) -//{ -// if (Pstream::parRun()) -// { -// calcPatchPatchPoints(pBufs); -// } -// -// // If it is not runing parallel or there are no global points -// // create a 1->1 map -// if -// ( -// !Pstream::parRun() -// || !boundaryMesh().mesh().globalData().nGlobalPoints() -// ) -// { -// nonGlobalPatchPoints_.setSize(meshPoints_.size()); -// forAll(nonGlobalPatchPoints_, i) -// { -// nonGlobalPatchPoints_[i] = i; -// } -// } -// else -// { -// // Get reference to shared points -// const labelList& sharedPoints = -// boundaryMesh().globalPatch().meshPoints(); -// -// nonGlobalPatchPoints_.setSize(meshPoints_.size()); -// -// label noFiltPoints = 0; -// -// forAll(meshPoints_, pointI) -// { -// label curP = meshPoints_[pointI]; -// -// bool found = false; -// -// forAll(sharedPoints, sharedI) -// { -// if (sharedPoints[sharedI] == curP) -// { -// found = true; -// break; -// } -// } -// -// if (!found) -// { -// nonGlobalPatchPoints_[noFiltPoints] = pointI; -// meshPoints_[noFiltPoints] = curP; -// noFiltPoints++; -// } -// } -// -// nonGlobalPatchPoints_.setSize(noFiltPoints); -// meshPoints_.setSize(noFiltPoints); -// } -//} -// -// -//void processorCyclicPointPatch::initPatchPatchPoints(PstreamBuffers& pBufs) -//{ -// if (debug) -// { -// Info<< "processorCyclicPointPatch::" -// << "initPatchPatchPoints(PstreamBuffers&) : " -// << "constructing patch-patch points" -// << endl; -// } -// -// const polyBoundaryMesh& bm = boundaryMesh().mesh()().boundaryMesh(); -// -// // Get the mesh points for this patch corresponding to the faces -// const labelList& ppmp = meshPoints(); -// -// // Create a HashSet of the point labels for this patch -// Map