FreeFem / FreeFem-sources

FreeFEM source code
https://freefem.org/
Other
775 stars 191 forks source link

tetg error operator #113

Closed MPenaR closed 5 years ago

MPenaR commented 5 years ago

Yesterday I compiled FreeFem++ from the latest sources (v4.4) and every test passed (except for one xfail) and then I installed it. However now I'm trying to run and old script which was working and it fails with the following error:

Malla = tetg( Malla, switch = "pqaAAYYQ" ) error operator (  <PPKN5Fem2D5Mesh3E> 
 List of choices 
     (    <N5Fem2D5Mesh3E> :   <N5Fem2D5MeshSE> )

 Error line number 86, in file 3DArmonico.edp, before  token )

The same script with FreeFem++ v 3.62 (on another computer) works fine.

Im using Debian 10 (that's why I recompiled FreeFem++)

frederichecht commented 5 years ago

In version 4.2 now we have a new king of mesh (meshS) surface mesh,

so you must have 3 kind of mesh mesh3 and meshS.

meshS MallaS ; ...

Malla = tetg( MallaS, switch = "pqaAAYYQ" );

if you send the script i will correct in 5mn. Sorry for the incompatibility.

Best Regards,

Frédéric Hecht.


Laboratoire Jacques-Louis Lions, UPMC Sorbonne Université BC187, 4 Place Jussieu, 75252 PARIS cedex 05, France Campus Jussieu, Barre 15-25, 3 etage Bureau 307 Projet Alpines , Inria de Paris, 2 rue Simone Iff Voie DQ12 75012 Paris tel: +33 1 44274411, mob: +33 6 62198986, fax: +33 1 44277200 frederic.hecht@sorbonne-universite.fr https://www.ljll.math.upmc.fr/hecht software: FreeFem++ web site: http://www.freefem.org/ff++

error operator (

Le 16 sept. 2019 à 17:15, Manuel Pena notifications@github.com a écrit :

Yesterday I compiled FreeFem++ from the latest sources (v4.4) and every test passed (except for one xfail) and then I installed it. However now I'm trying to run and old script which was working and it fails with the following error:

Malla = tetg( Malla, switch = "pqaAAYYQ" ) error operator ( List of choices ( : )

Error line number 86, in file 3DArmonico.edp, before token )

The same script with FreeFem++ v 3.62 (on another computer) works fine.

Im using Debian 10 (that's why I recompiled FreeFem++)

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/FreeFem/FreeFem-sources/issues/113?email_source=notifications&email_token=ABLPNDBURBWNEDHC25BPKQTQJ6PKZA5CNFSM4IXDWY72YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HLTTDOQ, or mute the thread https://github.com/notifications/unsubscribe-auth/ABLPNDGGLV5NJ2VP5DCBRZTQJ6PKZANCNFSM4IXDWY7Q.

MPenaR commented 5 years ago

Thank you, I was loading the mesh from a 3d mesh generated by gmsh:

mesh3 MallaReal ;
meshS MallaS ; 
MallaS = gmshload3( "test5.msh" );
MallaReal = tetg( MallaS, switch = "pqaAAYYQ");

( if I understood the fix...)