patchIntersection: Debug write source patch point normals

This commit is contained in:
Will Bainbridge
2024-02-28 12:40:40 +00:00
parent f5ea2dec99
commit 4bbcf7eead
2 changed files with 9 additions and 3 deletions

View File

@ -140,7 +140,10 @@ Foam::FacePatchIntersection<SrcPatchType, TgtPatchType>::FacePatchIntersection
this->srcPatch_.localPoints(),
labelList(),
labelListList(),
this->srcPatch_.localFaces()
this->srcPatch_.localFaces(),
"normals",
true,
srcPointNormals
);
const fileName tgtFileName = type() + "_tgtPatch.vtk";
Info<< indent << "Writing patch to " << tgtFileName << endl;

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Copyright (C) 2023 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2023-2024 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -3776,7 +3776,10 @@ Foam::TriPatchIntersection<SrcPatchType, TgtPatchType>::TriPatchIntersection
this->srcPatch_.localPoints(),
labelList(),
labelListList(),
this->srcPatch_.localFaces()
this->srcPatch_.localFaces(),
"normals",
true,
srcPointNormals
);
const fileName tgtFileName = type() + "_tgtPatch.vtk";
Info<< indent << "Writing patch to " << tgtFileName << endl;