diff --git a/Geo/GModel.cpp b/Geo/GModel.cpp index dfa238787b2156cc82a8175e0f066d2aab593db5..e5ae492a0c726f3b4f219808b663cf1fa8e69025 100644 --- a/Geo/GModel.cpp +++ b/Geo/GModel.cpp @@ -550,8 +550,7 @@ int GModel::adaptMesh(int technique, simpleFunction<double> *f, std::vector<doub int id = fields->newId(); (*fields)[id] = bgm; fields->background_field = id; - fields->printField(); - + std::for_each(firstEdge(), lastEdge(), deMeshGEdge()); std::for_each(firstFace(), lastFace(), deMeshGFace()); std::for_each(firstRegion(), lastRegion(), deMeshGRegion()); diff --git a/Mesh/Field.h b/Mesh/Field.h index 1240ff9e4c8cf5f5395445f134793305037ca604..9c96953e866c55c158ff4692fec98780f4e28171 100644 --- a/Mesh/Field.h +++ b/Mesh/Field.h @@ -100,7 +100,6 @@ class FieldManager : public std::map<int, Field*> { int boundaryLayer_field; // compatibility with -bgm void setBackgroundMesh(int iView); - inline void printField(){ for(std::map<int, Field *>::iterator it = begin(); it != end(); it++) printf("id=%d %d\n", it->first);}; }; // Boundary Layer Field (used both for anisotropic meshing and BL