Closed Joalland closed 5 years ago
I think your version of FreeFem++ is too old. It works for me with FreeFem++-v4.0
What is your linux distribution ? If you are on Ubuntu, you can download this DEB package for the version 3.62, a version 4.0 DEB package will be available soon
I use Linux mint 19.1 based on ubuntu 18.04 and freefem++ is packaged with the version 3.47. I've just compiled the 4.0 from source and all is working fine (including this script). Sorry for this inconvenient bug report.
Thanks for your answer.
Freefem++ v3.47 on linux. When trying to run the following script: FreeFem-doc/docs/documentation/MeshGeneration.md#mesh-connectivity-and-data
Mesh Connectivity and data
The following example explains methods to obtain mesh information.
`-- FreeFem++ v 3.470000 (date 2017-12-20) Load: lg_fem lg_mesh lg_mesh3 eigenvalue 1 : // Mesh 2 : mesh Th = square(2, 2); 3 : 4 : cout << "// Get data of the mesh" << endl; 5 : { 6 : int NbTriangles = Th.nt; 7 : real MeshArea = Th.measure; 8 : real BorderLenght = Th.bordermeasure No operator .bordermeasure for type
I've got the following error:
Error line number 8, in file Lap1D.edp, before token bordermeasure
current line = 8 Compile error : line number :8, bordermeasure error Compile error : line number :8, bordermeasure code = 1 mpirank: 0
Has .bordermeasure been replaced ? Is this script still working ?