[Gmsh] Coherence

Christophe Geuzaine geuzaine at acm.caltech.edu
Thu May 13 01:18:39 CEST 2004


Philippe Lussou wrote:
> Hi every body,
> 
> I've used GMH to create a quite sophisticated 3D geometry. I've defined
> several Functions to create simples elements and I call my functions in a
> "central" script. The problem I met is explained bellow with a simple
> example.
> 
> In "example.geo" when the Coherence function is called, the Transfinite
> algorithm does'nt work any more because the modes 5 and 8 has been
> removed. When Coherence is not called, Transfinite algorithm works but the
> mesh is not coherent.
> 
> I thought about a fonction like :
> 
> p1 = Coherence Point { X0, Y0, Z0, LC } ;
> 
> that would return a new number if there no point at { X0, Y0, Z0 } and
> return the number of the point at { X0, Y0, Z0 } if it exists.
> 
> What do you think about that ?
> 

Good catch... IMO the best solution is to generalize "Coherence" to
automatically correct the transfinite data--anyway that's what I just
implemented :-)

If you have the tools to recompile the code, you can test the changes by
downloading the nightly archive from http://geuz.org/gmsh/src/.

Best,

Christophe

-- 
Christophe Geuzaine
Applied and Computational Mathematics, Caltech
geuzaine at acm.caltech.edu - http://geuz.org