mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
primitiveMesh instead of polyMesh
This commit is contained in:
@ -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),
|
||||||
|
|||||||
@ -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_;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user