Salome HOME
merge BR_PORTING_SALOME_8
[modules/hydrosolver.git] / src / salome_hydro / pytel / eficas / pytel_cata.py
1 # -*- coding: utf-8 -*-
2 #
3 #  Copyright (C) 2012-2013 EDF
4 #
5 #  This file is part of SALOME HYDRO module.
6 #
7 #  SALOME HYDRO module is free software: you can redistribute it and/or modify
8 #  it under the terms of the GNU General Public License as published by
9 #  the Free Software Foundation, either version 3 of the License, or
10 #  (at your option) any later version.
11 #
12 #  SALOME HYDRO module is distributed in the hope that it will be useful,
13 #  but WITHOUT ANY WARRANTY; without even the implied warranty of
14 #  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15 #  GNU General Public License for more details.
16 #
17 #  You should have received a copy of the GNU General Public License
18 #  along with SALOME HYDRO module.  If not, see <http://www.gnu.org/licenses/>.
19
20 from Accas import *
21
22 codelist = ("artemis", "estel3d", "postel3d", "sisyphe", "stbtel", "telemac2d", "telemac3d", "tomawac")
23
24 JdC = JDC_CATA(regles = (UN_PARMI('PYTEL',)),
25                         )
26 PYTEL = PROC(
27     nom = "PYTEL", op = None,
28     fr = u"Définition d'un cas pour le lanceur Pytel",
29     ang = u"Definition of a case for the Pytel launcher",
30     CODE = SIMP(statut = "o", typ = "TXM", into = codelist, defaut = "telemac2d",
31                 fr = u"Code à exécuter",
32                 ang = u"Code to run"),
33     FICHIER_CAS = SIMP(statut = "o", typ = 'Fichier',
34                        fr = u"Fichier de description du cas",
35                        ang = u"Case description file"),
36     REPERTOIRE_TRAVAIL = SIMP(statut = "f", typ = 'Repertoire',
37                               fr = u"Répertoire de travail",
38                               ang = u"Working directory"),
39 )