Salome HOME
Modification for new interface of openturns + cleanup
[modules/hydrosolver.git] / src / salome_hydro / telemac2d / eficas / telemac2d_V6_cata.py
index 3f220179684824bf5829dba506d70476177643c8..388c5b1b7b75eaee7c89ad558399c6249cff2c2a 100644 (file)
@@ -44,66 +44,83 @@ TELEMAC2D = PROC(
     nom = "TELEMAC2D", op = None,
     fr = u"Définition d'un cas d'étude Telemac2D",
     ang = u"Definition of a Telemac2D study case",
-    FICHIER_CAS = SIMP(statut = "o", typ = 'Fichier',
+    STEERING_FILE = SIMP(statut = "o", typ = 'Fichier',
                        fr = u"Fichier de description du cas",
                        ang = u"Case description file"),
-    FICHIER_GEOMETRIE = SIMP(statut = "f", typ = 'Fichier',
-                             fr = u"Fichier de géométrie",
-                             ang = u"Geometry file"),
-    FICHIER_CONDITIONS_LIMITES = SIMP(statut = "f", typ = 'Fichier',
-                                      fr = u"Fichier de conditions limites",
-                                      ang = u"Boundary conditions file"),
-    FICHIER_DICO = SIMP(statut = "f", typ = 'Fichier',
-                        fr = "Fichier Dico",
-                        ang = u"Dictionary file"),
-    FICHIER_FORTRAN_UTILISATEUR = SIMP(statut = "f", typ = 'Fichier',
+    USER_FORTRAN = SIMP(statut = "f", typ = 'Fichier',
                                        fr = "Fichier Fortran utilisateur",
                                        ang = u"Fortran user file"),
-    RESULTAT = SIMP(statut = "f", typ = ('Fichier', 'Tous les fichiers (*)', "Sauvegarde"),
-                    fr = u"Fichier de résultat",
-                    ang = u"Result file"),
-    VARIABLE_SORTIE = FACT(statut = 'f', max = '**',
+    OUTPUT_VARIABLE = FACT(statut = 'f', max = '**',
                            fr = u"Variable de sortie du calcul",
                            ang = u"Computation output variable",
-        NOM = SIMP(statut = "o", typ = 'TXM',
+        NAME = SIMP(statut = "o", typ = 'TXM',
                    fr = u"Nom de la variable",
                    ang = u"Variable name"),
-        VARIABLE_T2D = SIMP(statut = "o", typ = 'TXM',
-                            fr = u'Variable Telemac2D (ex : "MODEL.VELOCITYU(2443)")',
-                            ang = u'Telemac2D variable (ex : "MODEL.VELOCITYU(2443)")'),
-                          ),
-    VARIABLE_ENTREE = FACT(statut = 'f', max = '**',
-                           fr = u"Variable d'entrée du calcul",
-                           ang = u"Computation input variable",
-        NOM = SIMP(statut = "o", typ = 'TXM',
-                   fr = u"Nom de la variable",
-                   ang = u"Variable name"),
-        VARIABLE_MODELE_T2D = FACT(statut = "o",
+        VAR_INFO = FACT(statut = "o",
                                    fr = u'Variable du modèle Telemac2D',
                                    ang = u'Telemac2D model variable',
-            NOM_VARIABLE_MODELE = SIMP(statut = "o", typ = 'TXM',
+            VAR_NAME = SIMP(statut = "o", typ = 'TXM',
                                        fr = u'Nom de la variable du modèle (ex: "MODEL.DEBIT")',
                                        ang = u'Model variable name (ex: "MODEL.DEBIT")'),
-            ZONE_DE_DEFINITION = FACT(statut = "o",
+            ZONE_DEF = FACT(statut = "o",
                                       ang = u'Variable definition area',
                                       fr = u'Zone de définition de la variable',
-                                      regles = (UN_PARMI('INDICE', 'POLYGONE')),
-                INDICE = SIMP(statut = "f", typ = "I",
+                                      regles = (UN_PARMI('INDEX', 'POLYGON')),
+                INDEX = SIMP(statut = "f", typ = Tuple(3),
+                              defaut = (0,0,0),
                               ang = "Index of the point / border",
                               fr = u"Indice du point ou de la frontière",
-                             ),
-                POLYGONE = SIMP(statut = "f",
+                              validators = VerifTypeTuple(('I', 'I', 'I')),
+                ),
+                POLYGON = SIMP(statut = "f",
+                                typ = Tuple(2),
+                                max = '**',
+                                fr = u"Liste des sommets (coordonnées X,Y) du "
+                                     u"polygone définissant le contour de la zone",
+                                ang = "List of points (X,Y coordinates) of the "
+                                      "polygon defining the border of the area",
+                                validators = VerifTypeTuple(('R', 'R')),
+                ),
+            ),
+        ),
+    ),
+    INPUT_VARIABLE = FACT(statut = 'f', max = '**',
+                           fr = u"Variable d'entrée du calcul",
+                           ang = u"Computation input variable",
+        NAME = SIMP(statut = "o", typ = 'TXM',
+                   fr = u"Nom de la variable (format Python)",
+                   ang = u"Variable name (Python format)"),
+        VAR_INFO = FACT(statut = "o",
+                                   fr = u'Variable du modèle Telemac2D',
+                                   ang = u'Telemac2D model variable',
+            VAR_NAME = SIMP(statut = "o", typ = 'TXM',
+                                       fr = u'Nom de la variable du modèle (ex: "MODEL.DEBIT")',
+                                       ang = u'Model variable name (ex: "MODEL.DEBIT")'),
+            DEFAULT_VALUE = SIMP(statut = "o", typ = 'TXM',
+                            fr = u'Valeur par défaut',
+                            ang = u'Default value'),
+            ZONE_DEF = FACT(statut = "o",
+                                      ang = u'Variable definition area',
+                                      fr = u'Zone de définition de la variable',
+                                      regles = (UN_PARMI('INDEX', 'POLYGON')),
+                INDEX = SIMP(statut = "f", typ = Tuple(3),
+                              defaut = (0,0,0),
+                              ang = "Index of the variable",
+                              fr = u"Indice de la variabme",
+                              validators = VerifTypeTuple(('I', 'I', 'I')),
+                ),
+                POLYGON = SIMP(statut = "f",
                                 typ = Tuple(2),
-                                max = '**', 
+                                max = '**',
                                 fr = u"Liste des sommets (coordonnées X,Y) du "
                                      u"polygone définissant le contour de la zone",
                                 ang = "List of points (X,Y coordinates) of the "
                                       "polygon defining the border of the area",
                                 validators = VerifTypeTuple(('R', 'R')),
-                               ),
-                                      ),
-                           ),
-                          ),
+                ),
+            ),
+        ),
+    ),
 )
 
 TEXTE_NEW_JDC="TELEMAC2D()"