2 # -*- coding: latin-1 -*-
9 def __convert__(self,valeur):
10 if type(valeur) == types.StringType: return None
11 if len(valeur) != self.ntuple: return None
15 return "Date : jj/mm/aaaa "
25 def __init__(self,ntuple):
28 def __convert__(self,valeur):
29 if type(valeur) == types.StringType:
31 if len(valeur) != self.ntuple:
36 return "Tuple de %s elements" % self.ntuple
40 JdC = JDC_CATA (code = 'STBTEL',
43 # =======================================================================
44 # Catalog entry for the MAP function : c_pre_interfaceBody_mesh
45 # =======================================================================
47 VERSION_CATALOGUE="TRUNK_20201028"
48 # -----------------------------------------------------------------------
49 TREATMENT = PROC(nom= "TREATMENT",op = None,
50 # -----------------------------------------------------------------------
51 # -----------------------------------
52 MINIMUM_DISTANCE_BETWEEN_TWO_POINTS = SIMP(statut ='o',
53 # -----------------------------------
56 fr = """Distance (en metres)en dessous de laquelle deux noeuds sont consideres
57 comme confondus par \stbtel, lors de la verification des resultats
58 fournis par le mailleur. Lorsque deux noeuds sont confondus, l''un
59 d''entre eux est elimine, et tous les noeuds du maillage sont
61 ang = """Distance (in meters) below which two nodes are considered as identical
62 by \stbtel when the results supplied by the mesh generator are being
63 checked. When two nodes occur at the same place, one of them is
64 eliminated and all the mesh nodes are renumbered.""",
66 # -----------------------------------
67 MESH_GENERATOR = SIMP(statut ='o',
68 # -----------------------------------
70 into = ['SUPERTAB4','SUPERTAB6','MASTER2','SIMAIL','SELAFIN','TRIGRID','ADCIRC','FASTTABS'],
72 fr = """Nom du mailleur utilise pour la creation du \telkey{FICHIER UNIVERSEL}.
75 \item SUPERTAB6 (version 6 du mailleur SUPERTAB),
76 \item SUPERTAB4 (version 4 du mailleur SUPERTAB),
77 \item MASTER2 (version 2 du mailleur MASTER-SERIES),
79 \item SELAFIN (afin de modifier un maillage deja utilise, comme pour :
81 \item interpoler de nouveau fonds
82 \item eliminer des dependances arrieres
83 \item coupe triangles surcontraints),
88 ang = """Name of the mesh generator used for preparing the \telkey{UNIVERSAL
89 FILE}. It will be selected among the following:
91 \item SUPERTAB6 (version 6 of SUPERTAB mesh generator),
92 \item SUPERTAB4 (version 4 of SUPERTAB mesh generator),
93 \item MASTER2 (version 2 of MASTER-SERIES mesh generator),
95 \item SELAFIN (in order to modify a mesh already used, as for example :
97 \item to interpolate a new bathymetry
98 \item to eliminate backward dependencies
99 \item to cut overstressed triangles ),
105 # -----------------------------------
106 b_MESH_GENERATORG = BLOC(condition="MESH_GENERATOR == 'TRIGRID'",
107 # -----------------------------------
108 # -----------------------------------
109 BOTTOM_CORRECTION_OF_TRIGRID = SIMP(statut ='o',
110 # -----------------------------------
113 fr = """Fixe la valeur a ajouter a la bathymetrie lue dans le fichier
114 gemere par Trigrid.""",
115 ang = """Value to be added at the bottom value read in the Trigrid file""",
118 # -----------------------------------
119 b_MESH_GENERATORH = BLOC(condition="MESH_GENERATOR in ['FASTTABS', 'TRIGRID']",
120 # -----------------------------------
121 # -----------------------------------
122 BATHYMETRY_IN_THE_UNIVERSAL_FILE = SIMP(statut ='o',
123 # -----------------------------------
126 fr = """Permet de relire la bathymetrie directement dans le fichier de
127 maillage (Trigrid ou Fasttabs).""",
128 ang = """The bathymetry will be read in the mesh file (Trigrid or Fasttabs).""",
130 # -----------------------------------
131 MESH_ADDITIONAL_DATA_FILE = SIMP(statut ='o',
132 # -----------------------------------
133 typ = ('Fichier','All Files (*)'),
135 fr = """Nom du fichier additionnel. Ce fichier a une signification
136 differente en fonction du mailleur choisi.
138 \item Trigrid : Fichier contenant la table de connectivites
140 \item Fasttabs : Fichier contenant les conditions limites (optionnel).
142 ang = """Name of the additionql file. The meaning of this file depend on the
143 type of mesh generator.
145 \item Trigrid : containing the connectivity table built (mandatory).
146 \item Fasttabs : boundary condition file built by Fasttabs (optional).
150 # -----------------------------------
151 b_MESH_GENERATORI = BLOC(condition="MESH_GENERATOR == 'FASTTABS'",
152 # -----------------------------------
153 # -----------------------------------
154 BOUNDARY_CONDITIONS_IN_THE_ADDITIONAL_FILE = SIMP(statut ='o',
155 # -----------------------------------
158 fr = """Permet de relire les conditions limites dans le fichier
159 additionnel (Fasttabs).""",
160 ang = """The boundary condition will be read in the additional file
163 # -----------------------------------
164 b_BOUNDARY_CONDITIONS_IN_THE_ADDITIONAL_FILEG = BLOC(condition="BOUNDARY_CONDITIONS_IN_THE_ADDITIONAL_FILE == True",
165 # -----------------------------------
166 # -----------------------------------
167 BOUNDARY_UNIVERSAL_FILE = SIMP(statut ='o',
168 # -----------------------------------
169 typ = ('Fichier','All Files (*)'),
171 fr = """Nom du fichier construit par le mailleur, a partir duquel \stbtel va
173 ang = """Name of the file created by the mesh generator, and from which \stbtel
178 # -----------------------------------
179 BINARY_STANDARD = SIMP(statut ='f',
180 # -----------------------------------
182 into = ['STD','IBM','I3E'],
184 fr = """Adapte l''ecriture du \telkey{FICHIER DE GEOMETRIE POUR TELEMAC} au
185 standard binaire choisi pour celui-ci. Ce peut etre :
187 \item IBM : binaire IBM,
188 \item I3E : binaire HP,
189 \item STD : prend par defaut le binaire de la machine sur laquelle
190 l''utilisateur travaille. Ce sont alors des ordres READ et
191 WRITE normaux qui sont utilises.
193 ang = """Matches the writing of the \telkey{GEOMETRY FILE FOR TELEMAC} to the
194 binary standard chosen for the latter. It will be selected among the
197 \item IBM: IBM binary,
198 \item I3E: HP binary,
199 \item STD: takes by default the binary on the computer with which
200 the user is working. The normal READ and WRITE commands
204 # -----------------------------------
205 UNIVERSAL_FILE = SIMP(statut ='o',
206 # -----------------------------------
207 typ = ('Fichier','All Files (*)'),
209 fr = """Nom du fichier construit par le mailleur, a partir duquel \stbtel va
211 ang = """Name of the file created by the mesh generator, and from which \stbtel
214 # -----------------------------------
215 GEOMETRY_FILE_FORMAT_FOR_TELEMAC = SIMP(statut ='o',
216 # -----------------------------------
218 into = ['','SERAFIN','SERAFIND','MED'],
220 fr = """Format du fichier qui contiendra le maillage, et qui servira pour
221 les calculs \telemac{2D}. Si aucun format n''est donné il prendra
222 soit le même format que le fichier universel si il est en
223 SERAFIN/SERAFIND sinon SERAFIN""",
224 ang = """Format of the file that will contain the mesh data,
225 and to be used in \telemac{2D} computations.
226 If no format is given it will take the format of the universal
227 file (if it is SERAFIN file) SERAFIN otherwise""",
229 # -----------------------------------
230 GEOMETRY_FILE_FOR_TELEMAC = SIMP(statut ='o',
231 # -----------------------------------
232 typ = ('Fichier','All Files (*)','Sauvegarde'),
234 fr = """Nom du fichier qui contiendra le maillage mis au format SELAFIN, et
235 qui servira pour les calculs \telemac{2D}.""",
236 ang = """Name of the file that will contain the mesh data to SELAFIN format,
237 and to be used in \telemac{2D} computations.""",
239 # -----------------------------------
240 BOUNDARY_CONDITIONS_FILE = SIMP(statut ='o',
241 # -----------------------------------
242 typ = ('Fichier','All Files (*)','Sauvegarde'),
244 fr = """Nom du fichier qui contiendra les conditions aux limites lues dans le
245 \telkey{FICHIER UNIVERSEL}, et qui servira pour les calculs
246 \telemac{2D}. (les conditions aux limites sont definies lors de la
247 realisation du maillage, au moyen de couleurs affectees aux noeuds des
248 frontieres du domaine de calcul).""",
249 ang = """Name of the file that will contain the boundary conditions being read
250 from the \telkey{UNIVERSAL FILE}, and to be used in \telemac{2D}
251 computations. (The boundary conditions are defined when preparing the
252 meshes, through colours that are allotted to the nodes of the
253 computation domain boundaries).""",
255 # -----------------------------------
256 OVERSTRESSED_TRIANGLES_CUTTING = SIMP(statut ='o',
257 # -----------------------------------
260 fr = """Un triangle surcontraint est tel que ses trois noeuds soient situes
261 sur une frontiere du domaine de calcul. La presence de tels triangles
262 peut entrainer des instabilites lors des calculs realises par
264 Cette option permet, en creant un noeud place au barycentre de des
265 triangles surcontraints, d''eviter de tels problemes.""",
266 ang = """An overstressed triangle is one whose three nodes are located along a
267 boundary of the computational domain. The occurrence of such triangles
268 may bring about instabilities in the computations made by TELEMAC 2D.
269 Such problems can be prevented by this option, through the creation of
270 a node at the geometric centres of the overstressed triangles.""",
272 # -----------------------------------
273 ELIMINATION_OF_BACKWARD_DEPENDENCIES = SIMP(statut ='o',
274 # -----------------------------------
277 fr = """Permet de renumeroter les noeuds du maillage de maniere a eliminer les
278 dependances arrieres et autoriser ainsi le forcage de la vectorisation
279 lorsque les calculs TELEMAC 2D son effectues sur CRAY.\\
280 \begin{WarningBlock}{Attention :}
281 Un nombre minimum d''environ 500 noeuds est requis pour
282 l''activation de cette option.
283 \end{WarningBlock}""",
284 ang = """Provides for renumbering of the mesh nodes in order to eliminate the
285 backward dependencies, thereby enabling a forced vectorisation when
286 the TELEMAC 2D computations are made on a CRAY.\\
287 \begin{WarningBlock}{Warning:}
288 About 500 nodes is the least number required for activating
290 \end{WarningBlock}""",
292 # -----------------------------------
293 NODES_RENUMBERING = SIMP(statut ='o',
294 # -----------------------------------
297 fr = """Permet d''utiliser le nouveau type de stockage des matrices.""",
298 ang = """Necessary to use the new storage scheme for the matrix.""",
300 # -----------------------------------
301 WRITING_NODE_COLOURS = SIMP(statut ='o',
302 # -----------------------------------
305 fr = """Option non activee.""",
306 ang = """Option not activated""",
308 # -----------------------------------
309 BOTTOM = FACT(statut='f',
310 # -----------------------------------
311 # -----------------------------------
312 MAXIMUM_NUMBER_OF_BATHYMETRIC_POINTS = SIMP(statut ='o',
313 # -----------------------------------
316 fr = """Permet de dimensionner le tableau utilise pour la lecture, dans les
317 \telkey{FICHIERS DES FONDS}, des points releves a la table a
319 ang = """Designed for dimensioning the array that is used for reading, in the
320 \telkey{BOTTOM TOPOGRAPHY FILES}, the points recorded at the digitizing
323 # -----------------------------------
324 MINIMUM_DISTANCE_AT_BOUNDARY = SIMP(statut ='o',
325 # -----------------------------------
328 fr = """L''interpolation de la bathymetrie sur les noeuds du maillage est
329 realisee de la facon suivante. Pour chaque noeud du maillage, on
330 decoupe le plan en 4 quadrans. Dans chacun de ces quadrans, on cherche
331 le point releve a la table a digitaliser le plus proche. On affecte
332 alors au noeud considere une profondeur correspondant a la moyenne,
333 ponderee par la distance a ce noeud, des profondeurs en chacun des 4
334 points precedemment trouves.\\
335 On verifie toutefois que, lors de la recherche des points, les
336 frontieres du domaine ne sont pas franchies, de maniere a ne pas
337 introduire d''aberration dans la bathymetrie.\\
338 Ce mot-cle permet alors de definir la distance minimale aux frontieres
339 du domaine en dessous de laquelle on refuse de prendre en compte les
341 ang = """The bathymetric data at the mesh nodes are interpolated. At each mesh
342 node, the plane is cut into 4 quadrants in each of which, among the
343 points recorded at the digitizing tablet, the closest one to the node
344 being considered is searched for.\\
345 This node is thenn given a depth corresponding to the mean depth at
346 each of the 4 points previously found, these depths being weighted
347 by the distance to the node.\\
348 When searching for the points in the quadrants, however, one shall
349 make sure the boundaries aare not overstepped in order to prevent
350 aberrations from being introduced into the bathymetric data.\\
351 The keyword can then be used for specifying the minimum distance to
352 the boundaries below which the recorded points should be ignored.""",
354 # -----------------------------------
355 BOTTOM_TOPOGRAPHY_FILES = SIMP(statut ='o',
356 # -----------------------------------
357 typ = ('Fichier','All Files (*)'),
359 fr = """Nom du fichier contenant la bathymetrie (au standard SINUSX), qui
360 servira pour la definition, par interpolation, de la profondeur en
361 chaque point du maillage.""",
362 ang = """Name of the file containing the bathymetric points (to SINUSX
363 standard), to be used, through interpolation, for defining the depth
364 at each point of the mesh.""",
366 # -----------------------------------
367 BOTTOM_TOPOGRAPHY_FILES_2 = SIMP(statut ='f',
368 # -----------------------------------
369 typ = ('Fichier','All Files (*)'),
371 fr = """Nom du fichier contenant la bathymetrie (au standard SINUSX), qui
372 servira pour la definition, par interpolation, de la profondeur en
373 chaque point du maillage.""",
374 ang = """Name of the file containing the bathymetric points (to SINUSX
375 standard), to be used, through interpolation, for defining the depth
376 at each point of the mesh.""",
378 # -----------------------------------
379 BOTTOM_TOPOGRAPHY_FILES_3 = SIMP(statut ='f',
380 # -----------------------------------
381 typ = ('Fichier','All Files (*)'),
383 fr = """Nom du fichier contenant la bathymetrie (au standard SINUSX), qui
384 servira pour la definition, par interpolation, de la profondeur en
385 chaque point du maillage.""",
386 ang = """Name of the file containing the bathymetric points (to SINUSX
387 standard), to be used, through interpolation, for defining the depth
388 at each point of the mesh.""",
390 # -----------------------------------
391 BOTTOM_TOPOGRAPHY_FILES_4 = SIMP(statut ='f',
392 # -----------------------------------
393 typ = ('Fichier','All Files (*)'),
395 fr = """Nom du fichier contenant la bathymetrie (au standard SINUSX), qui
396 servira pour la definition, par interpolation, de la profondeur en
397 chaque point du maillage.""",
398 ang = """Name of the file containing the bathymetric points (to SINUSX
399 standard), to be used, through interpolation, for defining the depth
400 at each point of the mesh.""",
402 # -----------------------------------
403 BOTTOM_TOPOGRAPHY_FILES_5 = SIMP(statut ='f',
404 # -----------------------------------
405 typ = ('Fichier','All Files (*)'),
407 fr = """Nom du fichier contenant la bathymetrie (au standard SINUSX), qui
408 servira pour la definition, par interpolation, de la profondeur en
409 chaque point du maillage.""",
410 ang = """Name of the file containing the bathymetric points (to SINUSX
411 standard), to be used, through interpolation, for defining the depth
412 at each point of the mesh.""",
415 # -----------------------------------
416 EXTRACTION = FACT(statut='f',
417 # -----------------------------------
418 # -----------------------------------
419 NUMBER_OF_VERTICES_OF_THE_POLYGON_TO_EXTRACT_THE_MESH = SIMP(statut ='o',
420 # -----------------------------------
423 fr = """Lorsque l''on souhaite extraire une partie du maillage, permet de
424 definir le nombre de sommets du polygone a l''interieur duquel le
425 maillage sera effectivement extrait.\\
426 \begin{WarningBlock}{Attention :}
427 Ce polygone doit etre convexe et les coordonnees des sommets donnes dans
428 l''ordre trigonometrique. \end{WarningBlock}""",
429 ang = """When you want to extract a piece of the mesh, this key-word fixes
430 the number of vertices of a polygon inside of which the mesh will be
432 \begin{WarningBlock}{Warning:}
433 This polygon should have a convex shape and the coordinates of the
434 vertices be given with an anti clock wise order.
435 \end{WarningBlock}""",
437 # -----------------------------------
438 b_NUMBER_OF_VERTICES_OF_THE_POLYGON_TO_EXTRACT_THE_MESHG = BLOC(condition="NUMBER_OF_VERTICES_OF_THE_POLYGON_TO_EXTRACT_THE_MESH > 0",
439 # -----------------------------------
440 # -----------------------------------
441 ABSCISSAE_OF_THE_VERTICES_OF_THE_POLYGON_TO_EXTRACT_THE_MESH = SIMP(statut ='o',
442 # -----------------------------------
443 typ = 'R', min=0, max='**',
444 defaut = [0,0,0,0,0,0,0,0,0],
445 fr = """Lorsque l''on souhaite extraire une partie du maillage,
446 permet de definir les abscisses des sommets du polygone a l''interieur
447 duquel le maillage sera effectivement extrait.
448 \begin{WarningBlock}{Attention :}
449 ce polygone doit etre convexe et les coordonnees des
450 sommets donnes dans l''ordre trigonometrique.
451 \end{WarningBlock}""",
452 ang = """When you want to extract a piece of the mesh, this key-word fixes
453 the abscissae of the vertices of a polygon inside of which the mesh
454 will be finally extracted.\\
455 \begin{WarningBlock}{Warning:}
456 This polygon should have a convex shape and the coordinates
457 of the vertices be given with an anti clock wise order.
458 \end{WarningBlock}""",
460 # -----------------------------------
461 ORDINATES_OF_THE_VERTICES_OF_THE_POLYGON_TO_EXTRACT_THE_MESH = SIMP(statut ='o',
462 # -----------------------------------
463 typ = 'R', min=0, max='**',
464 defaut = [0,0,0,0,0,0,0,0,0],
465 fr = """Lorsque l''on souhaite extraire une partie du maillage,
466 permet de definir les ordonnees des sommets du polygone a l''interieur
467 duquel le maillage sera effectivement extrait.\\
468 \begin{WarningBlock}{Attention :}
469 Ce polygone doit etre convexe et les coordonnees des
470 sommets donnes dans l''ordre trigonometrique.
471 \end{WarningBlock}""",
472 ang = """When you want to extract a piece of the mesh, this key-word fixes
473 the ordinates of the vertices of a polygon inside of which the mesh
474 will be finally extracted.\\
475 \begin{WarningBlock}{Warning:}
476 This polygon should have a convex shape and the coordinates
477 of the vertices be given with an anti clock wise order.
478 \end{WarningBlock}""",
480 # -----------------------------------
481 PROJECTION_AFTER_EXTRACTION = SIMP(statut ='o',
482 # -----------------------------------
483 typ = bool, min=0, max='**',
485 fr = """Lors d''une extraction de maillage suivant un polygone, projette ou
486 non le maillage extrait sur les aretes du polygone.""",
487 ang = """When a mesh is extracted inside a polygon, indicates whether the mesh
488 should be projected through the faces of the polygon or not.""",
492 # -----------------------------------
493 REFFINEMENT = FACT(statut='f',
494 # -----------------------------------
495 # -----------------------------------
496 CUTTING_ELEMENTS_IN_FOUR = SIMP(statut ='o',
497 # -----------------------------------
500 fr = """Decoupe chaque element du mayage en quatre elements homothetiques
501 en joignant les milieux des aretes.""",
502 ang = """Cuts every element of the mesh in four homothetic elements
503 by joigning the middle points of each side.""",
505 # -----------------------------------
506 NUMBER_OF_VERTICES_OF_THE_POLYGON_TO_REFINE_THE_MESH = SIMP(statut ='f',
507 # -----------------------------------
510 fr = """Lorsque l''on souhaite raffiner une partie du maillage,
511 permet de definir le nombre de sommets du polygone a l''interieur
512 duquel le maillage sera effectivement raffine.\\
513 \begin{WarningBlock}{Attention:}
514 Ce polygone doit etre convexe et les coordonnees des
515 sommets donnes dans l''ordre trigonometrique.
516 \end{WarningBlock}""",
517 ang = """When you want to refine a piece of the mesh, this key-word fixes
518 the number of vertices of a polygon inside of which the mesh will be
520 \begin{WarningBlock}{ATTENTION:}
521 This polygon should have a convex shape and the coordinates
522 of the vertices be given with an anti clock wise order.
523 \end{WarningBlock}""",
525 # -----------------------------------
526 b_NUMBER_OF_VERTICES_OF_THE_POLYGON_TO_REFINE_THE_MESHG = BLOC(condition="NUMBER_OF_VERTICES_OF_THE_POLYGON_TO_REFINE_THE_MESH > 0",
527 # -----------------------------------
528 # -----------------------------------
529 ABSCISSAE_OF_THE_VERTICES_OF_THE_POLYGON_TO_REFINE_THE_MESH = SIMP(statut ='o',
530 # -----------------------------------
531 typ = 'R', min=0, max='**',
532 defaut = [0,0,0,0,0,0,0,0,0],
533 fr = """Lorsque l''on souhaite raffiner une partie du maillage,
534 permet de definir les abscisses des sommets du polygone a l''interieur
535 duquel le maillage sera effectivement raffine.\\
536 \begin{WarningBlock}{Attention :}
537 ce polygone doit etre convexe et les coordonnees des
538 sommets donnes dans l''ordre trigonometrique.
539 \end{WarningBlock}""",
540 ang = """When you want to refine a piece of the mesh, this key-word fixes
541 the abscissae of the vertices of a polygon inside of which the mesh
542 will be finally refined.\\
543 \begin{WarningBlock}{Warning:}
544 This polygon should have a convex shape and the coordinates
545 of the vertices be given with an anti clock wise order.
546 \end{WarningBlock}""",
548 # -----------------------------------
549 ORDINATES_OF_THE_VERTICES_OF_THE_POLYGON_TO_REFINE_THE_MESH = SIMP(statut ='o',
550 # -----------------------------------
551 typ = 'R', min=0, max='**',
552 defaut = [0,0,0,0,0,0,0,0,0],
553 fr = """Lorsque l''on souhaite raffiner une partie du maillage,
554 permet de definir les ordonnees des sommets du polygone a l''interieur
555 duquel le maillage sera effectivement raffine.\\
556 \begin{WarningBlock}{Attention :}
557 ce polygone doit etre convexe et les coordonnees des
558 sommets donnes dans l''ordre trigonometrique.
559 \end{WarningBlock}""",
560 ang = """When you want to refine a piece of the mesh, this key-word fixes
561 the ordinates of the vertices of a polygon inside of which the mesh
562 will be finally refined.\\
563 \begin{WarningBlock}{Warning:}
564 This polygon should have a convex shape and the coordinates
565 of the vertices be given with an anti clock wise order.
566 \end{WarningBlock}""",
570 # -----------------------------------
571 DRY_ELEMENTS = FACT(statut='f',
572 # -----------------------------------
573 # -----------------------------------
574 DRY_ELEMENTS_ELIMINATION = SIMP(statut ='o',
575 # -----------------------------------
578 fr = """Lors du traitement d''un fichier de resultats issu de \telemac{2D},
579 permet d''activer l''elimination des elements secs.""",
580 ang = """When using a \telemac{2D} results file, this keyword activates the
581 dry elements elimination.""",
583 # -----------------------------------
584 PARTIALLY_DRY_ELEMENTS_ELIMINATION = SIMP(statut ='o',
585 # -----------------------------------
588 fr = """Lors de l''elimination des elements secs, permet de specifier si
589 on traite les elements parteillement secs (au moins un noeud sec).""",
590 ang = """When removing dry elements, specify if the partially dry elements are
591 treated (at least one dry node).""",
593 # -----------------------------------
594 DRY_LIMIT = SIMP(statut ='o',
595 # -----------------------------------
598 fr = """Fixe la valeur du seuil (en metre) de hauteur d''eau en dessous
599 duquel un noeud est considere comme sec.""",
600 ang = """Limit of water depth value (in meter) under which the node is
601 considered as dry node.""",
603 # -----------------------------------
604 STORAGE_OF_ALL_TIME_STEPS = SIMP(statut ='o',
605 # -----------------------------------
608 fr = """Lors du traitement d''elimination des elements secs, permet de
609 specifier si on restocke tous les pas de temps dans le fichier
611 ang = """When treating dry elements elimination, specify that
612 all time steps are to be stored in the results file.""",
616 # -----------------------------------------------------------------------
617 CONVERTER_INFO = PROC(nom= "CONVERTER_INFO",op = None,
618 # -----------------------------------------------------------------------
619 # -----------------------------------
620 DEBUG = SIMP(statut ='o',
621 # -----------------------------------
624 fr = """Permet d activer le mode debuggage.""",
625 ang = """Activate the debug mode.""",
627 # -----------------------------------
628 CONVERTER = SIMP(statut ='o',
629 # -----------------------------------
632 fr = """Permet d activer le module de conversion.""",
633 ang = """Activate the conversion module.""",
635 # -----------------------------------
636 INPUT = FACT(statut='o',
637 # -----------------------------------
638 # -----------------------------------
639 INPUT_FILE_FORMAT = SIMP(statut ='o',
640 # -----------------------------------
642 into = ['SERAFIN','SERAFIND','MED','UNV','CGNS'],
644 fr = """Specifie le format du fichier d entree""",
645 ang = """Specify input file format""",
647 # -----------------------------------
648 INPUT_FILE = SIMP(statut ='o',
649 # -----------------------------------
650 typ = ('Fichier','All Files (*)'),
652 fr = """Nom du fichier a convertir.""",
653 ang = """Name of the file to convert.""",
655 # -----------------------------------
656 BOUNDARY_FILE = SIMP(statut ='f',
657 # -----------------------------------
658 typ = ('Fichier','All Files (*)'),
660 fr = """Nom du fichier des conditions limites""",
661 ang = """Name of the boundary condition file""",
663 # -----------------------------------
664 LOG_FILE = SIMP(statut ='f',
665 # -----------------------------------
666 typ = ('Fichier','All Files (*)'),
668 fr = """Nom du fichier complementaire pour le format UNV""",
669 ang = """Name of the complementary file for the UNV format""",
671 # -----------------------------------
672 BOUNDARY_CONDITION_IN_SERAFIN_FORMAT = SIMP(statut ='o',
673 # -----------------------------------
676 fr = """Fichier de conditions limites dans le cas d''une conversion depuis
678 ang = """Boundary condition file when converting from SERAFIN.""",
681 # -----------------------------------
682 OUTPUT = FACT(statut='o',
683 # -----------------------------------
684 # -----------------------------------
685 OUTPUT_FILE_FORMAT = SIMP(statut ='o',
686 # -----------------------------------
688 into = ['SERAFIN','SERAFIND','MED','UNV','CGNS','VTK','CGNS'],
690 fr = """Specifie le format du fichier de sortie""",
691 ang = """Specify output file format""",
693 # -----------------------------------
694 OUTPUT_FILE = SIMP(statut ='o',
695 # -----------------------------------
696 typ = ('Fichier','All Files (*)','Sauvegarde'),
698 fr = """Nom du fichier converti""",
699 ang = """Name of the converted file""",
701 # -----------------------------------
702 OUTPUT_BOUNDARY_FILE = SIMP(statut ='f',
703 # -----------------------------------
704 typ = ('Fichier','All Files (*)','Sauvegarde'),
706 fr = """Nom du fichier des conditions limites pour le fichier converti""",
707 ang = """Name of the boundary file for the converted file""",
709 # -----------------------------------
710 OUTPUT_LOG_FILE = SIMP(statut ='f',
711 # -----------------------------------
712 typ = ('Fichier','All Files (*)','Sauvegarde'),
714 fr = """Nom du fichier complementaire pour le fichier converti""",
715 ang = """Name of the complementary file for the converted file""",
718 # -----------------------------------
719 TRANSLATION_INFO = FACT(statut='o',
720 # -----------------------------------
721 # -----------------------------------
722 TRANSLATION = SIMP(statut ='o',
723 # -----------------------------------
726 fr = """Permet d activer la translation de maillage.""",
727 ang = """Activate the translation of the mesh.""",
729 # -----------------------------------
730 b_TRANSLATIONG = BLOC(condition="TRANSLATION == True",
731 # -----------------------------------
732 # -----------------------------------
733 X_TRANSLATION = SIMP(statut ='o',
734 # -----------------------------------
737 fr = """Translation selon x""",
738 ang = """Translation on the x axes""",
740 # -----------------------------------
741 Y_TRANSLATION = SIMP(statut ='o',
742 # -----------------------------------
745 fr = """Translation selon y""",
746 ang = """Translation on the y axes""",
751 # -----------------------------------------------------------------------
752 SETTINGS = PROC(nom= "SETTINGS",op = None,
753 # -----------------------------------------------------------------------
754 # -----------------------------------
755 PARALLEL_PROCESSORS = SIMP(statut ='o',
756 # -----------------------------------
759 fr = """Nombre de processeurs en calcul parallele
761 \item 0 : 1 machine, compilation sans bibliotheque de parallelisme
762 \item 1 : 1 machine, compilation avec bibliotheque de parallelisme
763 \item 2 : 2 processeurs ou machines en parallele
766 ang = """Number of processors for parallel processing
768 \item 0 : 1 machine, compiling without parallel library
769 \item 1 : 1 machine, compiling with a parallel library
770 \item 2 : 2 processors or machines in parallel
774 # -----------------------------------
775 FORTRAN_FILE = SIMP(statut ='o',
776 # -----------------------------------
777 typ = ('Fichier','All Files (*)'),
779 fr = """Nom du fichier Fortran a soumettre.
780 Il ne sert a priori qu''a dimensionner les tableaux utilises par
781 \stbtel, mais peut contenir des sous-programmes modifies ou propres a
783 ang = """Name of Fortran file to be entered.
784 It is a priori only designed for dimensioning the arrays that are
785 used by \stbtel, but it may contain either modified or user-written
788 # -----------------------------------
789 VECTOR_LENGTH = SIMP(statut ='o',
790 # -----------------------------------
793 fr = """Permet de fixer, sur machine vectorielle, la longueur du vecteur.""",
794 ang = """Designed for dimensioning the vector length on vector machine.""",
797 # -----------------------------------------------------------------------
798 INTERNAL = PROC(nom= "INTERNAL",op = None,
799 # -----------------------------------------------------------------------
800 UIinfo = {"groupes": ("CACHE")},
801 # -----------------------------------
802 STEERING_FILE = SIMP(statut ='o',
803 # -----------------------------------
804 typ = ('Fichier','All Files (*)'),
806 fr = """Nom du fichier contenant les references des fichiers et les options
807 du calcul a realiser.""",
808 ang = """Name of the file that contains the file references and of options for
809 the computation to be made.""",
811 # -----------------------------------
812 DICTIONARY = SIMP(statut ='o',
813 # -----------------------------------
814 typ = ('Fichier','All Files (*)'),
815 defaut = 'stbtel.dico',
816 fr = """Dictionnaire des mots cles.""",
817 ang = """Key word dictionary.""",
822 Ordre_Des_Commandes = (
830 except Exception as excpt:
832 enum = source+'.stbtel_enum_auto'
833 dicoCasEn = source+'.stbtel_dicoCasEnToCata'
834 dicoCasFr = source+'.stbtel_dicoCasFrToCata'