Salome HOME
Revert "Merge branch 'yan/V8_3_BR' into pre/V8_3_BR"
[modules/hydrosolver.git] / src / salome_hydro / coupling1d2d / eficas / coupling1d2d_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 salome.hydro.coupling1d2d.eficas.appli import SalomeEntry
21 from Accas import *
22
23 JdC = JDC_CATA(regles = (UN_PARMI('COUPLAGE1D2D',)),
24                         )
25
26 COUPLAGE1D2D = PROC(
27     nom = "COUPLAGE1D2D", op = None,
28     fr = u"Définition d'un couplage Mascaret / Telemac2D",
29     ang = u"Definition of a Mascaret / Telemac2D coupling",
30     CAS_MASCARET = SIMP(statut = "o", typ = SalomeEntry,
31                         fr = u"Entrée Salome contenant le cas d'étude Mascaret",
32                         ang = u"Salome entry containing Mascaret study case"),
33     CAS_TELEMAC2D = SIMP(statut = "o", typ = SalomeEntry,
34                          fr = u"Entrée Salome contenant le cas d'étude Telemac2D",
35                          ang = u"Salome entry containing Telemac2D study case"),
36     FICHIER_COUPLAGE = SIMP(statut = "o", typ = ('Fichier', 'Fichiers Python (*.py);;Tous les fichiers (*)',),
37                             fr = u"Fichier de description du couplage",
38                             ang = u"Coupling description file"),
39     FICHIER_LOG = SIMP(statut = "o", typ = ('Fichier', 'Tous les fichiers (*)', "Sauvegarde"),
40                        fr = "Fichier de log",
41                        ang = u"Log file"),
42     FICHIER_GRAPHIQUE = SIMP(statut = "o",
43                              typ = ('Fichier', 'Fichiers CSV (*.csv);;Tous les fichiers (*)', "Sauvegarde"),
44                              fr = u"Fichier de données pour la génération du graphique",
45                              ang = u"Data file for the graphics generation"),
46 )
47 TEXTE_NEW_JDC="COUPLAGE1D2D()"