[Gmsh] Setting quality mesh options and Tetgen usage with API
Christophe Geuzaine
cgeuzaine at ulg.ac.be
Tue Feb 24 09:18:19 CET 2015
> On 23 Feb 2015, at 23:51, Sacconi, Andrea <a.sacconi11 at imperial.ac.uk> wrote:
>
> Hi everyone,
>
> I would like to ask you a question about quality mesh options and the API.
> My geometry is given by a rectangular cuboid which has a spherical hole inside. I generated it and meshed it, but with my surprise some dihedral angles are very small (like 2, 3, 4 degrees).
> I was wondering, how can I tweak quality mesh options directly within the API, since I am using gmsh classes within my C++ code? For example, using Tetgen and so on? I know that in the graphical interface you can choose "Optimize 3D", "Optimize with Tetgen", it would be helpful to do it in C++ as well!
> Something like: GmshSetOption (.......). I couldn't find anything in the documentation :(
>
Try: GmshSetOption("Mesh", "Optimize", 1.0);
> Cheers,
> 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