diff --git a/applications/utilities/mesh/generation/extrude/extrudeMesh/extrudeMesh.C b/applications/utilities/mesh/generation/extrude/extrudeMesh/extrudeMesh.C index 59f2aaad4b..8a7296eca0 100644 --- a/applications/utilities/mesh/generation/extrude/extrudeMesh/extrudeMesh.C +++ b/applications/utilities/mesh/generation/extrude/extrudeMesh/extrudeMesh.C @@ -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 @@ -522,7 +522,7 @@ int main(int argc, char *argv[]) ); - const boundBox& bb = mesh.globalData().bb(); + const boundBox& bb = mesh.bounds(); const vector span = bb.span(); const scalar mergeDim = 1E-4 * bb.minDim(); diff --git a/applications/utilities/parallelProcessing/redistributeMeshPar/redistributeMeshPar.C b/applications/utilities/parallelProcessing/redistributeMeshPar/redistributeMeshPar.C index 8960ba7522..a447f8af63 100644 --- a/applications/utilities/parallelProcessing/redistributeMeshPar/redistributeMeshPar.C +++ b/applications/utilities/parallelProcessing/redistributeMeshPar/redistributeMeshPar.C @@ -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 @@ -910,7 +910,7 @@ int main(int argc, char *argv[]) ( args, runTime, - mesh.globalData().bb() + mesh.bounds() ); // Mesh distribution engine diff --git a/applications/utilities/surface/surfaceToPatch/surfaceToPatch.C b/applications/utilities/surface/surfaceToPatch/surfaceToPatch.C index f752631d72..d8a52f7643 100644 --- a/applications/utilities/surface/surfaceToPatch/surfaceToPatch.C +++ b/applications/utilities/surface/surfaceToPatch/surfaceToPatch.C @@ -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 @@ -208,7 +208,7 @@ int main(int argc, char *argv[]) const scalar searchTol = args.optionLookupOrDefault("tol", 1e-3); // Get search box. Anything not within this box will not be considered. - const boundBox& meshBb = mesh.globalData().bb(); + const boundBox& meshBb = mesh.bounds(); const vector searchSpan = searchTol * meshBb.span(); Info<< "All boundary faces further away than " << searchTol diff --git a/src/dynamicMesh/polyTopoChange/polyTopoChange/hexRef8.C b/src/dynamicMesh/polyTopoChange/polyTopoChange/hexRef8.C index 618657df7c..d4e3da12a8 100644 --- a/src/dynamicMesh/polyTopoChange/polyTopoChange/hexRef8.C +++ b/src/dynamicMesh/polyTopoChange/polyTopoChange/hexRef8.C @@ -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 @@ -4394,7 +4394,7 @@ void Foam::hexRef8::distribute(const mapDistributePolyMesh& map) void Foam::hexRef8::checkMesh() const { - const scalar smallDim = 1E-6 * mesh_.globalData().bb().mag(); + const scalar smallDim = 1E-6 * mesh_.bounds().mag(); if (debug) { diff --git a/src/mesh/autoMesh/autoHexMesh/meshRefinement/meshRefinement.C b/src/mesh/autoMesh/autoHexMesh/meshRefinement/meshRefinement.C index 941da518ea..8a749cd60b 100644 --- a/src/mesh/autoMesh/autoHexMesh/meshRefinement/meshRefinement.C +++ b/src/mesh/autoMesh/autoHexMesh/meshRefinement/meshRefinement.C @@ -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 @@ -1791,7 +1791,7 @@ Foam::autoPtr Foam::meshRefinement::splitMeshRegions "meshRefinement::splitMeshRegions(const point&)" ) << "Point " << keepPoint << " is not inside the mesh." << nl - << "Bounding box of the mesh:" << mesh_.globalData().bb() + << "Bounding box of the mesh:" << mesh_.bounds() << exit(FatalError); } diff --git a/src/mesh/autoMesh/autoHexMesh/meshRefinement/meshRefinementBaffles.C b/src/mesh/autoMesh/autoHexMesh/meshRefinement/meshRefinementBaffles.C index 4e0aab462b..c4846a0265 100644 --- a/src/mesh/autoMesh/autoHexMesh/meshRefinement/meshRefinementBaffles.C +++ b/src/mesh/autoMesh/autoHexMesh/meshRefinement/meshRefinementBaffles.C @@ -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 @@ -1263,7 +1263,7 @@ void Foam::meshRefinement::findCellZoneInsideWalk ", const labelList&, const labelList&)" ) << "Point " << insidePoint << " is not inside the mesh." << nl - << "Bounding box of the mesh:" << mesh_.globalData().bb() + << "Bounding box of the mesh:" << mesh_.bounds() << exit(FatalError); } @@ -1431,7 +1431,7 @@ void Foam::meshRefinement::findCellZoneTopo "(const point&, const labelList&, const labelList&, labelList&)" ) << "Point " << keepPoint << " is not inside the mesh." << nl - << "Bounding box of the mesh:" << mesh_.globalData().bb() + << "Bounding box of the mesh:" << mesh_.bounds() << exit(FatalError); } @@ -1972,7 +1972,7 @@ Foam::autoPtr Foam::meshRefinement::splitMesh "(const label, const labelList&, const point&)" ) << "Point " << keepPoint << " is not inside the mesh." << nl - << "Bounding box of the mesh:" << mesh_.globalData().bb() + << "Bounding box of the mesh:" << mesh_.bounds() << exit(FatalError); } diff --git a/src/meshTools/sets/cellSources/regionToCell/regionToCell.C b/src/meshTools/sets/cellSources/regionToCell/regionToCell.C index b77081593f..3b07bb284f 100644 --- a/src/meshTools/sets/cellSources/regionToCell/regionToCell.C +++ b/src/meshTools/sets/cellSources/regionToCell/regionToCell.C @@ -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 @@ -135,7 +135,7 @@ void Foam::regionToCell::combine(topoSet& set, const bool add) const "regionToCell::combine(topoSet&, const bool) const" ) << "Point " << insidePoint_ << " is not inside the mesh." << nl - << "Bounding box of the mesh:" << mesh_.globalData().bb() + << "Bounding box of the mesh:" << mesh_.bounds() << endl; return; } diff --git a/src/sampling/sampledSurface/sampledSurfaces/sampledSurfaces.C b/src/sampling/sampledSurface/sampledSurfaces/sampledSurfaces.C index 06b3278489..82038ddcd7 100644 --- a/src/sampling/sampledSurface/sampledSurfaces/sampledSurfaces.C +++ b/src/sampling/sampledSurface/sampledSurfaces/sampledSurfaces.C @@ -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 @@ -342,7 +342,7 @@ bool Foam::sampledSurfaces::update() } // dimension as fraction of mesh bounding box - scalar mergeDim = mergeTol_ * mesh_.globalData().bb().mag(); + scalar mergeDim = mergeTol_ * mesh_.bounds().mag(); if (Pstream::master() && debug) {