diff --git a/Geo/GRbf.cpp b/Geo/GRbf.cpp index 4c38211d8c49c5bed8eac2ab231f359d44e3da83..4c6da4899ba470fe3d9c929774c76215eb796e96 100644 --- a/Geo/GRbf.cpp +++ b/Geo/GRbf.cpp @@ -7,7 +7,7 @@ #include "SPoint3.h" #include "SVector3.h" #include "SBoundingBox3d.h" -#include "Os.h" +#include "OS.h" #include "MVertex.h" #if defined(HAVE_ANN) diff --git a/Mesh/highOrderTools.cpp b/Mesh/highOrderTools.cpp index b3d664decc67b28a9d68dc305d3548460eb6863a..3c01df8b9a80747b753a65e2381cb2997245a94e 100644 --- a/Mesh/highOrderTools.cpp +++ b/Mesh/highOrderTools.cpp @@ -692,9 +692,9 @@ double highOrderTools::applySmoothingTo (std::vector<MElement*> &all, _gm->writeMSH("straightSided.msh"); - - double percentage_of_what_is_left = apply_incremental_displacement (1.,all, mixed, -100000000 ,"sm.msh",all); - ensureMinimumDistorsion (all,threshold); + char sm[] = "sm.msh"; + double percentage_of_what_is_left = apply_incremental_displacement (1., all, mixed, -100000000, sm, all); + ensureMinimumDistorsion (all, threshold); return 1.; double percentage = 0.0; diff --git a/Mesh/meshGRegionMMG3D.cpp b/Mesh/meshGRegionMMG3D.cpp index ad681ce0125d05c0188895eee3eace5cc02a372e..9df01152a801c581a9eb107b71372e9fbb6736e5 100644 --- a/Mesh/meshGRegionMMG3D.cpp +++ b/Mesh/meshGRegionMMG3D.cpp @@ -187,8 +187,9 @@ void refineMeshMMG(GRegion *gr){ gr->mesh_vertices.clear(); - MMG2gmsh (gr, mmg, mmg2gmsh); - MMG_saveMesh(mmg ,"test.mesh"); + MMG2gmsh (gr, mmg, mmg2gmsh); + char test[] = "test.mesh"; + MMG_saveMesh(mmg, test); } #else