mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
STYLE: for "if(" and "for(" add space before "(".
This commit is contained in:
@ -88,7 +88,7 @@ Foam::tensor Foam::conformalVoronoiMesh::requiredAlignment
|
||||
|
||||
scalar spanMag = geometryToConformTo_.globalBounds().mag();
|
||||
|
||||
for(label i = 0; i < s; i++)
|
||||
for (label i = 0; i < s; i++)
|
||||
{
|
||||
vector spoke
|
||||
(
|
||||
@ -439,7 +439,7 @@ void Foam::conformalVoronoiMesh::insertSurfacePointPairs
|
||||
|
||||
insertPoints(pts, indices, types, true);
|
||||
|
||||
if(cvMeshControls().objOutput() && fName != fileName::null)
|
||||
if (cvMeshControls().objOutput() && fName != fileName::null)
|
||||
{
|
||||
writePoints(fName, pts);
|
||||
}
|
||||
@ -478,7 +478,7 @@ void Foam::conformalVoronoiMesh::insertEdgePointGroups
|
||||
|
||||
insertPoints(pts, indices, types, true);
|
||||
|
||||
if(cvMeshControls().objOutput() && fName != fileName::null)
|
||||
if (cvMeshControls().objOutput() && fName != fileName::null)
|
||||
{
|
||||
writePoints(fName, pts);
|
||||
}
|
||||
@ -768,7 +768,7 @@ void Foam::conformalVoronoiMesh::insertFeaturePoints()
|
||||
// Insert the created points, distributing to the appropriate processor
|
||||
insertPoints(pts, indices, types, true);
|
||||
|
||||
if(cvMeshControls().objOutput())
|
||||
if (cvMeshControls().objOutput())
|
||||
{
|
||||
writePoints("featureVertices.obj", pts);
|
||||
}
|
||||
@ -1009,7 +1009,7 @@ void Foam::conformalVoronoiMesh::createMixedFeaturePoints
|
||||
}
|
||||
}
|
||||
|
||||
if(skipEdge)
|
||||
if (skipEdge)
|
||||
{
|
||||
Info<< "Skipping point " << ptI << nl << endl;
|
||||
|
||||
@ -1225,7 +1225,7 @@ void Foam::conformalVoronoiMesh::insertInitialPoints()
|
||||
// which processor each point should be on, so give distribute = false
|
||||
insertPoints(initPts, false);
|
||||
|
||||
if(cvMeshControls().objOutput())
|
||||
if (cvMeshControls().objOutput())
|
||||
{
|
||||
writePoints("initialPoints.obj", true);
|
||||
}
|
||||
@ -1422,7 +1422,7 @@ bool Foam::conformalVoronoiMesh::distributeBackground()
|
||||
// Pout<< " Real vertices after distribution "
|
||||
// << label(number_of_vertices() - 8) << endl;
|
||||
|
||||
if(cvMeshControls().objOutput())
|
||||
if (cvMeshControls().objOutput())
|
||||
{
|
||||
writePoints("distributedPoints.obj", true);
|
||||
}
|
||||
@ -1927,7 +1927,7 @@ Foam::conformalVoronoiMesh::conformalVoronoiMesh
|
||||
// domain the processor they are on.
|
||||
// reportProcessorOccupancy();
|
||||
|
||||
if(cvMeshControls().objOutput())
|
||||
if (cvMeshControls().objOutput())
|
||||
{
|
||||
writePoints("allInitialPoints.obj", false);
|
||||
}
|
||||
|
||||
@ -472,7 +472,7 @@ Foam::label Foam::conformalVoronoiMesh::mergeCloseDualVertices
|
||||
continue;
|
||||
}
|
||||
|
||||
if(c1I != -1 && c2I != -1 && (c1I != c2I))
|
||||
if (c1I != -1 && c2I != -1 && (c1I != c2I))
|
||||
{
|
||||
if
|
||||
(
|
||||
|
||||
@ -1724,7 +1724,7 @@ void Foam::conformalVoronoiMesh::addSurfaceAndEdgeHits
|
||||
|
||||
if (edHit.hit())
|
||||
{
|
||||
if(!positionOnThisProc(edHit.hitPoint()))
|
||||
if (!positionOnThisProc(edHit.hitPoint()))
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
@ -340,7 +340,7 @@ void Foam::conformalVoronoiMesh::writeMesh
|
||||
const pointField& cellCentres
|
||||
) const
|
||||
{
|
||||
if(cvMeshControls().objOutput())
|
||||
if (cvMeshControls().objOutput())
|
||||
{
|
||||
writeObjMesh(points, faces, word(meshName + ".obj"));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user