[Gmsh] Setting Debug flag from API C++

Christophe Geuzaine cgeuzaine at ulg.ac.be
Tue Mar 17 12:49:12 CET 2015


> On 13 Mar 2015, at 17:03, Sacconi, Andrea <a.sacconi11 at imperial.ac.uk> wrote:
> 
> Hi everybody,
> 
> is it possible to reduce the amount of debug operations and output using the API? So far I have set:
> 
> GmshSetOption("General", "Terminal", 1.);
> GmshSetOption("General", "Verbosity", 99.);
> GmshSetOption("Mesh", "Optimize", 1.0);
> 
> Is there a similar command for the Debug?


Setting GmshSetOption("General", "Verbosity", 0.) will remove all output. Higher values lead to more output messages.


> Thanks in advance!
> 
> Andrea
> __________________________________________________________
> 
> Andrea Sacconi
> PhD student, Applied Mathematics
> AMMP Section, Department of Mathematics, Imperial College London,
> London SW7 2AZ, UK
> a.sacconi11 at imperial.ac.uk
> 
> _______________________________________________
> gmsh mailing list
> gmsh at geuz.org
> http://www.geuz.org/mailman/listinfo/gmsh

-- 
Prof. Christophe Geuzaine
University of Liege, Electrical Engineering and Computer Science 
http://www.montefiore.ulg.ac.be/~geuzaine







More information about the gmsh mailing list