On Fri, 2012-01-27 at 17:28 +0100, Cécile CD. DAVERSIN wrote: > Hi > I would like tu use bamg algo to get an anisotropic mesh. > I wish to use a metric as a background mesh and generate the > anistropic mesh from it : > > gmsh -2 geofile -algo bamg -bgm metrics.pos > >
Using a bgm in this context does not work. *) The bgm file is always treated as "isotropic" : in void PostViewField::operator() (double x, double y, double z, SMetric3 &metr, GEntity *ge=0) : virtual bool PostViewField::isotropic () const always return true as v is null! *) the bgm is not taken into account. In fact it tries to get a metric from some """formula""" (see BGM_MeshMetric) just like in http://www.geuz.org/pipermail/gmsh/2012/006970.html It would be really great if we can use bgm metrics... Best C _______________________________________________ gmsh mailing list [email protected] http://www.geuz.org/mailman/listinfo/gmsh
