From 3625f45689258cd12f363142c424b57933b3d5ec Mon Sep 17 00:00:00 2001 From: Gaetan Bricteux <gaetan.bricteux@uclouvain.be> Date: Tue, 14 Jun 2011 12:24:38 +0000 Subject: [PATCH] fix --- Geo/GRbf.cpp | 2 +- Mesh/highOrderTools.cpp | 6 +++--- Mesh/meshGRegionMMG3D.cpp | 5 +++-- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/Geo/GRbf.cpp b/Geo/GRbf.cpp index 4c38211d8c..4c6da4899b 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 b3d664decc..3c01df8b9a 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 ad681ce012..9df01152a8 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 -- GitLab