mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: Commenting out unused face-centre tet decomp variables.
This commit is contained in:
@ -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)
|
||||||
// {
|
// {
|
||||||
|
|||||||
@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user