From f76a30c6f46cb02d04ccb164188003d067f7bbf5 Mon Sep 17 00:00:00 2001 From: Joachim Schoeberl Date: Wed, 12 Oct 2011 18:59:58 +0000 Subject: [PATCH] debug --- libsrc/meshing/meshing2.cpp | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/libsrc/meshing/meshing2.cpp b/libsrc/meshing/meshing2.cpp index 3c54faba..a5a1b7c8 100644 --- a/libsrc/meshing/meshing2.cpp +++ b/libsrc/meshing/meshing2.cpp @@ -505,7 +505,11 @@ namespace netgen // (*testout) << endl; - // (*testout) << "3d->2d transformation" << endl; + if (debugflag) + { + *testout << "3d->2d transformation" << endl; + *testout << "3d points: " << endl << locpoints << endl; + } for (int i = 1; i <= locpoints.Size(); i++) { @@ -520,6 +524,10 @@ namespace netgen // (*testout) << endl << endl << endl; + if (debugflag) + *testout << "2d points: " << endl << plainpoints << endl; + + p12d = plainpoints.Get(1); p22d = plainpoints.Get(2);