Problem with MathEval referencing other fields
For some reason I cannot successfully reference other fields in MathEval. The following example (modified from t10) hangs indefinitely in gmsh versions 4.7.1 and 4.11.1, but it works fine when I set the Background Field in the last line to 1. I expected both to be the same. Is this a bug, or am I misunderstanding something?
lc = .15;
Point(1) = {0.0,0.0,0,lc};
Point(2) = {1,0.0,0,lc};
Point(3) = {1,1,0,lc};
Point(4) = {0,1,0,lc};
Line(1) = {1,2};
Line(2) = {2,3};
Line(3) = {3,4};
Line(4) = {4,1};
Curve Loop(5) = {1,2,3,4};
Plane Surface(6) = {5};
Field[1] = MathEval;
Field[1].F = ".1";
Field[2] = MathEval;
Field[2].F = "F1";
Background Field = 2;