mirror of
https://github.com/NGSolve/netgen.git
synced 2024-11-11 16:49:16 +05:00
fix warnings
This commit is contained in:
parent
20e0b3efa5
commit
54d59cff1e
@ -662,7 +662,7 @@ namespace netgen
|
||||
bool do_split = mp.optimize3d.find('d') != string::npos;
|
||||
bool do_swap = mp.optimize3d.find('s') != string::npos;
|
||||
bool do_swap2 = mp.optimize3d.find('t') != string::npos;
|
||||
for(auto i : Range(mp.optsteps3d))
|
||||
for([[maybe_unused]] auto i : Range(mp.optsteps3d))
|
||||
{
|
||||
auto [total_badness, max_badness, bad_els] = optmesh.UpdateBadness();
|
||||
if(bad_els==0) break;
|
||||
|
@ -61,7 +61,7 @@ namespace netgen
|
||||
Standard_Integer BuildTriangulation( const TopoDS_Shape & shape )
|
||||
{
|
||||
BRepTools::Clean (shape);
|
||||
double deflection = 0.01;
|
||||
// double deflection = 0.01;
|
||||
|
||||
// https://dev.opencascade.org/doc/overview/html/occt_user_guides__mesh.html
|
||||
// from Standard_Boolean meshing_imeshtools_parameters()
|
||||
|
@ -1262,7 +1262,7 @@ DLL_HEADER void ExportNgOCCShapes(py::module &m)
|
||||
})
|
||||
.def("_webgui_data", [](const TopoDS_Shape & shape)
|
||||
{
|
||||
auto status = BuildTriangulation(shape);
|
||||
[[maybe_unused]] auto status = BuildTriangulation(shape);
|
||||
// cout << "status = " << aStatus << endl;
|
||||
|
||||
std::vector<double> p[3];
|
||||
|
@ -145,16 +145,16 @@ namespace netgen
|
||||
int filledtimestamp = -1;
|
||||
int linetimestamp = -1;
|
||||
int edgetimestamp = -1;
|
||||
int pointnumbertimestamp = -1;
|
||||
// int pointnumbertimestamp = -1;
|
||||
|
||||
int tettimestamp = -1;
|
||||
int prismtimestamp = -1;
|
||||
int pyramidtimestamp = -1;
|
||||
int hextimestamp = -1;
|
||||
|
||||
int badeltimestamp = -1;
|
||||
int identifiedtimestamp = -1;
|
||||
int domainsurftimestamp = -1;
|
||||
// int badeltimestamp = -1;
|
||||
// int identifiedtimestamp = -1;
|
||||
// int domainsurftimestamp = -1;
|
||||
|
||||
struct {
|
||||
unsigned texture = -1;
|
||||
|
Loading…
Reference in New Issue
Block a user