[Gmsh] Bug in meshGRegion.cpp - setting Netgen's characteristic length

Dieter Pahr pahr at ilsb.tuwien.ac.at
Mon Sep 14 16:31:44 CEST 2009


I found a small bug in the gmsh code which is related to:
http://www.geuz.org/pipermail/gmsh/2006/001836.html
The bug is in meshGRegion.cpp (set -clmax for netgen) :   
BUG L619 : NgAddOn_GenerateVolumeMesh(ngmesh, CTX::instance()->lc);
CORRECT : NgAddOn_GenerateVolumeMesh(ngmesh, CTX::instance()->mesh.lcMax);
BUG L649 : NgAddOn_OptimizeVolumeMesh(ngmesh, CTX::instance()->lc);
CORRECT : NgAddOn_OptimizeVolumeMesh(ngmesh, CTX::instance()->mesh.lcMax);

As far as I saw -clmin and -clsca is not implemented so far for netgen 
but could be easily done.

Regards from Vienna - Dieter

-- 
**********************************************************************
Doz. Dr. Dieter H. PAHR                   

Institute of Lightweight Design and     e-Mail: pahr at ilsb.tuwien.ac.at
Structural Biomechanics (E317)          Tel.:        +43 1 58801 31715
Vienna University of Technology         Fax.:        +43 1 58801 31799
A-1040 Vienna, Gusshausstrasse 27-29    DVR:                   0005886
Austria                                 http://www.ilsb.tuwien.ac.at/
**********************************************************************