mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: use simpler constructor forms for treeData types
This commit is contained in:
committed by
Andrew Heather
parent
fc0b980333
commit
98598ba0bb
@ -90,7 +90,7 @@ void Foam::meshToMesh0::calcAddressing()
|
||||
|
||||
indexedOctree<treeDataCell> cellTree
|
||||
(
|
||||
treeDataCell(false, fromMesh_, polyMesh::CELL_TETS),
|
||||
treeDataCell(fromMesh_, polyMesh::CELL_TETS),
|
||||
shiftedBb, // overall bounding box
|
||||
8, // maxLevel
|
||||
10, // leafsize
|
||||
@ -162,7 +162,7 @@ void Foam::meshToMesh0::calcAddressing()
|
||||
// is not as big as all boundary faces
|
||||
indexedOctree<treeDataFace> faceTree
|
||||
(
|
||||
treeDataFace(false, fromPatch),
|
||||
treeDataFace(fromPatch),
|
||||
shiftedBb, // overall search domain
|
||||
12, // maxLevel
|
||||
10, // leafsize
|
||||
|
||||
@ -93,12 +93,8 @@ void Foam::patchProbes::findElements(const fvMesh& mesh)
|
||||
|
||||
const indexedOctree<treeDataFace> boundaryTree
|
||||
(
|
||||
treeDataFace // all information needed to search faces
|
||||
(
|
||||
false, // do not cache bb
|
||||
mesh,
|
||||
bndFaces // patch faces only
|
||||
),
|
||||
treeDataFace(mesh, bndFaces), // patch faces only
|
||||
|
||||
overallBb, // overall search domain
|
||||
8, // maxLevel
|
||||
10, // leafsize
|
||||
|
||||
@ -94,12 +94,8 @@ void Foam::patchCloudSet::calcSamples
|
||||
|
||||
indexedOctree<treeDataFace> patchTree
|
||||
(
|
||||
treeDataFace // all information needed to search faces
|
||||
(
|
||||
false, // do not cache bb
|
||||
mesh(),
|
||||
patchFaces // boundary faces only
|
||||
),
|
||||
treeDataFace(mesh(), patchFaces), // boundary faces only
|
||||
|
||||
bb, // overall search domain
|
||||
8, // maxLevel
|
||||
10, // leafsize
|
||||
|
||||
@ -114,12 +114,8 @@ void Foam::patchSeedSet::calcSamples
|
||||
|
||||
indexedOctree<treeDataFace> boundaryTree
|
||||
(
|
||||
treeDataFace // all information needed to search faces
|
||||
(
|
||||
false, // do not cache bb
|
||||
mesh(),
|
||||
patchFaces // boundary faces only
|
||||
),
|
||||
treeDataFace(mesh(), patchFaces), // boundary faces only
|
||||
|
||||
patchBb, // overall search domain
|
||||
8, // maxLevel
|
||||
10, // leafsize
|
||||
|
||||
Reference in New Issue
Block a user