1 # -*- coding: utf-8 -*-
3 # --------------------------------------------------
5 # --------------------------------------------------
10 class variable(ASSD ) : pass
14 JdC = JDC_CATA ( code = 'OPENTURNS_WRAPPER',
16 regles = ( AU_MOINS_UN ( 'WRAPPER' ), ),
19 # --------------------------------------------------
21 # --------------------------------------------------
24 #================================
25 # 2. Definition des variables
26 #================================
30 VARIABLE = OPER ( nom = "VARIABLE",
33 fr = "Definitions des lois marginales utilisees par les variables d'entree",
36 Type = SIMP ( statut = "o",
39 into = ( "in", "out", ),
41 fr = "variable d'entree ou de sortie du solver",
42 ang = "Input or Output variable",
45 Unit = SIMP ( statut = "f",
52 Comment = SIMP ( statut = "f",
59 Regexp = SIMP ( statut = "f",
62 fr = "Expression reguliere",
63 ang = "Regular expression",
66 Format = SIMP ( statut = "f",
69 fr = "Format d'ecriture",
74 ) # Fin FACT Variables
78 #================================
79 # Definition des parametres du wrapper
80 #================================
82 # Nota : les variables de type PROC doivent etre en majuscules !
83 WRAPPER = PROC ( nom = "WRAPPER",
86 fr = "Mise en donnee pour le fichier de configuration de OPENTURNS.",
87 ang = "Writes the configuration file for OPENTURNS.",
90 WrapperPath = SIMP ( statut = "o",
93 fr = "Chemin d acces au wrapper",
94 ang = "Wrapper library path",
97 FunctionName = SIMP ( statut = "o",
100 fr = "Nom de la fonction dans le wrapper",
101 ang = "Function's name in wrapper",
104 GradientName = SIMP ( statut = "f",
107 fr = "Nom du gradient dans le wrapper",
108 ang = "Gradient's name in wrapper",
111 HessianName = SIMP ( statut = "f",
114 fr = "Nom du hessian dans le wrapper",
115 ang = "Hessian's name in wrapper",
118 WrapCouplingMode = SIMP ( statut = "o",
121 into = ( "static-link", "dynamic-link", "fork", ),
123 fr = "Mode de couplage du solver",
124 ang = "Solver coupling mode",
127 Fork = BLOC ( condition = " WrapCouplingMode in ( 'fork', ) ",
129 Command = SIMP ( statut = "o",
132 fr = "Chemin du solver",
137 State = SIMP ( statut = "f",
140 into = ( "shared", "specific" ),
141 fr = "Partage de l'etat interne entre les fonctions",
142 ang = "Internal state sharing",
145 InDataTransfer = SIMP ( statut = "o",
148 into = ( "files", "arguments", ),
149 fr = "Mode de transfert des donnees d'entree",
150 ang = "Input transfering mode",
153 OutDataTransfer = SIMP ( statut = "o",
156 into = ( "files", "arguments", ),
157 fr = "Mode de transfert des donnees de sortie",
158 ang = "Output transfering mode",
164 Files = FACT ( statut = "f",
168 Id = SIMP ( statut = "o",
171 fr = "Identificateur du fichier",
175 Type = SIMP ( statut = "o",
178 into = ( "in", "out", ),
179 fr = "Fichier d entree ou de sortie du solveur ?",
180 ang = "Input or Output file ?",
183 Name = SIMP ( statut = "f",
186 fr = "Nom du fichier",
190 Path = SIMP ( statut = "o",
193 fr = "Chemin du fichier",
197 Subst = SIMP ( statut = "f",
200 fr = "Liste de variables",