[Gmsh] Comparison inside Field.MathEval

Mike B. mb78aa at yahoo.com
Fri Aug 14 09:44:32 CEST 2009


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 " );

Cheers and thanks,

Mike.


      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20090814/3dbbf85d/attachment.html>