diff --git a/applications/test/BinSum/Test-BinSum.C b/applications/test/BinSum/Test-BinSum.C index fb768f80c6..f8d9532aeb 100644 --- a/applications/test/BinSum/Test-BinSum.C +++ b/applications/test/BinSum/Test-BinSum.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2012 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2013 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -29,6 +29,7 @@ Description \*---------------------------------------------------------------------------*/ +#include "List.H" #include "BinSum.H" #include "IOstreams.H" #include "Random.H" diff --git a/applications/test/ListOps/Test-ListOps.C b/applications/test/ListOps/Test-ListOps.C index f6e5695164..fbbe90deb9 100644 --- a/applications/test/ListOps/Test-ListOps.C +++ b/applications/test/ListOps/Test-ListOps.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2012 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2012-2013 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -60,7 +60,7 @@ int main(int argc, char *argv[]) Info<< nl << "Face : " << testFace << endl; Info<< "Rotate by 2 : " << rotateList(testFace, 2) << endl; - inplaceRotateList(testFace, -6); + inplaceRotateList(testFace, -6); Info<< "Rotate inplace by -6 : " << testFace << nl << endl; Info<< "Test inplace rotate : " << forwardRotate << endl; diff --git a/applications/test/dataEntry/dataEntryProperties b/applications/test/dataEntry/dataEntryProperties new file mode 100644 index 0000000000..93645fbfa3 --- /dev/null +++ b/applications/test/dataEntry/dataEntryProperties @@ -0,0 +1,25 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | +| \\ / O peration | Version: 2.2.0 | +| \\ / A nd | Web: www.OpenFOAM.org | +| \\/ M anipulation | | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class dictionary; + location "constant"; + object dataEntryProperties; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +x0 0.5; +x1 1; + + +dataEntry table ((0 0)(10 1)); + + +// ************************************************************************* // diff --git a/applications/test/fvSolutionCombine/Test-fvSolutionCombine.C b/applications/test/fvSolutionCombine/Test-fvSolutionCombine.C index 0d9775e849..2ee7fa1df8 100644 --- a/applications/test/fvSolutionCombine/Test-fvSolutionCombine.C +++ b/applications/test/fvSolutionCombine/Test-fvSolutionCombine.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -131,7 +131,7 @@ int main(int argc, char *argv[]) if (optRewrite && solutionDict.instance() != runTime.system()) { Info<<"instance is not " << runTime.system() - "- disabling rewrite for this file" << nl; + << "- disabling rewrite for this file" << nl; optRewrite = false; } diff --git a/src/mesh/autoMesh/autoHexMesh/autoHexMeshDriver/autoLayerDriver.C b/src/mesh/autoMesh/autoHexMesh/autoHexMeshDriver/autoLayerDriver.C index d0e43dbb10..b224ef609d 100644 --- a/src/mesh/autoMesh/autoHexMesh/autoHexMeshDriver/autoLayerDriver.C +++ b/src/mesh/autoMesh/autoHexMesh/autoHexMeshDriver/autoLayerDriver.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -293,6 +293,46 @@ void Foam::autoLayerDriver::handleNonManifolds } } + // 3. Remote check for end of layer across coupled boundaries + { + PackedBoolList isCoupledEdge(mesh.nEdges()); + + const labelList& cpEdges = mesh.globalData().coupledPatchMeshEdges(); + forAll(cpEdges, i) + { + isCoupledEdge[cpEdges[i]] = true; + } + syncTools::syncEdgeList + ( + mesh, + isCoupledEdge, + orEqOp(), + 0 + ); + + forAll(edgeGlobalFaces, edgeI) + { + label meshEdgeI = meshEdges[edgeI]; + + if + ( + pp.edgeFaces()[edgeI].size() == 1 + && edgeGlobalFaces[edgeI].size() == 1 + && isCoupledEdge[meshEdgeI] + ) + { + // Edge of patch but no continuation across processor. + const edge& e = pp.edges()[edgeI]; + //Pout<< "** Stopping extrusion on edge " + // << pp.localPoints()[e[0]] + // << pp.localPoints()[e[1]] << endl; + nonManifoldPoints.insert(pp.meshPoints()[e[0]]); + nonManifoldPoints.insert(pp.meshPoints()[e[1]]); + } + } + } + + label nNonManif = returnReduce(nonManifoldPoints.size(), sumOp