I have just installed FreeFem++ 4.7-1.
There is a segmentation fault when trying to use the external library “distance”.
I have already identify that the segmentation fault comes from the distance command and not from other things.
Here’s an extract of my code :
real xA, yA, zA;
xA = 0.25; yA = 0.7; zA = 0.1;
real hmin1, hmax1;
real R = 0.05;
mesh3 Th, Th10, Th20, Th1, Th2;
Th10 = readmesh3(“mesh10.mesh”);
Vh1 o1, o1dist;
o1 = (x-xA)^2+(y-yA)^2+(z-zA)^2-R^2;
o1 = o1dist;
Is there something wrong with the execution of the command?
Thanks or your help!