Salome HOME
merge Telemac
[tools/eficas.git] / Telemac / postel3d_cata_auto.py
index 33b523ea9471f66f67d10abcc08dce1ab6738aad..f3041915b85f24a4ead945659e71909f82939268 100644 (file)
@@ -44,556 +44,474 @@ JdC = JDC_CATA (code = 'POSTEL3D',
 # Catalog entry for the MAP function : c_pre_interfaceBody_mesh
 # =======================================================================
 
-VERSION_CATALOGUE="TRUNK_20180306"
+VERSION_CATALOGUE="TRUNK_20210323"
 # -----------------------------------------------------------------------
-INPUT_OUTPUT__GRAPHICS_AND_LISTING = PROC(nom= "INPUT_OUTPUT__GRAPHICS_AND_LISTING",op = None,
+COMPUTATION_ENVIRONMENT = PROC(nom= "COMPUTATION_ENVIRONMENT",op = None,
 # -----------------------------------------------------------------------
 #   -----------------------------------
-    NUMBER_OF_HORIZONTAL_CROSS_SECTIONS = SIMP(statut ='f',
+    INPUT = FACT(statut='o',
+#   -----------------------------------
+#       -----------------------------------
+        DATA = FACT(statut='o',
+#       -----------------------------------
+#           -----------------------------------
+            RD_RESULT_FILE_FORMAT = SIMP(statut ='o',
+#           -----------------------------------
+                typ = 'TXM',
+                into = ['SERAFIN','SERAFIND','MED'],
+                defaut = 'SERAFIN',
+                fr = """Format du fichier de resultats.
+Les valeurs possibles sont :
+\begin{itemize}
+\item SERAFIN : format standard simple precision pour \tel ;
+\item SERAFIND: format standard double precision pour \tel ;
+\item MED     : format MED base sur HDF5.
+\end{itemize}""",
+                ang = """Results file format. Possible values are:
+\begin{itemize}
+\item SERAFIN : classical single precision format in \tel,
+\item SERAFIND: classical double precision format in \tel,
+\item MED     : MED format based on HDF5.
+\end{itemize}""",
+            ),
+#           -----------------------------------
+            RD_RESULT_FILE = SIMP(statut ='o',
+#           -----------------------------------
+                typ = ('Fichier','All Files (*)'),
+                defaut = '',
+                fr = """Nom du fichier des resultats 3D obtenu par un calcul avec
+\telemac{3D}.""",
+                ang = """Name of the 3D result file generated by a \telemac{3D} run.""",
+            ),
+#           -----------------------------------
+            GEOMETRY_FILE_FORMAT = SIMP(statut ='o',
+#           -----------------------------------
+                typ = 'TXM',
+                into = ['SERAFIN','SERAFIND','MED'],
+                defaut = 'SERAFIN',
+                fr = """Format du fichier de geometrie.
+Les valeurs possibles sont :
+\begin{itemize}
+\item SERAFIN : format standard simple precision pour \tel ;
+\item SERAFIND: format standard double precision pour \tel ;
+\item MED     : format MED base sur HDF5.
+\end{itemize}""",
+                ang = """Geometry file format.
+Possible values are:
+\begin{itemize}
+\item SERAFIN : classical single precision format in \tel,
+\item SERAFIND: classical double precision format in \tel,
+\item MED     : MED format based on HDF5.
+\end{itemize}""",
+            ),
+#           -----------------------------------
+            GEOMETRY_FILE = SIMP(statut ='o',
+#           -----------------------------------
+                typ = ('Fichier','All Files (*)'),
+                defaut = '',
+                fr = """Nom du fichier de geometrie.""",
+                ang = """Name of the geometry file.""",
+            ),
+#           -----------------------------------
+            FORTRAN_FILE = SIMP(statut ='f',
+#           -----------------------------------
+                typ = ('Fichier','All Files (*)'),
+                defaut = '',
+                fr = """Nom du fichier FORTRAN a soumettre.\\
+Il ne sert a priori qu''a dimensionner les tableaux utilises par
+\postel, mais peut contenir des sous-programmes modifies ou propres
+a l''utilisateur.""",
+                ang = """Name of FORTRAN file to be submitted.\\
+It is supposed to be used only to dimension the array used by \postel
+but can also contain subroutines modified by the user.""",
+            ),
+        ),
+    ),
+#   -----------------------------------
+    GLOBAL = FACT(statut='o',
+#   -----------------------------------
+#       -----------------------------------
+        PARALLEL_PROCESSORS = SIMP(statut ='f',
+#       -----------------------------------
+            typ = 'I',
+            defaut = 0,
+            fr = """Nombre de processeurs pour la decomposition en parallele:
+\begin{itemize}
+\item 0 : 1 machine, compilation sans bibliotheque de parallelisme ;
+\item 1 : 1 machine, compilation avec bibliotheque de parallelisme ;
+\item 2 : 2 processeurs ou machines en parallele etc...
+\end{itemize}""",
+            ang = """Number of processors for domain partition.
+\begin{itemize}
+\item 0: 1 machine, compiling without parallel library,
+\item 1: 1 machine, compiling with a parallel library,
+\item 2: 2 processors or machines in parallel etc...
+\end{itemize}""",
+        ),
+    ),
+)
+# -----------------------------------------------------------------------
+GENERAL = PROC(nom= "GENERAL",op = None,
+# -----------------------------------------------------------------------
+#   -----------------------------------
+    NUMBER_OF_FIRST_RECORD_FOR_CROSS_SECTIONS = SIMP(statut ='o',
 #   -----------------------------------
         typ = 'I',
-        defaut = [0],
-        fr = """Permet de definir simultanement plusieurs coupes horizontales.
-La valeur maximale autorisee est 9.""",
-        ang = """Allow multiple horizontal sections. The maximum value is 9""",
+        defaut = 1,
+        fr = """Seuls les enregistrements au-dela de ce numero seront traites
+pour les coupes.""",
+        ang = """Only records after that time will be in the cross sections.""",
     ),
 #   -----------------------------------
-    NUMBER_OF_VERTICAL_CROSS_SECTIONS = SIMP(statut ='f',
+    PRINTOUT_PERIOD_FOR_CROSS_SECTIONS = SIMP(statut ='o',
 #   -----------------------------------
         typ = 'I',
-        defaut = [0],
-        fr = """Permet de definir simultanement plusieurs coupes verticales.
+        defaut = 1,
+        fr = """Periode en nombre d''enregistrements entre 2 coupes.""",
+        ang = """Period in number of records between two cross sections.""",
+    ),
+)
+# -----------------------------------------------------------------------
+HORIZONTAL_CROSS_SECTION = PROC(nom= "HORIZONTAL_CROSS_SECTION",op = None,
+# -----------------------------------------------------------------------
+#   -----------------------------------
+    NUMBER_OF_HORIZONTAL_CROSS_SECTIONS = SIMP(statut ='o',
+#   -----------------------------------
+        typ = 'I',
+        defaut = 0,
+        fr = """Permet de definir simultanement plusieurs coupes horizontales.
 La valeur maximale autorisee est 9.""",
-        ang = """Allow multiple vertical sections. The maximum value is 9""",
+        ang = """Allow multiple horizontal sections. The maximum value is 9.""",
     ),
 #   -----------------------------------
-    b_NUMBER_OF_VERTICAL_CROSS_SECTIONSG = BLOC(condition="NUMBER_OF_VERTICAL_CROSS_SECTIONS == 1",
+    b_NUMBER_OF_HORIZONTAL_CROSS_SECTIONSG = BLOC(condition="NUMBER_OF_HORIZONTAL_CROSS_SECTIONS > 0",
 #   -----------------------------------
 #       -----------------------------------
-        ABSCISSAE_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_1 = SIMP(statut ='f',
+        HORIZONTAL_CROSS_SECTION_FILE_FORMAT = SIMP(statut ='o',
 #       -----------------------------------
-            typ = 'R', min=10, max=10,
-            fr = """Tout est dans le titre""",
-            ang = """It is all said in the title""",
+            typ = 'TXM',
+            into = ['SERAFIN','SERAFIND','MED'],
+            defaut = 'SERAFIN',
+            fr = """Format du fichier de resultats.
+Les valeurs possibles sont :
+\begin{itemize}
+\item SERAFIN : format standard simple precision pour \tel ;
+\item SERAFIND: format standard double precision pour \tel ;
+\item MED     : format MED base sur HDF5.
+\end{itemize}""",
+            ang = """Results file format. Possible values are:
+\begin{itemize}
+\item SERAFIN : classical single precision format in \tel,
+\item SERAFIND: classical double precision format in \tel,
+\item MED     : MED format based on HDF5.
+\end{itemize}""",
         ),
 #       -----------------------------------
-        ORDINATES_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_1 = SIMP(statut ='f',
+        HORIZONTAL_CROSS_SECTION_FILE = SIMP(statut ='o',
 #       -----------------------------------
-            typ = 'R', min=10, max=10,
-            fr = """Tout est dans le titre""",
-            ang = """It is all said in the title""",
+            typ = ('Fichier','All Files (*)','Sauvegarde'),
+            defaut = '',
+            fr = """Nom generique des fichiers des coupes horizontales.
+Le fichier contenant la coupe $i$ aura pour nom ce nom generique suivi
+de l''extension .i.""",
+            ang = """Generic name for the horizontal cross sections file.
+The file containing the cross section $i$ name will be the generic
+followed by the extension .i.""",
         ),
-    ),
-#   -----------------------------------
-    b_NUMBER_OF_VERTICAL_CROSS_SECTIONSH = BLOC(condition="NUMBER_OF_VERTICAL_CROSS_SECTIONS == 2",
-#   -----------------------------------
 #       -----------------------------------
-        ABSCISSAE_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_2 = SIMP(statut ='f',
+        REFERENCE_LEVEL_FOR_EACH_HORIZONTAL_CROSS_SECTION = SIMP(statut ='o',
 #       -----------------------------------
-            typ = 'R', min=10, max=10,
-            fr = """Tout est dans le titre""",
-            ang = """It is all said in the title""",
+            typ = 'I', min=0, max='**',
+            defaut = [0,1,2,3,4,5,6,7,8],
+            fr = """Chaque coupe horizontale sera parallele a son plan de reference.
+Ainsi il est possible de faire des coupes par exemple :
+\begin{itemize}
+\item a telle distance au-dessus du fond ;
+\item a telle distance sous la surface ;
+\item suivant un plan intermediaire\ldots
+\end{itemize}
+Le plan 0 correspond au plan parfaitement horizontal a la cote 0.""",
+            ang = """Each horizontal cross section will be parallel to its reference
+plane. It is then possible to make cross sections which are:
+\begin{itemize}
+\item at a chosen distance above the bottom,
+\item at a chosen distance below the surface,
+\item referenced to an inbetween plane\ldots
+\end{itemize}
+Plane 0 corresponds to the plane perfecly horizontal to the height 0.""",
         ),
 #       -----------------------------------
-        ORDINATES_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_2 = SIMP(statut ='f',
+        ELEVATION_FROM_REFERENCE_LEVEL = SIMP(statut ='o',
 #       -----------------------------------
-            typ = 'R', min=10, max=10,
-            fr = """Tout est dans le titre""",
-            ang = """It is all said in the title""",
+            typ = 'R', min=0, max='**',
+            defaut = [0.,0.,0.,0.,0.,0.,0.,0.,0.],
+            fr = """Decalage entre la coupe et son plan de reference, ceci pour
+chaque coupe horizontale.""",
+            ang = """Gap between the cross sections and its reference plane, this
+must be defined for cross section.""",
         ),
     ),
+)
+# -----------------------------------------------------------------------
+VERTICAL_CROSS_SECTION = PROC(nom= "VERTICAL_CROSS_SECTION",op = None,
+# -----------------------------------------------------------------------
 #   -----------------------------------
-    b_NUMBER_OF_VERTICAL_CROSS_SECTIONSI = BLOC(condition="NUMBER_OF_VERTICAL_CROSS_SECTIONS == 3",
+    NUMBER_OF_VERTICAL_CROSS_SECTIONS = SIMP(statut ='o',
 #   -----------------------------------
-#       -----------------------------------
-        ABSCISSAE_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_3 = SIMP(statut ='f',
-#       -----------------------------------
-            typ = 'R', min=10, max=10,
-            fr = """Tout est dans le titre""",
-            ang = """It is all said in the title""",
-        ),
-#       -----------------------------------
-        ORDINATES_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_3 = SIMP(statut ='f',
-#       -----------------------------------
-            typ = 'R', min=10, max=10,
-            fr = """Tout est dans le titre""",
-            ang = """It is all said in the title""",
-        ),
+        typ = 'I',
+        defaut = 0,
+        fr = """Permet de definir simultanement plusieurs coupes verticales.
+La valeur maximale autorisee est 9.""",
+        ang = """Allow multiple vertical sections. The maximum value is 9.""",
     ),
 #   -----------------------------------
-    b_NUMBER_OF_VERTICAL_CROSS_SECTIONSJ = BLOC(condition="NUMBER_OF_VERTICAL_CROSS_SECTIONS == 4",
+    b_NUMBER_OF_VERTICAL_CROSS_SECTIONSG = BLOC(condition="NUMBER_OF_VERTICAL_CROSS_SECTIONS > 0",
 #   -----------------------------------
 #       -----------------------------------
-        ABSCISSAE_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_4 = SIMP(statut ='f',
+        VERTICAL_CROSS_SECTION_FILE_FORMAT = SIMP(statut ='o',
 #       -----------------------------------
-            typ = 'R', min=10, max=10,
-            fr = """Tout est dans le titre""",
-            ang = """It is all said in the title""",
+            typ = 'TXM',
+            into = ['SERAFIN','SERAFIND','MED'],
+            defaut = 'SERAFIN',
+            fr = """Format du fichier de resultats.
+Les valeurs possibles sont :
+\begin{itemize}
+\item SERAFIN : format standard simple precision pour \tel ;
+\item SERAFIND: format standard double precision pour \tel ;
+\item MED     : format MED base sur HDF5.
+\end{itemize}""",
+            ang = """Results file format. Possible values are:
+\begin{itemize}
+\item SERAFIN : classical single precision format in \tel,
+\item SERAFIND: classical double precision format in \tel,
+\item MED     : MED format based on HDF5.
+\end{itemize}""",
         ),
 #       -----------------------------------
-        ORDINATES_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_4 = SIMP(statut ='f',
+        VERTICAL_CROSS_SECTION_FILE = SIMP(statut ='o',
 #       -----------------------------------
-            typ = 'R', min=10, max=10,
-            fr = """Tout est dans le titre""",
-            ang = """It is all said in the title""",
+            typ = ('Fichier','All Files (*)','Sauvegarde'),
+            defaut = '',
+            fr = """Nom generique des fichiers des coupes verticales.
+Le fichier contenant la coupe $i$ au $j$e pas de temps enregistre aura
+pour nom ce nom generique suivi de l extension .i.j.""",
+            ang = """Generic name for the vertical cross sections file.  The file
+containing the cross section $i$ for the $j$ time step name will be the
+generic followed by the extension .i.j.""",
         ),
-    ),
-#   -----------------------------------
-    b_NUMBER_OF_VERTICAL_CROSS_SECTIONSK = BLOC(condition="NUMBER_OF_VERTICAL_CROSS_SECTIONS == 5",
-#   -----------------------------------
 #       -----------------------------------
-        ABSCISSAE_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_5 = SIMP(statut ='f',
+        NUMBER_OF_NODES_FOR_VERTICAL_CROSS_SECTION_DISCRETIZATION = SIMP(statut ='o',
 #       -----------------------------------
-            typ = 'R', min=10, max=10,
-            fr = """Tout est dans le titre""",
-            ang = """It is all said in the title""",
+            typ = 'I',
+            defaut = 120,
+            fr = """Il s''agit du nombre de points suivant l''horizontale.""",
+            ang = """It is the number of points along the horizontal.""",
         ),
 #       -----------------------------------
-        ORDINATES_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_5 = SIMP(statut ='f',
+        DISTORSION_BETWEEN_VERTICAL_AND_HORIZONTAL = SIMP(statut ='o',
 #       -----------------------------------
-            typ = 'R', min=10, max=10,
-            fr = """Tout est dans le titre""",
-            ang = """It is all said in the title""",
+            typ = 'R', min=0, max='**',
+            defaut = [1.,1.,1.,1.,1.,1.,1.,1.,1.],
+            fr = """Rapport entre echelles verticale et horizontale pour chaque
+coupe verticale.""",
+            ang = """Ratio between vertical and horizontal scales for each vertical
+cross section.""",
         ),
-    ),
-#   -----------------------------------
-    b_NUMBER_OF_VERTICAL_CROSS_SECTIONSL = BLOC(condition="NUMBER_OF_VERTICAL_CROSS_SECTIONS == 6",
-#   -----------------------------------
 #       -----------------------------------
-        ABSCISSAE_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_6 = SIMP(statut ='f',
+        ABSCISSAE_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_1 = SIMP(statut ='o',
 #       -----------------------------------
-            typ = 'R', min=10, max=10,
-            fr = """Tout est dans le titre""",
-            ang = """It is all said in the title""",
+            typ = 'R', min=0, max='**',
+            fr = """Tout est dans le titre.""",
+            ang = """It is all said in the title.""",
         ),
 #       -----------------------------------
-        ORDINATES_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_6 = SIMP(statut ='f',
+        ORDINATES_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_1 = SIMP(statut ='o',
 #       -----------------------------------
-            typ = 'R', min=10, max=10,
-            fr = """Tout est dans le titre""",
-            ang = """It is all said in the title""",
+            typ = 'R', min=0, max='**',
+            fr = """Tout est dans le titre.""",
+            ang = """It is all said in the title.""",
         ),
     ),
 #   -----------------------------------
-    b_NUMBER_OF_VERTICAL_CROSS_SECTIONSM = BLOC(condition="NUMBER_OF_VERTICAL_CROSS_SECTIONS == 7",
+    b_NUMBER_OF_VERTICAL_CROSS_SECTIONSH = BLOC(condition="NUMBER_OF_VERTICAL_CROSS_SECTIONS > 1",
 #   -----------------------------------
 #       -----------------------------------
-        ABSCISSAE_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_7 = SIMP(statut ='f',
+        ABSCISSAE_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_2 = SIMP(statut ='o',
 #       -----------------------------------
-            typ = 'R', min=10, max=10,
-            fr = """Tout est dans le titre""",
-            ang = """It is all said in the title""",
+            typ = 'R', min=0, max='**',
+            fr = """Tout est dans le titre.""",
+            ang = """It is all said in the title.""",
         ),
 #       -----------------------------------
-        ORDINATES_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_7 = SIMP(statut ='f',
+        ORDINATES_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_2 = SIMP(statut ='o',
 #       -----------------------------------
-            typ = 'R', min=10, max=10,
-            fr = """Tout est dans le titre""",
-            ang = """It is all said in the title""",
+            typ = 'R', min=0, max='**',
+            fr = """Tout est dans le titre.""",
+            ang = """It is all said in the title.""",
         ),
     ),
 #   -----------------------------------
-    b_NUMBER_OF_VERTICAL_CROSS_SECTIONSN = BLOC(condition="NUMBER_OF_VERTICAL_CROSS_SECTIONS == 8",
+    b_NUMBER_OF_VERTICAL_CROSS_SECTIONSI = BLOC(condition="NUMBER_OF_VERTICAL_CROSS_SECTIONS > 2",
 #   -----------------------------------
 #       -----------------------------------
-        ABSCISSAE_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_8 = SIMP(statut ='f',
+        ABSCISSAE_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_3 = SIMP(statut ='o',
 #       -----------------------------------
-            typ = 'R', min=10, max=10,
-            fr = """Tout est dans le titre""",
-            ang = """It is all said in the title""",
+            typ = 'R', min=0, max='**',
+            fr = """Tout est dans le titre.""",
+            ang = """It is all said in the title.""",
         ),
 #       -----------------------------------
-        ORDINATES_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_8 = SIMP(statut ='f',
+        ORDINATES_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_3 = SIMP(statut ='o',
 #       -----------------------------------
-            typ = 'R', min=10, max=10,
-            fr = """Tout est dans le titre""",
-            ang = """It is all said in the title""",
+            typ = 'R', min=0, max='**',
+            fr = """Tout est dans le titre.""",
+            ang = """It is all said in the title.""",
         ),
     ),
 #   -----------------------------------
-    b_NUMBER_OF_VERTICAL_CROSS_SECTIONSO = BLOC(condition="NUMBER_OF_VERTICAL_CROSS_SECTIONS == 9",
+    b_NUMBER_OF_VERTICAL_CROSS_SECTIONSJ = BLOC(condition="NUMBER_OF_VERTICAL_CROSS_SECTIONS > 3",
 #   -----------------------------------
 #       -----------------------------------
-        ABSCISSAE_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_9 = SIMP(statut ='f',
+        ABSCISSAE_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_4 = SIMP(statut ='o',
 #       -----------------------------------
-            typ = 'R', min=10, max=10,
-            fr = """Tout est dans le titre""",
-            ang = """It is all said in the title""",
+            typ = 'R', min=0, max='**',
+            fr = """Tout est dans le titre.""",
+            ang = """It is all said in the title.""",
         ),
 #       -----------------------------------
-        ORDINATES_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_9 = SIMP(statut ='f',
+        ORDINATES_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_4 = SIMP(statut ='o',
 #       -----------------------------------
-            typ = 'R', min=10, max=10,
-            fr = """Tout est dans le titre""",
-            ang = """It is all said in the title""",
+            typ = 'R', min=0, max='**',
+            fr = """Tout est dans le titre.""",
+            ang = """It is all said in the title.""",
         ),
     ),
 #   -----------------------------------
-    NUMBER_OF_FIRST_RECORD_FOR_CROSS_SECTIONS = SIMP(statut ='f',
+    b_NUMBER_OF_VERTICAL_CROSS_SECTIONSK = BLOC(condition="NUMBER_OF_VERTICAL_CROSS_SECTIONS > 4",
 #   -----------------------------------
-        typ = 'I',
-        defaut = [1],
-        fr = """Seuls les enregistrements au-dela de ce numero seront traites
-pour les coupes.""",
-        ang = """Only records after that time will be in the cross sections""",
-    ),
-#   -----------------------------------
-    PRINTOUT_PERIOD_FOR_CROSS_SECTIONS = SIMP(statut ='f',
-#   -----------------------------------
-        typ = 'I',
-        defaut = [1],
-        fr = """Periode en nombre d''enregistrements entre 2 coupes.""",
-        ang = """Period in number of records between two cross sections""",
-    ),
-#   -----------------------------------
-    REFERENCE_LEVEL_FOR_EACH_HORIZONTAL_CROSS_SECTION = SIMP(statut ='f',
-#   -----------------------------------
-        typ = 'I', min= 9, max= 9,
-        defaut = [0,1,2,3,4,5,6,7,8],
-        fr = """Chaque coupe horizontale sera parallele a son plan de reference.
-Ainsi il est possible de faire des coupes par exemple :
-\begin{itemize}
-\item a telle distance au-dessus du fond,
-\item a telle distance sous la surface,
-\item suivant un plan intermediaire \ldots
-\end{itemize}
-Le plan 0 correspond au plan parfaitement horizontal a la cote 0.""",
-        ang = """Each horizontal cross section will be parallel to its reference
-plane. It is then possible to make cross section which are:
-\begin{itemize}
-\item at a chosen distance above the bottom,
-\item at a chosen distance below the surface,
-\item referenced to an inbetween plane \ldots
-\end{itemize}
-Plane 0 correspond to the plane perfecly horizontal to the heigh 0.""",
-    ),
-#   -----------------------------------
-    NUMBER_OF_NODES_FOR_VERTICAL_CROSS_SECTION_DISCRETIZATION = SIMP(statut ='f',
-#   -----------------------------------
-        typ = 'I',
-        defaut = [120],
-        fr = """Il s''agit du nombre de points suivant l''horizontale.""",
-        ang = """It is the number of points along the horizontal""",
-    ),
-)
-# -----------------------------------------------------------------------
-GRAPHIC = PROC(nom= "GRAPHIC",op = None,
-# -----------------------------------------------------------------------
-#   -----------------------------------
-    ELEVATION_FROM_REFERENCE_LEVEL = SIMP(statut ='f',
-#   -----------------------------------
-        typ = 'R', min= 9, max= 9,
-        defaut = [0.,0.,0.,0.,0.,0.,0.,0.,0.],
-        fr = """Decalage entre la coupe et son plan de reference, ceci pour
-chaque coupe horizontale.""",
-        ang = """Gap between the cross sections and its reference plane, this
-must be defined for cross section""",
-    ),
-#   -----------------------------------
-    DISTORSION_BETWEEN_VERTICAL_AND_HORIZONTAL = SIMP(statut ='f',
-#   -----------------------------------
-        typ = 'R', min= 9, max= 9,
-        defaut = [1.,1.,1.,1.,1.,1.,1.,1.,1.],
-        fr = """Rapport entre echelles verticale et horizontale pour chaque
-coupe verticale.""",
-        ang = """Ratio between vertical and horizontal scale for each vertical
-cross section""",
-    ),
-)
-# -----------------------------------------------------------------------
-INPUT_OUTPUT__FILES = PROC(nom= "INPUT_OUTPUT__FILES",op = None,
-# -----------------------------------------------------------------------
-#   -----------------------------------
-    RD_RESULT_FILE_FORMAT = SIMP(statut ='f',
-#   -----------------------------------
-        typ = 'TXM',
-        into = ['SERAFIN','SERAFIND','MED'],
-        defaut = 'SERAFIN?',
-        fr = """Format du fichier de resultats.
-Les valeurs possibles sont :
-\begin{itemize}
-\item SERAFIN : format standard simple precision pour Telemac;
-\item SERAFIND: format standard double precision pour Telemac;
-\item MED     : format MED base sur HDF5
-\end{itemize}""",
-        ang = """Results file format. Possible values are:
-\begin{itemize}
-\item SERAFIN : classical single precision format in Telemac;
-\item SERAFIND: classical double precision format in Telemac;
-\item MED     : MED format based on HDF5
-\end{itemize}""",
-    ),
-#   -----------------------------------
-    HORIZONTAL_CROSS_SECTION_FILE_FORMAT = SIMP(statut ='f',
-#   -----------------------------------
-        typ = 'TXM',
-        into = ['SERAFIN','SERAFIND','MED'],
-        defaut = 'SERAFIN?',
-        fr = """Format du fichier de resultats.
-Les valeurs possibles sont :
-\begin{itemize}
-\item SERAFIN : format standard simple precision pour Telemac;
-\item SERAFIND: format standard double precision pour Telemac;
-\item MED     : format MED base sur HDF5
-\end{itemize}""",
-        ang = """Results file format. Possible values are:
-\begin{itemize}
-\item SERAFIN : classical single precision format in Telemac;
-\item SERAFIND: classical double precision format in Telemac;
-\item MED     : MED format based on HDF5
-\end{itemize}""",
-    ),
-#   -----------------------------------
-    VERTICAL_CROSS_SECTION_FILE_FORMAT = SIMP(statut ='f',
-#   -----------------------------------
-        typ = 'TXM',
-        into = ['SERAFIN','SERAFIND','MED'],
-        defaut = 'SERAFIN?',
-        fr = """Format du fichier de resultats.
-Les valeurs possibles sont :
-\begin{itemize}
-\item SERAFIN : format standard simple precision pour Telemac;
-\item SERAFIND: format standard double precision pour Telemac;
-\item MED     : format MED base sur HDF5
-\end{itemize}""",
-        ang = """Results file format. Possible values are:
-\begin{itemize}
-\item SERAFIN : classical single precision format in Telemac;
-\item SERAFIND: classical double precision format in Telemac;
-\item MED     : MED format based on HDF5
-\end{itemize}""",
-    ),
-#   -----------------------------------
-    GEOMETRY_FILE_FORMAT = SIMP(statut ='f',
-#   -----------------------------------
-        typ = 'TXM',
-        into = ['SERAFIN','SERAFIND','MED'],
-        defaut = 'SERAFIN?',
-        fr = """Format du fichier de geometrie.
-Les valeurs possibles sont :
-\begin{itemize}
-\item SERAFIN : format standard simple precision pour Telemac;
-\item SERAFIND: format standard double precision pour Telemac;
-\item MED     : format MED base sur HDF5
-\end{itemize}""",
-        ang = """Geometry file format.
-Possible values are:
-\begin{itemize}
-\item SERAFIN : classical single precision format in Telemac;
-\item SERAFIND: classical double precision format in Telemac;
-\item MED     : MED format based on HDF5
-\end{itemize}""",
-    ),
-#   -----------------------------------
-    NAMES = FACT(statut='f',
-#   -----------------------------------
-#       -----------------------------------
-        FORTRAN_FILE = SIMP(statut ='f',
-#       -----------------------------------
-            typ = ('Fichier','All Files (*)'),
-            defaut = 'DEFAUT',
-            fr = """Nom du fichier FORTRAN a soumettre.\\
-Il ne sert a priori qu''a dimensionner les tableaux utilises par
-\postel3d, mais peut contenir des sous-programmes modifies ou propres
-a l''utilisateur.""",
-            ang = """Name of FORTRAN file to be submitted.\\
-It is supposed to be used only to dimension the array used by \postel3d
-but can also contain subroutines modified by the user.""",
-        ),
 #       -----------------------------------
-        STEERING_FILE = SIMP(statut ='f',
+        ABSCISSAE_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_5 = SIMP(statut ='o',
 #       -----------------------------------
-            typ = ('Fichier','All Files (*)'),
-            defaut = '',
-            fr = """Nom du fichier contenant les references des fichiers et
-les options du calcul a realiser.""",
-            ang = """Name of the file containing the parameters of the computation
-Written by the user.""",
+            typ = 'R', min=0, max='**',
+            fr = """Tout est dans le titre.""",
+            ang = """It is all said in the title.""",
         ),
 #       -----------------------------------
-        RD_RESULT_FILE = SIMP(statut ='f',
+        ORDINATES_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_5 = SIMP(statut ='o',
 #       -----------------------------------
-            typ = ('Fichier','All Files (*)'),
-            defaut = '',
-            fr = """Nom du fichier des resultats 3D obtenu par un calcul avec
-\telemac{3D}.""",
-            ang = """Name of the 3d result file generated by a \telemac{3D} run.""",
-        ),
-#       -----------------------------------
-        HORIZONTAL_CROSS_SECTION_FILE = SIMP(statut ='f',
-#       -----------------------------------
-            typ = ('Fichier','All Files (*)','Sauvegarde'),
-            defaut = '',
-            fr = """Nom generique des fichiers des coupes horizontales.
-Le fichier contenant la coupe i aura pour nom ce nom generique suivi
-de l''extension ''.i''.""",
-            ang = """Generic name for the horizontal cross sections file.
-The file containing the cross section i name will be the generic
-followed by the extension''.i''.""",
-        ),
-#       -----------------------------------
-        VERTICAL_CROSS_SECTION_FILE = SIMP(statut ='f',
-#       -----------------------------------
-            typ = ('Fichier','All Files (*)','Sauvegarde'),
-            defaut = '',
-            fr = """Nom generique des fichiers des coupes verticales.
-Le fichier contenant la coupe i au j ieme pas de temps enregistre aura
-pour nom ce nom generique suivi de l''extension ''.i.j''.""",
-            ang = """Generic name for the vertical cross sections file.  The file
-containing the cross section i for the j time step name will be the
-generic followed by the extension''.i.j''.""",
-        ),
-#       -----------------------------------
-        GEOMETRY_FILE = SIMP(statut ='f',
-#       -----------------------------------
-            typ = ('Fichier','All Files (*)'),
-            defaut = '',
-            fr = """Nom du fichier de geometrie""",
-            ang = """Name of the geometry file""",
+            typ = 'R', min=0, max='**',
+            fr = """Tout est dans le titre.""",
+            ang = """It is all said in the title.""",
         ),
     ),
 #   -----------------------------------
-    TYPE_OF_BINARY = FACT(statut='f',
+    b_NUMBER_OF_VERTICAL_CROSS_SECTIONSL = BLOC(condition="NUMBER_OF_VERTICAL_CROSS_SECTIONS > 5",
 #   -----------------------------------
 #       -----------------------------------
-        RD_RESULT_FILE_BINARY = SIMP(statut ='f',
-#       -----------------------------------
-            typ = 'TXM',
-            into = ['STD','IBM','I3E'],
-            defaut = 'STD',
-            fr = """Type du binaire utilise pour l''ecriture du fichier des
-resultats 3d.\\
-Ce type depend de la machine sur laquelle le fichier a ete genere.
-Les valeurs possibles sont :
-\begin{itemize}
-\item IBM: pour un fichier crEE sur IBM;
-\item I3E: pour un fichier crEE sur HP;
-\item STD: il s''agit alors d''ordres READ et WRITE normaux.
-\end{itemize}""",
-            ang = """Binary file type used for writing the results file.
-This type depends on the machine on which the file was generated.
-The possible values are as follows:
-\begin{itemize}
-\item IBM: for a file on an IBM (from a CRAY)
-\item I3E: for a file on an HP (from a CRAY)
-\item STD: binary type of the machine on which the user is working. In
-that case, normal READ and WRITE commands are used
-\end{itemize}""",
-        ),
-#       -----------------------------------
-        CROSS_SECTION_FILE_BINARY = SIMP(statut ='f',
+        ABSCISSAE_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_6 = SIMP(statut ='o',
 #       -----------------------------------
-            typ = 'TXM',
-            into = ['STD','I3E'],
-            defaut = 'STD',
-            fr = """Type du binaire utilise pour l''ecriture des fichiers des
-coupes.\\
-Ce type depend de la machine sur laquelle le fichier a ete genere.
-Les valeurs possibles sont les memes que pour le fichier des
-resultats 3D.""",
-            ang = """Binary file type used for writing the cross section files.
-This type depends on the machine on which the file was generated.
-The possible values are as follows:
-\begin{itemize}
-\item I3E, for a file on an HP (from a CRAY)
-\item STD, binary type of the machine on which the user is working. In
-that case, normal READ and WRITE commands are used.
-\end{itemize}""",
+            typ = 'R', min=0, max='**',
+            fr = """Tout est dans le titre.""",
+            ang = """It is all said in the title.""",
         ),
 #       -----------------------------------
-        GEOMETRY_FILE_BINARY = SIMP(statut ='f',
+        ORDINATES_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_6 = SIMP(statut ='o',
 #       -----------------------------------
-            typ = 'TXM',
-            into = ['STD','I3E'],
-            defaut = 'STD',
-            fr = """Type du binaire utilise pour l''ecriture des fichiers des
-coupes.\\
-Ce type depend de la machine sur laquelle le fichier a ete genere.
-Les valeurs possibles sont les memes que pour le fichier des
-resultats 3D.""",
-            ang = """Binary file type used for writing the cross section files.
-This type depends on the machine on which the file was generated.
-The possible values are as follows:
-\begin{itemize}
-\item I3E, for a file on an HP (from a CRAY)
-\item STD, binary type of the machine on which the user is working. In
-    that case, normal READ and WRITE commands are used.
-\end{itemize}""",
+            typ = 'R', min=0, max='**',
+            fr = """Tout est dans le titre.""",
+            ang = """It is all said in the title.""",
         ),
     ),
-)
-# -----------------------------------------------------------------------
-INPUT_OUTPUT__INFORMATION = PROC(nom= "INPUT_OUTPUT__INFORMATION",op = None,
-# -----------------------------------------------------------------------
 #   -----------------------------------
-    COMPUTATIONAL_INFORMATION = FACT(statut='f',
+    b_NUMBER_OF_VERTICAL_CROSS_SECTIONSM = BLOC(condition="NUMBER_OF_VERTICAL_CROSS_SECTIONS > 6",
 #   -----------------------------------
 #       -----------------------------------
-        RELEASE = SIMP(statut ='f',
+        ABSCISSAE_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_7 = SIMP(statut ='o',
 #       -----------------------------------
-            typ = 'TXM',
-            defaut = 'TRUNK',
-            fr = """Tout est dans le titre""",
-            ang = """It is all said in the title""",
+            typ = 'R', min=0, max='**',
+            fr = """Tout est dans le titre.""",
+            ang = """It is all said in the title.""",
         ),
 #       -----------------------------------
-        DESCRIPTION_OF_LIBRARIES = SIMP(statut ='f',
+        ORDINATES_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_7 = SIMP(statut ='o',
 #       -----------------------------------
-            typ = 'TXM', min= 6, max= 6,
-            defaut = 'builds|PPP|lib|postel3dMMMVVV.LLL;builds|PPP|lib|biefMMMVVV.LLL;builds|PPP|lib|hermesMMMVVV.LLL;builds|PPP|lib|damoMMMVVV.LLL;builds|PPP|lib|parallelMMMVVV.LLL;builds|PPP|lib|specialMMMVVV.LLL',
-            fr = """Description des librairies de \postel3d""",
-            ang = """\postel3d libraries description""",
+            typ = 'R', min=0, max='**',
+            fr = """Tout est dans le titre.""",
+            ang = """It is all said in the title.""",
         ),
+    ),
+#   -----------------------------------
+    b_NUMBER_OF_VERTICAL_CROSS_SECTIONSN = BLOC(condition="NUMBER_OF_VERTICAL_CROSS_SECTIONS > 7",
+#   -----------------------------------
 #       -----------------------------------
-        DEFAULT_EXECUTABLE = SIMP(statut ='f',
+        ABSCISSAE_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_8 = SIMP(statut ='o',
 #       -----------------------------------
-            typ = 'TXM',
-            defaut = 'builds|PPP|bin|postel3dMMMVVV.exe',
-            fr = """Executable par defaut de \postel3d""",
-            ang = """Default executable for \postel3d""",
+            typ = 'R', min=0, max='**',
+            fr = """Tout est dans le titre.""",
+            ang = """It is all said in the title.""",
         ),
 #       -----------------------------------
-        DEFAULT_PARALLEL_EXECUTABLE = SIMP(statut ='f',
+        ORDINATES_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_8 = SIMP(statut ='o',
 #       -----------------------------------
-            typ = 'TXM',
-            defaut = 'builds|PPP|bin|postel3dMMMVVV.exe',
-            fr = """Executable parallele par defaut de \postel3d""",
-            ang = """Default parallel executable for \postel3d""",
+            typ = 'R', min=0, max='**',
+            fr = """Tout est dans le titre.""",
+            ang = """It is all said in the title.""",
         ),
     ),
 #   -----------------------------------
-    COMPUTATION_ENVIRONMENT = FACT(statut='f',
+    b_NUMBER_OF_VERTICAL_CROSS_SECTIONSO = BLOC(condition="NUMBER_OF_VERTICAL_CROSS_SECTIONS > 8",
 #   -----------------------------------
 #       -----------------------------------
-        DICTIONARY = SIMP(statut ='f',
+        ABSCISSAE_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_9 = SIMP(statut ='o',
+#       -----------------------------------
+            typ = 'R', min=0, max='**',
+            fr = """Tout est dans le titre.""",
+            ang = """It is all said in the title.""",
+        ),
+#       -----------------------------------
+        ORDINATES_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_9 = SIMP(statut ='o',
 #       -----------------------------------
-            typ = ('Fichier','All Files (*)'),
-            defaut = 'postel3d.dico',
-            fr = """Dictionnaire des mots cles.""",
-            ang = """Key word dictionary.""",
+            typ = 'R', min=0, max='**',
+            fr = """Tout est dans le titre.""",
+            ang = """It is all said in the title.""",
         ),
     ),
 )
 # -----------------------------------------------------------------------
-FILES = PROC(nom= "FILES",op = None,
+INTERNAL = PROC(nom= "INTERNAL",op = None,
 # -----------------------------------------------------------------------
+    UIinfo = {"groupes": ("CACHE")},
+#   -----------------------------------
+    STEERING_FILE = SIMP(statut ='o',
+#   -----------------------------------
+        typ = ('Fichier','All Files (*)'),
+        defaut = '',
+        fr = """Nom du fichier contenant les references des fichiers et
+les options du calcul a realiser.""",
+        ang = """Name of the file containing the parameters of the computation.
+Written by the user.""",
+    ),
 #   -----------------------------------
-    LIST_OF_FILES = SIMP(statut ='f',
+    DICTIONARY = SIMP(statut ='o',
 #   -----------------------------------
-        typ = 'TXM', min= 8, max= 8,
-        defaut = 'STEERING FILE;DICTIONARY;FORTRAN FILE;GEOMETRY FILE;STEERING FILE;3D RESULT FILE;HORIZONTAL CROSS SECTION FILE;VERTICAL CROSS SECTION FILE',
-        fr = """Noms des fichiers exploites par le code""",
-        ang = """File names of the used files""",
+        typ = ('Fichier','All Files (*)'),
+        defaut = 'postel3d.dico',
+        fr = """Dictionnaire des mots cles.""",
+        ang = """Key word dictionary.""",
     ),
 )
 TEXTE_NEW_JDC = "\
+COMPUTATION_ENVIRONMENT();\
+GENERAL();\
+HORIZONTAL_CROSS_SECTION();\
+VERTICAL_CROSS_SECTION();\
 "
 Ordre_Des_Commandes = (
-'INPUT_OUTPUT__GRAPHICS_AND_LISTING',
-'GRAPHIC',
-'INPUT_OUTPUT__FILES',
-'INPUT_OUTPUT__INFORMATION',
-'FILES')
+'COMPUTATION_ENVIRONMENT',
+'GENERAL',
+'HORIZONTAL_CROSS_SECTION',
+'VERTICAL_CROSS_SECTION',
+'INTERNAL')
 try:
     import TelApy
     source = "eficas"