Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Development
openfoam
Commits
85bfc58d
Commit
85bfc58d
authored
May 26, 2010
by
mattijs
Browse files
ENH: cyclicPolyPatch : improve debug messages
parent
3ac46054
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/OpenFOAM/meshes/polyMesh/polyPatches/constraint/cyclic/cyclicPolyPatch.C
View file @
85bfc58d
...
...
@@ -99,8 +99,8 @@ void Foam::cyclicPolyPatch::calcTransforms()
{
fileName
casePath
(
boundaryMesh
().
mesh
().
time
().
path
());
fileName
nm0
(
casePath
/
name
()
+
"_
half0_
faces.obj"
);
Pout
<<
"cyclicPolyPatch::calcTransforms : Writing
half0"
fileName
nm0
(
casePath
/
name
()
+
"_faces.obj"
);
Pout
<<
"cyclicPolyPatch::calcTransforms : Writing
"
<<
name
()
<<
" faces to OBJ file "
<<
nm0
<<
endl
;
writeOBJ
(
nm0
,
half0
,
half0
.
points
());
}
...
...
@@ -114,7 +114,7 @@ void Foam::cyclicPolyPatch::calcTransforms()
// Half
0
// Half
1
const
cyclicPolyPatch
&
half1
=
neighbPatch
();
...
...
@@ -125,12 +125,12 @@ void Foam::cyclicPolyPatch::calcTransforms()
{
fileName
casePath
(
boundaryMesh
().
mesh
().
time
().
path
());
fileName
nm1
(
casePath
/
name
()
+
"_
half1_
faces.obj"
);
Pout
<<
"cyclicPolyPatch::calcTransforms : Writing
half1"
fileName
nm1
(
casePath
/
half1
.
name
()
+
"_faces.obj"
);
Pout
<<
"cyclicPolyPatch::calcTransforms : Writing
"
<<
half1
.
name
()
<<
" faces to OBJ file "
<<
nm1
<<
endl
;
writeOBJ
(
nm1
,
half1
,
half1
.
points
());
OFstream
str
(
casePath
/
name
()
+
"_
half0_to_half1
.obj"
);
OFstream
str
(
casePath
/
name
()
+
"_
to_"
+
half1
.
name
()
+
"
.obj"
);
label
vertI
=
0
;
Pout
<<
"cyclicPolyPatch::calcTransforms :"
<<
" Writing coupled face centres as lines to "
<<
str
.
name
()
...
...
@@ -1059,18 +1059,18 @@ bool Foam::cyclicPolyPatch::order
fileName
nm0
(
boundaryMesh
().
mesh
().
time
().
path
()
/
name
()
+
"_
half0_
faces.obj"
/
neighbPatch
().
name
()
+
"_faces.obj"
);
Pout
<<
"cyclicPolyPatch::order : Writing
half0
"
Pout
<<
"cyclicPolyPatch::order : Writing
neighbour
"
<<
" faces to OBJ file "
<<
nm0
<<
endl
;
writeOBJ
(
nm0
,
pp0
,
pp0
.
points
());
fileName
nm1
(
boundaryMesh
().
mesh
().
time
().
path
()
/
name
()
+
"_
half1_
faces.obj"
/
name
()
+
"_faces.obj"
);
Pout
<<
"cyclicPolyPatch::order : Writing
half1
"
Pout
<<
"cyclicPolyPatch::order : Writing
my
"
<<
" faces to OBJ file "
<<
nm1
<<
endl
;
writeOBJ
(
nm1
,
pp
,
pp
.
points
());
...
...
Write
Preview
Supports
Markdown
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