[Gmsh] gmsh/bamg - use of bgm posfiles???
    trophime 
    christophe.trophime at lncmi.cnrs.fr
       
    Fri Jan 27 17:46:43 CET 2012
    
    
  
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