]> SALOME platform Git repositories - modules/smesh.git/blobdiff - src/MEFISTO2/aptrte.h
Salome HOME
bug PAL15961 ("Extrusion 3D" algo does not work )
[modules/smesh.git] / src / MEFISTO2 / aptrte.h
index 9e57131dddda5020409d83ebeec23049e8c79a09..0367ad5c8c485c60688beef542057e11541e3c46 100755 (executable)
@@ -1,3 +1,30 @@
+//  SMESH MEFISTO2 : algorithm for meshing
+//
+//  Copyright (C) 2006  Laboratoire J.-L. Lions UPMC Paris
+//
+//  This library is free software; you can redistribute it and/or
+//  modify it under the terms of the GNU Lesser General Public
+//  License as published by the Free Software Foundation; either
+//  version 2.1 of the License.
+//
+//  This library is distributed in the hope that it will be useful,
+//  but WITHOUT ANY WARRANTY; without even the implied warranty of
+//  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+//  Lesser General Public License for more details.
+//
+//  You should have received a copy of the GNU Lesser General Public
+//  License along with this library; if not, write to the Free Software
+//  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+//
+//  See http://www.ann.jussieu.fr/~perronne or email Perronnet@ann.jussieu.fr
+//
+//
+//
+//  File   : aptrte.h
+//  Author : Alain PERRONNET
+//  Module : SMESH
+//  Date   : 13 novembre 2006
+
 #ifndef aptrte__h
 #define aptrte__h
 
 #include <sys/types.h>
 #include <sys/time.h>
 
-void qualitetrte( R3 *mnpxyd,
-                 Z & mosoar, Z & mxsoar, Z *mnsoar,
-                 Z & moartr, Z & mxartr, Z *mnartr,
-                 Z & nbtria, R & quamoy, R & quamin );
+extern "C" {
+void qualitetrte_( R3 *mnpxyd,
+                  Z & mosoar, Z & mxsoar, Z *mnsoar,
+                  Z & moartr, Z & mxartr, Z *mnartr,
+                  Z & nbtria, R & quamoy, R & quamin ); }
 // +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 // but :    calculer la qualite moyenne et minimale de la triangulation
 // -----    actuelle definie par les tableaux nosoar et noartr
@@ -188,7 +216,7 @@ extern "C" {void tedela_( R3 * mnpxyd, Z * mnarst,
  
 extern "C" {void terefr_( Z & nbarpi, R3 * mnpxyd,
                          Z & mosoar, Z & mxsoar, Z & n1soar, Z * mnsoar,
-                         Z & moartr, Z & n1artr, Z * mnartr, Z * mnarst,
+                         Z & moartr, Z & mxartr, Z & n1artr, Z * mnartr, Z * mnarst,
                          Z & mxarcf, Z * mnarc1, Z * mnarc2,
                          Z * mnarc3, Z * mnarc4,
                          Z & n, Z & ierr );}
@@ -202,12 +230,12 @@ extern "C" {void tesuex_( Z & nblf, Z * nulftr,
                          Z & nbtria, Z * mntrsu, Z & ierr );}
 // suppression des triangles externes a la surface
 
-extern "C" {void teamqt_( Z & nutysu,
+extern "C" {void teamqt_( Z & nutysu, R & aretmx, R & airemx,
                          Z * mnarst, Z & mosoar, Z & mxsoar, Z & n1soar, Z * mnsoar,
                          Z & moartr, Z & mxartr, Z & n1artr, Z * mnartr,
                          Z & mxarcf, Z * mntrcf, Z * mnstbo,
                          Z * n1arcf, Z * mnarcf, Z * mnarc1,
-                         R3 * comxmi, Z & nbarpi, Z & nbsomm, Z & mxsomm,
+                         Z & nbarpi, Z & nbsomm, Z & mxsomm,
                          R3 * mnpxyd, Z * mnslig,
                          Z & ierr );}
 // amelioration de la qualite de la triangulation par