mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
initial changes to compile src
This commit is contained in:
@ -372,13 +372,13 @@ bool Foam::polyMeshGeometry::checkFaceDotProduct
|
||||
|
||||
|
||||
// Calculate coupled cell centre
|
||||
vectorField neiCc(mesh.nFaces()-mesh.nInternalFaces());
|
||||
pointField neiCc(mesh.nFaces()-mesh.nInternalFaces());
|
||||
|
||||
for (label faceI = mesh.nInternalFaces(); faceI < mesh.nFaces(); faceI++)
|
||||
{
|
||||
neiCc[faceI-mesh.nInternalFaces()] = cellCentres[own[faceI]];
|
||||
}
|
||||
syncTools::swapBoundaryFaceList(mesh, neiCc, true);
|
||||
syncTools::swapBoundaryFacePositions(mesh, neiCc);
|
||||
|
||||
|
||||
scalar minDDotS = GREAT;
|
||||
@ -742,13 +742,13 @@ bool Foam::polyMeshGeometry::checkFaceSkewness
|
||||
const polyBoundaryMesh& patches = mesh.boundaryMesh();
|
||||
|
||||
// Calculate coupled cell centre
|
||||
vectorField neiCc(mesh.nFaces()-mesh.nInternalFaces());
|
||||
pointField neiCc(mesh.nFaces()-mesh.nInternalFaces());
|
||||
|
||||
for (label faceI = mesh.nInternalFaces(); faceI < mesh.nFaces(); faceI++)
|
||||
{
|
||||
neiCc[faceI-mesh.nInternalFaces()] = cellCentres[own[faceI]];
|
||||
}
|
||||
syncTools::swapBoundaryFaceList(mesh, neiCc, true);
|
||||
syncTools::swapBoundaryFacePositions(mesh, neiCc);
|
||||
|
||||
|
||||
scalar maxSkew = 0;
|
||||
@ -950,13 +950,13 @@ bool Foam::polyMeshGeometry::checkFaceWeights
|
||||
const polyBoundaryMesh& patches = mesh.boundaryMesh();
|
||||
|
||||
// Calculate coupled cell centre
|
||||
vectorField neiCc(mesh.nFaces()-mesh.nInternalFaces());
|
||||
pointField neiCc(mesh.nFaces()-mesh.nInternalFaces());
|
||||
|
||||
for (label faceI = mesh.nInternalFaces(); faceI < mesh.nFaces(); faceI++)
|
||||
{
|
||||
neiCc[faceI-mesh.nInternalFaces()] = cellCentres[own[faceI]];
|
||||
}
|
||||
syncTools::swapBoundaryFaceList(mesh, neiCc, true);
|
||||
syncTools::swapBoundaryFacePositions(mesh, neiCc);
|
||||
|
||||
|
||||
scalar minWeight = GREAT;
|
||||
@ -1113,7 +1113,7 @@ bool Foam::polyMeshGeometry::checkVolRatio
|
||||
{
|
||||
neiVols[faceI-mesh.nInternalFaces()] = cellVolumes[own[faceI]];
|
||||
}
|
||||
syncTools::swapBoundaryFaceList(mesh, neiVols, true);
|
||||
syncTools::swapBoundaryFaceList(mesh, neiVols);
|
||||
|
||||
|
||||
scalar minRatio = GREAT;
|
||||
@ -1457,13 +1457,13 @@ bool Foam::polyMeshGeometry::checkFaceTwist
|
||||
const polyBoundaryMesh& patches = mesh.boundaryMesh();
|
||||
|
||||
// Calculate coupled cell centre
|
||||
vectorField neiCc(mesh.nFaces()-mesh.nInternalFaces());
|
||||
pointField neiCc(mesh.nFaces()-mesh.nInternalFaces());
|
||||
|
||||
for (label faceI = mesh.nInternalFaces(); faceI < mesh.nFaces(); faceI++)
|
||||
{
|
||||
neiCc[faceI-mesh.nInternalFaces()] = cellCentres[own[faceI]];
|
||||
}
|
||||
syncTools::swapBoundaryFaceList(mesh, neiCc, true);
|
||||
syncTools::swapBoundaryFacePositions(mesh, neiCc);
|
||||
|
||||
forAll(checkFaces, i)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user