mirror of
https://github.com/OpenFOAM/OpenFOAM-6.git
synced 2025-12-08 06:57:46 +00:00
Code style: Updated line comments to start with a space
//This is a comment -> // This is a comment
This commit is contained in:
@ -1102,7 +1102,7 @@ bool Foam::dynamicIndexedOctree<Type>::walkToNeighbour
|
||||
// - the checked bits have to be : wantedValue = ?01
|
||||
*/
|
||||
|
||||
//Pout<< "For point " << facePoint << endl;
|
||||
// Pout<< "For point " << facePoint << endl;
|
||||
|
||||
// Go up until we have chance to cross to the wanted direction
|
||||
while (wantedValue != (octant & octantMask))
|
||||
@ -1176,13 +1176,13 @@ bool Foam::dynamicIndexedOctree<Type>::walkToNeighbour
|
||||
return false;
|
||||
}
|
||||
|
||||
//Pout<< " walked from node:" << nodeI << " octant:" << octant
|
||||
// Pout<< " walked from node:" << nodeI << " octant:" << octant
|
||||
// << " bb:" << nodes_[nodeI].bb_.subBbox(octant) << endl
|
||||
// << " to:" << parentNodeI << " octant:" << parentOctant
|
||||
// << " bb:" << nodes_[parentNodeI].bb_.subBbox(parentOctant)
|
||||
// << endl;
|
||||
//
|
||||
//Pout<< " octantMask:" << octantMask
|
||||
// Pout<< " octantMask:" << octantMask
|
||||
// << " wantedValue:" << wantedValue << endl;
|
||||
|
||||
nodeI = parentNodeI;
|
||||
@ -1194,7 +1194,7 @@ bool Foam::dynamicIndexedOctree<Type>::walkToNeighbour
|
||||
// right half we now jump to the left half.
|
||||
octant ^= octantMask;
|
||||
|
||||
//Pout<< " to node:" << nodeI << " octant:" << octant
|
||||
// Pout<< " to node:" << nodeI << " octant:" << octant
|
||||
// << " subBb:" <<subBbox(nodeI, octant) << endl;
|
||||
|
||||
|
||||
@ -1425,8 +1425,8 @@ void Foam::dynamicIndexedOctree<Type>::traverseNode
|
||||
point pt;
|
||||
bool intersected = octantBb.intersects
|
||||
(
|
||||
end, //treeStart,
|
||||
(start-end), //treeVec,
|
||||
end, // treeStart,
|
||||
(start-end), // treeVec,
|
||||
|
||||
end,
|
||||
start,
|
||||
@ -1496,7 +1496,7 @@ Foam::pointIndexHit Foam::dynamicIndexedOctree<Type>::findLine
|
||||
// Current position. Initialize to miss
|
||||
pointIndexHit hitInfo(false, treeStart, -1);
|
||||
|
||||
//while (true)
|
||||
// while (true)
|
||||
label i = 0;
|
||||
for (; i < 100000; i++)
|
||||
{
|
||||
@ -1629,7 +1629,7 @@ Foam::pointIndexHit Foam::dynamicIndexedOctree<Type>::findLine
|
||||
treeEnd,
|
||||
startNodeI,
|
||||
startOctant,
|
||||
true //verbose
|
||||
true // verbose
|
||||
);
|
||||
}
|
||||
if (debug)
|
||||
@ -2697,7 +2697,7 @@ void Foam::dynamicIndexedOctree<Type>::print
|
||||
{
|
||||
const labelList& indices = contents_[getContent(index)];
|
||||
|
||||
if (false) //debug)
|
||||
if (false) // debug)
|
||||
{
|
||||
writeOBJ(nodeI, octant);
|
||||
}
|
||||
@ -2718,7 +2718,7 @@ void Foam::dynamicIndexedOctree<Type>::print
|
||||
}
|
||||
else
|
||||
{
|
||||
if (false) //debug)
|
||||
if (false) // debug)
|
||||
{
|
||||
writeOBJ(nodeI, octant);
|
||||
}
|
||||
|
||||
@ -1122,7 +1122,7 @@ bool Foam::indexedOctree<Type>::walkToNeighbour
|
||||
// - the checked bits have to be : wantedValue = ?01
|
||||
*/
|
||||
|
||||
//Pout<< "For point " << facePoint << endl;
|
||||
// Pout<< "For point " << facePoint << endl;
|
||||
|
||||
// Go up until we have chance to cross to the wanted direction
|
||||
while (wantedValue != (octant & octantMask))
|
||||
@ -1196,13 +1196,13 @@ bool Foam::indexedOctree<Type>::walkToNeighbour
|
||||
return false;
|
||||
}
|
||||
|
||||
//Pout<< " walked from node:" << nodeI << " octant:" << octant
|
||||
// Pout<< " walked from node:" << nodeI << " octant:" << octant
|
||||
// << " bb:" << nodes_[nodeI].bb_.subBbox(octant) << endl
|
||||
// << " to:" << parentNodeI << " octant:" << parentOctant
|
||||
// << " bb:" << nodes_[parentNodeI].bb_.subBbox(parentOctant)
|
||||
// << endl;
|
||||
//
|
||||
//Pout<< " octantMask:" << octantMask
|
||||
// Pout<< " octantMask:" << octantMask
|
||||
// << " wantedValue:" << wantedValue << endl;
|
||||
|
||||
nodeI = parentNodeI;
|
||||
@ -1214,7 +1214,7 @@ bool Foam::indexedOctree<Type>::walkToNeighbour
|
||||
// right half we now jump to the left half.
|
||||
octant ^= octantMask;
|
||||
|
||||
//Pout<< " to node:" << nodeI << " octant:" << octant
|
||||
// Pout<< " to node:" << nodeI << " octant:" << octant
|
||||
// << " subBb:" <<subBbox(nodeI, octant) << endl;
|
||||
|
||||
|
||||
@ -1449,8 +1449,8 @@ void Foam::indexedOctree<Type>::traverseNode
|
||||
point pt;
|
||||
bool intersected = octantBb.intersects
|
||||
(
|
||||
end, //treeStart,
|
||||
(start-end), //treeVec,
|
||||
end, // treeStart,
|
||||
(start-end), // treeVec,
|
||||
|
||||
end,
|
||||
start,
|
||||
@ -1524,7 +1524,7 @@ Foam::pointIndexHit Foam::indexedOctree<Type>::findLine
|
||||
// Current position. Initialize to miss
|
||||
pointIndexHit hitInfo(false, treeStart, -1);
|
||||
|
||||
//while (true)
|
||||
// while (true)
|
||||
label i = 0;
|
||||
for (; i < 100000; i++)
|
||||
{
|
||||
@ -1660,7 +1660,7 @@ Foam::pointIndexHit Foam::indexedOctree<Type>::findLine
|
||||
startNodeI,
|
||||
startOctant,
|
||||
fiOp,
|
||||
true //verbose,
|
||||
true // verbose,
|
||||
);
|
||||
}
|
||||
if (debug)
|
||||
@ -2203,7 +2203,7 @@ Foam::indexedOctree<Type>::indexedOctree
|
||||
|
||||
if
|
||||
(
|
||||
//nEntries < maxLeafRatio*contents.size()
|
||||
// nEntries < maxLeafRatio*contents.size()
|
||||
// ||
|
||||
nEntries > maxDuplicity*shapes.size()
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user