Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Development
openfoam
Commits
333aa977
Commit
333aa977
authored
Apr 08, 2011
by
graham
Browse files
ENH: More debug output from non-matching processor patches.
parent
fe0f6a48
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/OpenFOAM/meshes/polyMesh/polyPatches/constraint/processor/processorPolyPatch.C
View file @
333aa977
...
...
@@ -201,10 +201,34 @@ void Foam::processorPolyPatch::calcGeometry(PstreamBuffers& pBufs)
boundaryMesh
().
mesh
().
time
().
path
()
/
name
()
+
"_faces.obj"
);
Pout
<<
"processorPolyPatch::order : Writing my "
<<
size
()
Pout
<<
"processorPolyPatch::calcGeometry : Writing my "
<<
size
()
<<
" faces to OBJ file "
<<
nm
<<
endl
;
writeOBJ
(
nm
,
*
this
,
points
());
OFstream
ccStr
(
boundaryMesh
().
mesh
().
time
().
path
()
/
name
()
+
"_faceCentresConnections.obj"
);
Pout
<<
"processorPolyPatch::calcGeometry :"
<<
" Dumping cell centre lines between"
<<
" corresponding face centres to OBJ file"
<<
ccStr
.
name
()
<<
endl
;
label
vertI
=
0
;
forAll
(
faceCentres
(),
faceI
)
{
const
point
&
c0
=
neighbFaceCentres_
[
faceI
];
const
point
&
c1
=
faceCentres
()[
faceI
];
writeOBJ
(
ccStr
,
c0
,
c1
,
vertI
);
}
FatalErrorIn
(
"processorPolyPatch::calcGeometry()"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment