Unknown Field when using Fabs in MathEval
Hi, With gmsh 4.9.0 (and greater) from pip, the following .geo
Point(1) = {-1, -1, 0};Point(2) = {-1, 1, 0};Point(3) = {1, 1, 0};Point(4) = {1, -1, 0};
Line(1) = {1, 4};Line(2) = {4, 3};Line(3) = {3, 2};Line(4) = {2, 1};
Curve Loop(1) = {3, 4, 1, 2};Plane Surface(1) = {1};
Field[1] = MathEval;
Field[1].F = "Fabs(-0.1)";
Background Field = 1;
throws an error about Warning : Unknown Field 0
. It's working fine with 4.8.4 and there is no problem when using fabs
or abs
or Abs
with any version.