diff --git a/libsrc/interface/writefluent.cpp b/libsrc/interface/writefluent.cpp index 6cf64b72..f4c68eb2 100644 --- a/libsrc/interface/writefluent.cpp +++ b/libsrc/interface/writefluent.cpp @@ -63,7 +63,7 @@ void WriteFluentFormat (const Mesh & mesh, outfile << "(0 \"Faces:\")" << endl; Element2d face, face2; - int i2, j2; + int /* i2, */ j2; NgArray surfaceelp; NgArray surfaceeli; Array locels; @@ -105,8 +105,8 @@ void WriteFluentFormat (const Mesh & mesh, box.IncreaseRel(1e-6); mesh.GetIntersectingVolEls(box.PMin(),box.PMax(),locels); - int nel = locels.Size(); - int locind; + // int nel = locels.Size(); + // int locind; //cout << "nel=" << nel << endl; diff --git a/libsrc/meshing/boundarylayer2d.cpp b/libsrc/meshing/boundarylayer2d.cpp index bb5ab6e6..fd857475 100644 --- a/libsrc/meshing/boundarylayer2d.cpp +++ b/libsrc/meshing/boundarylayer2d.cpp @@ -633,7 +633,7 @@ namespace netgen s[0] = pm0.Last(); s[1] = pm1.Last(); s[2] = PointIndex::INVALID; - auto pair = s[0] < s[1] ? make_pair(s[0], s[1]) : make_pair(s[1], s[0]); + // auto pair = s[0] < s[1] ? make_pair(s[0], s[1]) : make_pair(s[1], s[0]); s.edgenr = new_edge_nr; s.epgeominfo[0].edgenr = -1; s.epgeominfo[1].edgenr = -1; diff --git a/libsrc/meshing/improve3.cpp b/libsrc/meshing/improve3.cpp index 7be9252b..68bc79b2 100644 --- a/libsrc/meshing/improve3.cpp +++ b/libsrc/meshing/improve3.cpp @@ -797,11 +797,14 @@ double MeshOptimize3d :: SwapImproveEdge ( int nsuround = hasbothpoints.Size(); int mattyp = mesh[hasbothpoints[0]].GetIndex(); + /* + // unused ? auto fix_orientation = [&] (Element & el) { if (WrongOrientation (mesh.Points(), el)) el.Invert(); }; - + */ + auto El = [&] ( PointIndex pi0, PointIndex pi1, PointIndex pi2, PointIndex pi3) -> Element { Element el(TET); el[0] = pi0; diff --git a/libsrc/meshing/meshtype.cpp b/libsrc/meshing/meshtype.cpp index 839c2bdb..e305ecc4 100644 --- a/libsrc/meshing/meshtype.cpp +++ b/libsrc/meshing/meshtype.cpp @@ -2942,7 +2942,10 @@ namespace netgen ost << "Identifications:" << endl; ost << "pairs: " << endl << identifiedpoints << endl; // ost << "pairs and nr: " << endl << identifiedpoints_nr << endl; -#pragma message( "Can't ostream a tuple " __FILE__ ) + ost << "pairs and nr: " << endl; + for (auto [key,val] : identifiedpoints_nr) + ost << get<0>(key) << "," << get<1>(key) << ": " << val << endl; + ost << "table: " << endl << idpoints_table << endl; }