From 70af6a99ced13132bfc31da959d66a4620420d78 Mon Sep 17 00:00:00 2001 From: Emilie Marchandise <emilie.marchandise@uclouvain.be> Date: Fri, 11 Mar 2011 17:56:48 +0000 Subject: [PATCH] Changed dgHessian in dgMeshMetric Added automatic adaptation in advection levelset --- Common/GmshMessage.cpp | 1 - Mesh/meshGFaceBamg.cpp | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Common/GmshMessage.cpp b/Common/GmshMessage.cpp index 73faaa1485..a7c6357060 100644 --- a/Common/GmshMessage.cpp +++ b/Common/GmshMessage.cpp @@ -73,7 +73,6 @@ void Msg::Init(int argc, char **argv) #endif #if defined(HAVE_PETSC) PetscInitialize(&argc, &argv, PETSC_NULL, PETSC_NULL); - printf("coucou\n"); #endif #if defined(HAVE_SLEPC) SlepcInitialize(&argc, &argv, PETSC_NULL, PETSC_NULL); diff --git a/Mesh/meshGFaceBamg.cpp b/Mesh/meshGFaceBamg.cpp index 74e9bc6a98..3aa1366f07 100644 --- a/Mesh/meshGFaceBamg.cpp +++ b/Mesh/meshGFaceBamg.cpp @@ -30,6 +30,7 @@ static void computeMeshMetricsForBamg(GFace *gf, int numV, double *mm11, double *mm12, double *mm22, int iter) { + // char name[245]; // sprintf(name,"bgmBamg-%d-%d.pos",gf->tag(),iter); // if (iter < 2){ @@ -66,6 +67,7 @@ static void computeMeshMetricsForBamg(GFace *gf, int numV, static void meshGFaceBamg_(GFace *gf, int iter, bool initialMesh) { + std::set<MVertex*> all; std::map<int,MVertex*> recover; for (unsigned int i = 0; i < gf->triangles.size(); i++){ -- GitLab