From c2d3722bbded3d5afb2fd89421a3072cb07a1d57 Mon Sep 17 00:00:00 2001 From: mattijs Date: Thu, 4 Sep 2008 21:48:05 +0100 Subject: [PATCH] primitiveMesh instead of polyMesh --- src/meshTools/indexedOctree/treeDataCell.C | 6 +++--- src/meshTools/indexedOctree/treeDataCell.H | 10 +++++----- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/meshTools/indexedOctree/treeDataCell.C b/src/meshTools/indexedOctree/treeDataCell.C index cb41899306..131f0c69be 100644 --- a/src/meshTools/indexedOctree/treeDataCell.C +++ b/src/meshTools/indexedOctree/treeDataCell.C @@ -26,7 +26,7 @@ License #include "treeDataCell.H" #include "indexedOctree.H" -#include "polyMesh.H" +#include "primitiveMesh.H" // * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * // @@ -71,7 +71,7 @@ Foam::treeBoundBox Foam::treeDataCell::calcCellBb(const label cellI) const Foam::treeDataCell::treeDataCell ( const bool cacheBb, - const polyMesh& mesh, + const primitiveMesh& mesh, const labelList& cellLabels ) : @@ -94,7 +94,7 @@ Foam::treeDataCell::treeDataCell Foam::treeDataCell::treeDataCell ( const bool cacheBb, - const polyMesh& mesh + const primitiveMesh& mesh ) : mesh_(mesh), diff --git a/src/meshTools/indexedOctree/treeDataCell.H b/src/meshTools/indexedOctree/treeDataCell.H index 1cb15db6fe..6fe5d86755 100644 --- a/src/meshTools/indexedOctree/treeDataCell.H +++ b/src/meshTools/indexedOctree/treeDataCell.H @@ -47,7 +47,7 @@ namespace Foam { // Forward declaration of classes -class polyMesh; +class primitiveMesh; template class indexedOctree; /*---------------------------------------------------------------------------*\ @@ -58,7 +58,7 @@ class treeDataCell { // Private data - const polyMesh& mesh_; + const primitiveMesh& mesh_; //- Subset of cells to work on const labelList cellLabels_; @@ -87,12 +87,12 @@ public: treeDataCell ( const bool cacheBb, - const polyMesh&, + const primitiveMesh&, const labelList& ); //- Construct from mesh. Uses all cells in mesh. - treeDataCell(const bool cacheBb, const polyMesh&); + treeDataCell(const bool cacheBb, const primitiveMesh&); // Member Functions @@ -104,7 +104,7 @@ public: return cellLabels_; } - const polyMesh& mesh() const + const primitiveMesh& mesh() const { return mesh_; }