primitiveMesh instead of polyMesh

This commit is contained in:
mattijs
2008-09-04 21:48:05 +01:00
parent eef964927d
commit c2d3722bbd
2 changed files with 8 additions and 8 deletions

View File

@ -26,7 +26,7 @@ License
#include "treeDataCell.H" #include "treeDataCell.H"
#include "indexedOctree.H" #include "indexedOctree.H"
#include "polyMesh.H" #include "primitiveMesh.H"
// * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * // // * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * //
@ -71,7 +71,7 @@ Foam::treeBoundBox Foam::treeDataCell::calcCellBb(const label cellI) const
Foam::treeDataCell::treeDataCell Foam::treeDataCell::treeDataCell
( (
const bool cacheBb, const bool cacheBb,
const polyMesh& mesh, const primitiveMesh& mesh,
const labelList& cellLabels const labelList& cellLabels
) )
: :
@ -94,7 +94,7 @@ Foam::treeDataCell::treeDataCell
Foam::treeDataCell::treeDataCell Foam::treeDataCell::treeDataCell
( (
const bool cacheBb, const bool cacheBb,
const polyMesh& mesh const primitiveMesh& mesh
) )
: :
mesh_(mesh), mesh_(mesh),

View File

@ -47,7 +47,7 @@ namespace Foam
{ {
// Forward declaration of classes // Forward declaration of classes
class polyMesh; class primitiveMesh;
template<class Type> class indexedOctree; template<class Type> class indexedOctree;
/*---------------------------------------------------------------------------*\ /*---------------------------------------------------------------------------*\
@ -58,7 +58,7 @@ class treeDataCell
{ {
// Private data // Private data
const polyMesh& mesh_; const primitiveMesh& mesh_;
//- Subset of cells to work on //- Subset of cells to work on
const labelList cellLabels_; const labelList cellLabels_;
@ -87,12 +87,12 @@ public:
treeDataCell treeDataCell
( (
const bool cacheBb, const bool cacheBb,
const polyMesh&, const primitiveMesh&,
const labelList& const labelList&
); );
//- Construct from mesh. Uses all cells in mesh. //- Construct from mesh. Uses all cells in mesh.
treeDataCell(const bool cacheBb, const polyMesh&); treeDataCell(const bool cacheBb, const primitiveMesh&);
// Member Functions // Member Functions
@ -104,7 +104,7 @@ public:
return cellLabels_; return cellLabels_;
} }
const polyMesh& mesh() const const primitiveMesh& mesh() const
{ {
return mesh_; return mesh_;
} }