mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: support construction of pointIndexHit from pointHit
STYLE: combine templated/non-templated headers (reduced clutter) STYLE: use hitPoint(const point&) combined setter - same as setHit() + setPoint(const point&) ENH: expose and use labelOctBits::pack method for addressing
This commit is contained in:
@ -1596,7 +1596,7 @@ Foam::volumeType Foam::distributedTriSurfaceMesh::calcVolumeType
|
||||
}
|
||||
|
||||
// Store octant type
|
||||
nodeTypes.set((nodeI<<3)+octant, subType);
|
||||
nodeTypes.set(labelBits::pack(nodeI, octant), subType);
|
||||
|
||||
// Combine sub node types into type for treeNode. Result is 'mixed' if
|
||||
// types differ among subnodes.
|
||||
@ -1625,7 +1625,7 @@ Foam::volumeType Foam::distributedTriSurfaceMesh::cachedVolumeType
|
||||
|
||||
volumeType octantType = volumeType::type
|
||||
(
|
||||
tree().nodeTypes().get((nodeI<<3)+octant)
|
||||
tree().nodeTypes().get(labelBits::pack(nodeI, octant))
|
||||
);
|
||||
|
||||
if (octantType == volumeType::INSIDE)
|
||||
|
||||
Reference in New Issue
Block a user