This commit is contained in:
Matthias Hochsteger 2021-06-16 15:35:50 +02:00
parent 479efea50f
commit 5ec753452e
3 changed files with 3 additions and 4 deletions

View File

@ -152,7 +152,7 @@ namespace netgen
return; return;
mesh.CalcSurfacesOfNode(); mesh.CalcSurfacesOfNode();
mesh.FindOpenElements(); mesh.FindOpenElements(domain);
if (!mesh.GetNOpenElements()) if (!mesh.GetNOpenElements())
return; return;
@ -214,7 +214,7 @@ namespace netgen
(*testout) (*testout)
<< "mesh has " << mesh.GetNE() << " prism/pyramid elements" << endl; << "mesh has " << mesh.GetNE() << " prism/pyramid elements" << endl;
mesh.FindOpenElements(); mesh.FindOpenElements(domain);
} }
} }

View File

@ -180,7 +180,6 @@ GenerateMesh (Mesh & mesh, const MeshingParameters & mp)
// static int meshing3_timer_d = NgProfiler::CreateTimer ("Meshing3::GenerateMesh d"); // static int meshing3_timer_d = NgProfiler::CreateTimer ("Meshing3::GenerateMesh d");
// NgProfiler::RegionTimer reg (meshing3_timer); // NgProfiler::RegionTimer reg (meshing3_timer);
cout << "start tet meshing with " << adfront->GetNP() << " points and " << adfront->GetNF() << " faces " << endl;
NgArray<Point3d, PointIndex::BASE> locpoints; // local points NgArray<Point3d, PointIndex::BASE> locpoints; // local points
NgArray<MiniElement2d> locfaces; // local faces NgArray<MiniElement2d> locfaces; // local faces

View File

@ -15,7 +15,6 @@ def readData(a, files):
file=[] file=[]
for f in files: for f in files:
for t in a[f]: for t in a[f]:
file.append(f)
if t['ne1d']>0: if t['ne1d']>0:
ne1d.append(t['ne1d']) ne1d.append(t['ne1d'])
if t['ne2d']>0: if t['ne2d']>0:
@ -24,6 +23,7 @@ def readData(a, files):
ne3d.append(t['ne3d']) ne3d.append(t['ne3d'])
if t['total_badness']>0.0: if t['total_badness']>0.0:
bad.append(t['total_badness']) bad.append(t['total_badness'])
file.append(f)
if 'angles_tet' in t: if 'angles_tet' in t:
amin.append(t['angles_tet'][0]) amin.append(t['angles_tet'][0])
amax.append(t['angles_tet'][1]) amax.append(t['angles_tet'][1])