From 5ec753452e5fa7660c74c3254b78d4ffea0c24ce Mon Sep 17 00:00:00 2001 From: Matthias Hochsteger Date: Wed, 16 Jun 2021 15:35:50 +0200 Subject: [PATCH] fix --- libsrc/meshing/meshfunc.cpp | 4 ++-- libsrc/meshing/meshing3.cpp | 1 - tests/pytest/compare_results.py | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/libsrc/meshing/meshfunc.cpp b/libsrc/meshing/meshfunc.cpp index 5eb8801c..4427318e 100644 --- a/libsrc/meshing/meshfunc.cpp +++ b/libsrc/meshing/meshfunc.cpp @@ -152,7 +152,7 @@ namespace netgen return; mesh.CalcSurfacesOfNode(); - mesh.FindOpenElements(); + mesh.FindOpenElements(domain); if (!mesh.GetNOpenElements()) return; @@ -214,7 +214,7 @@ namespace netgen (*testout) << "mesh has " << mesh.GetNE() << " prism/pyramid elements" << endl; - mesh.FindOpenElements(); + mesh.FindOpenElements(domain); } } diff --git a/libsrc/meshing/meshing3.cpp b/libsrc/meshing/meshing3.cpp index 8c4ee5aa..5798302f 100644 --- a/libsrc/meshing/meshing3.cpp +++ b/libsrc/meshing/meshing3.cpp @@ -180,7 +180,6 @@ GenerateMesh (Mesh & mesh, const MeshingParameters & mp) // static int meshing3_timer_d = NgProfiler::CreateTimer ("Meshing3::GenerateMesh d"); // NgProfiler::RegionTimer reg (meshing3_timer); - cout << "start tet meshing with " << adfront->GetNP() << " points and " << adfront->GetNF() << " faces " << endl; NgArray locpoints; // local points NgArray locfaces; // local faces diff --git a/tests/pytest/compare_results.py b/tests/pytest/compare_results.py index ed2c2dca..84e9efe8 100644 --- a/tests/pytest/compare_results.py +++ b/tests/pytest/compare_results.py @@ -15,7 +15,6 @@ def readData(a, files): file=[] for f in files: for t in a[f]: - file.append(f) if t['ne1d']>0: ne1d.append(t['ne1d']) if t['ne2d']>0: @@ -24,6 +23,7 @@ def readData(a, files): ne3d.append(t['ne3d']) if t['total_badness']>0.0: bad.append(t['total_badness']) + file.append(f) if 'angles_tet' in t: amin.append(t['angles_tet'][0]) amax.append(t['angles_tet'][1])