[Gmsh] Comparison inside Field.MathEval

Christophe Geuzaine cgeuzaine at ulg.ac.be
Mon Aug 17 16:26:57 CEST 2009


Mike B. wrote:
> Dear All,
> 
> IN Field.MathEval, is it possible to compare fields and to choose the 
> element size accordingly?.
> 
> This fails (F1, F2 already defined):
> 
> Field[ 3 ] = MathEval;
> Field[ 3 ].F = Sprintf( " (F1<F2)*x + (F1>=F2)*y " );

No, but we switched to MathEx in CVS: I guess we could add support for 
this... I'm adding your request to our TODO list.


> 
> Cheers and thanks,
> Mike.
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> 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