Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Development
openfoam
Commits
31cea7cb
Commit
31cea7cb
authored
Mar 30, 2011
by
mattijs
Browse files
STYLE: treeData*: renamed points() to shapePoints() to avoid confusion
parent
aef0a00b
Changes
15
Hide whitespace changes
Inline
Side-by-side
src/OpenFOAM/algorithms/indexedOctree/treeDataCell.C
View file @
31cea7cb
...
...
@@ -126,7 +126,7 @@ Foam::treeDataCell::treeDataCell
// * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * //
Foam
::
pointField
Foam
::
treeDataCell
::
p
oints
()
const
Foam
::
pointField
Foam
::
treeDataCell
::
shapeP
oints
()
const
{
pointField
cc
(
cellLabels_
.
size
());
...
...
src/OpenFOAM/algorithms/indexedOctree/treeDataCell.H
View file @
31cea7cb
...
...
@@ -125,7 +125,7 @@ public:
//- Get representative point cloud for all shapes inside
// (one point per shape)
pointField
p
oints
()
const
;
pointField
shapeP
oints
()
const
;
// Search
...
...
src/OpenFOAM/meshes/polyMesh/polyMesh.C
View file @
31cea7cb
...
...
@@ -34,6 +34,8 @@ License
#include
"OSspecific.H"
#include
"demandDrivenData.H"
#include
"polyMeshTetDecomposition.H"
#include
"indexedOctree.H"
#include
"treeDataCell.H"
#include
"pointMesh.H"
...
...
src/OpenFOAM/meshes/primitiveMesh/primitiveMesh.C
View file @
31cea7cb
...
...
@@ -25,6 +25,8 @@ License
#include
"primitiveMesh.H"
#include
"demandDrivenData.H"
#include
"indexedOctree.H"
#include
"treeDataCell.H"
// * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * //
...
...
src/OpenFOAM/meshes/primitiveMesh/primitiveMesh.H
View file @
31cea7cb
...
...
@@ -67,14 +67,16 @@ SourceFiles
#include
"Map.H"
#include
"EdgeMap.H"
#include
"boundBox.H"
#include
"indexedOctree.H"
#include
"treeDataCell.H"
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
namespace
Foam
{
// Forward declaration of classes
class
treeDataCell
;
template
<
class
Type
>
class
indexedOctree
;
/*---------------------------------------------------------------------------*\
Class primitiveMesh Declaration
\*---------------------------------------------------------------------------*/
...
...
src/meshTools/indexedOctree/treeDataEdge.C
View file @
31cea7cb
...
...
@@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2004-201
0
OpenCFD Ltd.
\\ / A nd | Copyright (C) 2004-201
1
OpenCFD Ltd.
\\/ M anipulation |
-------------------------------------------------------------------------------
License
...
...
@@ -95,7 +95,7 @@ Foam::treeDataEdge::treeDataEdge
// * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * //
Foam
::
pointField
Foam
::
treeDataEdge
::
p
oints
()
const
Foam
::
pointField
Foam
::
treeDataEdge
::
shapeP
oints
()
const
{
pointField
eMids
(
edgeLabels_
.
size
());
...
...
src/meshTools/indexedOctree/treeDataEdge.H
View file @
31cea7cb
...
...
@@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2004-201
0
OpenCFD Ltd.
\\ / A nd | Copyright (C) 2004-201
1
OpenCFD Ltd.
\\/ M anipulation |
-------------------------------------------------------------------------------
License
...
...
@@ -128,7 +128,7 @@ public:
//- Get representative point cloud for all shapes inside
// (one point per shape)
pointField
p
oints
()
const
;
pointField
shapeP
oints
()
const
;
// Search
...
...
src/meshTools/indexedOctree/treeDataFace.C
View file @
31cea7cb
...
...
@@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2004-201
0
OpenCFD Ltd.
\\ / A nd | Copyright (C) 2004-201
1
OpenCFD Ltd.
\\/ M anipulation |
-------------------------------------------------------------------------------
License
...
...
@@ -144,7 +144,7 @@ Foam::treeDataFace::treeDataFace
// * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * //
Foam
::
pointField
Foam
::
treeDataFace
::
p
oints
()
const
Foam
::
pointField
Foam
::
treeDataFace
::
shapeP
oints
()
const
{
pointField
cc
(
faceLabels_
.
size
());
...
...
src/meshTools/indexedOctree/treeDataFace.H
View file @
31cea7cb
...
...
@@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2004-201
0
OpenCFD Ltd.
\\ / A nd | Copyright (C) 2004-201
1
OpenCFD Ltd.
\\/ M anipulation |
-------------------------------------------------------------------------------
License
...
...
@@ -140,7 +140,7 @@ public:
//- Get representative point cloud for all shapes inside
// (one point per shape)
pointField
p
oints
()
const
;
pointField
shapeP
oints
()
const
;
// Search
...
...
src/meshTools/indexedOctree/treeDataPoint.C
View file @
31cea7cb
...
...
@@ -54,7 +54,7 @@ Foam::treeDataPoint::treeDataPoint
// * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * //
Foam
::
pointField
Foam
::
treeDataPoint
::
p
oints
()
const
Foam
::
pointField
Foam
::
treeDataPoint
::
shapeP
oints
()
const
{
if
(
pointLabels_
.
size
())
{
...
...
src/meshTools/indexedOctree/treeDataPoint.H
View file @
31cea7cb
...
...
@@ -94,9 +94,14 @@ public:
return
pointLabels_
;
}
const
pointField
&
points
()
const
{
return
points_
;
}
//- Get representative point cloud for all shapes inside
// (one point per shape)
pointField
p
oints
()
const
;
pointField
shapeP
oints
()
const
;
// Search
...
...
src/meshTools/indexedOctree/treeDataPrimitivePatch.C
View file @
31cea7cb
...
...
@@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2004-201
0
OpenCFD Ltd.
\\ / A nd | Copyright (C) 2004-201
1
OpenCFD Ltd.
\\/ M anipulation |
-------------------------------------------------------------------------------
License
...
...
@@ -128,7 +128,7 @@ template
>
Foam
::
pointField
Foam
::
treeDataPrimitivePatch
<
Face
,
FaceList
,
PointField
,
PointType
>::
p
oints
()
const
shapeP
oints
()
const
{
pointField
cc
(
patch_
.
size
());
...
...
src/meshTools/indexedOctree/treeDataPrimitivePatch.H
View file @
31cea7cb
...
...
@@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2004-201
0
OpenCFD Ltd.
\\ / A nd | Copyright (C) 2004-201
1
OpenCFD Ltd.
\\/ M anipulation |
-------------------------------------------------------------------------------
License
...
...
@@ -118,7 +118,7 @@ public:
//- Get representative point cloud for all shapes inside
// (one point per shape)
pointField
p
oints
()
const
;
pointField
shapeP
oints
()
const
;
// Search
...
...
src/meshTools/indexedOctree/treeDataTriSurface.C
View file @
31cea7cb
...
...
@@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2004-201
0
OpenCFD Ltd.
\\ / A nd | Copyright (C) 2004-201
1
OpenCFD Ltd.
\\/ M anipulation |
-------------------------------------------------------------------------------
License
...
...
@@ -187,7 +187,7 @@ Foam::treeDataTriSurface::treeDataTriSurface(const triSurface& surface)
// * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * //
Foam
::
pointField
Foam
::
treeDataTriSurface
::
p
oints
()
const
Foam
::
pointField
Foam
::
treeDataTriSurface
::
shapeP
oints
()
const
{
const
pointField
&
points
=
surface_
.
points
();
...
...
src/meshTools/indexedOctree/treeDataTriSurface.H
View file @
31cea7cb
...
...
@@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2004-201
0
OpenCFD Ltd.
\\ / A nd | Copyright (C) 2004-201
1
OpenCFD Ltd.
\\/ M anipulation |
-------------------------------------------------------------------------------
License
...
...
@@ -103,7 +103,7 @@ public:
//- Get representative point cloud for all shapes inside
// (one point per shape)
pointField
p
oints
()
const
;
pointField
shapeP
oints
()
const
;
// Search
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment