Skip to content

Commit 4bbcf7e

Browse files
author
Will Bainbridge
committed
patchIntersection: Debug write source patch point normals
1 parent f5ea2de commit 4bbcf7e

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

src/meshTools/patchIntersection/FacePatchIntersection.C

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,10 @@ Foam::FacePatchIntersection<SrcPatchType, TgtPatchType>::FacePatchIntersection
140140
this->srcPatch_.localPoints(),
141141
labelList(),
142142
labelListList(),
143-
this->srcPatch_.localFaces()
143+
this->srcPatch_.localFaces(),
144+
"normals",
145+
true,
146+
srcPointNormals
144147
);
145148
const fileName tgtFileName = type() + "_tgtPatch.vtk";
146149
Info<< indent << "Writing patch to " << tgtFileName << endl;

src/meshTools/patchIntersection/TriPatchIntersection.C

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
========= |
33
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
44
\\ / O peration | Website: https://openfoam.org
5-
\\ / A nd | Copyright (C) 2023 OpenFOAM Foundation
5+
\\ / A nd | Copyright (C) 2023-2024 OpenFOAM Foundation
66
\\/ M anipulation |
77
-------------------------------------------------------------------------------
88
License
@@ -3776,7 +3776,10 @@ Foam::TriPatchIntersection<SrcPatchType, TgtPatchType>::TriPatchIntersection
37763776
this->srcPatch_.localPoints(),
37773777
labelList(),
37783778
labelListList(),
3779-
this->srcPatch_.localFaces()
3779+
this->srcPatch_.localFaces(),
3780+
"normals",
3781+
true,
3782+
srcPointNormals
37803783
);
37813784
const fileName tgtFileName = type() + "_tgtPatch.vtk";
37823785
Info<< indent << "Writing patch to " << tgtFileName << endl;

0 commit comments

Comments
 (0)