ENH: Commenting out unused face-centre tet decomp variables.

This commit is contained in:
graham
2010-09-24 13:26:17 +01:00
parent 7d993e98e2
commit 43c2ab5d51
2 changed files with 6 additions and 6 deletions

View File

@ -378,11 +378,11 @@ bool Foam::polyMeshTetDecomposition::checkFaceTets
) )
{ {
const labelList& own = mesh.faceOwner(); const labelList& own = mesh.faceOwner();
const labelList& nei = mesh.faceNeighbour(); // const labelList& nei = mesh.faceNeighbour();
const polyBoundaryMesh& patches = mesh.boundaryMesh(); const polyBoundaryMesh& patches = mesh.boundaryMesh();
const vectorField& cc = mesh.cellCentres(); const vectorField& cc = mesh.cellCentres();
const vectorField& fc = mesh.faceCentres(); // const vectorField& fc = mesh.faceCentres();
// Calculate coupled cell centre // Calculate coupled cell centre
pointField neiCc(mesh.nFaces() - mesh.nInternalFaces()); pointField neiCc(mesh.nFaces() - mesh.nInternalFaces());
@ -396,13 +396,13 @@ bool Foam::polyMeshTetDecomposition::checkFaceTets
const faceList& fcs = mesh.faces(); const faceList& fcs = mesh.faces();
const pointField& p = mesh.points(); // const pointField& p = mesh.points();
label nErrorTets = 0; label nErrorTets = 0;
forAll(fcs, faceI) forAll(fcs, faceI)
{ {
const face& f = fcs[faceI]; // const face& f = fcs[faceI];
// forAll(f, fPtI) // forAll(f, fPtI)
// { // {
@ -429,7 +429,7 @@ bool Foam::polyMeshTetDecomposition::checkFaceTets
if (mesh.isInternalFace(faceI)) if (mesh.isInternalFace(faceI))
{ {
// Create the neighbour tet - it will have positive volume // Create the neighbour tet - it will have positive volume
const face& f = fcs[faceI]; // const face& f = fcs[faceI];
// forAll(f, fPtI) // forAll(f, fPtI)
// { // {

View File

@ -787,7 +787,7 @@ bool Foam::polyMeshGeometry::checkFaceTets
// check whether decomposing each cell into tets results in // check whether decomposing each cell into tets results in
// positive volume, non-flat tets // positive volume, non-flat tets
const labelList& own = mesh.faceOwner(); const labelList& own = mesh.faceOwner();
const labelList& nei = mesh.faceNeighbour(); // const labelList& nei = mesh.faceNeighbour();
const polyBoundaryMesh& patches = mesh.boundaryMesh(); const polyBoundaryMesh& patches = mesh.boundaryMesh();
// Calculate coupled cell centre // Calculate coupled cell centre