Skip to content
Snippets Groups Projects
Commit 70af6a99 authored by Emilie Marchandise's avatar Emilie Marchandise
Browse files

Changed dgHessian in dgMeshMetric

Added automatic adaptation in advection levelset
parent c65f9487
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
......@@ -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++){
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment