]> SALOME platform Git repositories - tools/eficas.git/blobdiff - Openturns_Study/OpenTURNS_Cata_Study_V8.py
Salome HOME
gestion des listes et label sur 2
[tools/eficas.git] / Openturns_Study / OpenTURNS_Cata_Study_V8.py
index e19a5a3f481d9dfaad9dea82d431601445c585af..495447811a00f2609404c9492c0db31c9ad28d20 100644 (file)
@@ -1,4 +1,22 @@
 # -*- coding: iso-8859-1 -*-
+# Copyright (C) 2007-2013   EDF R&D
+#
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either
+# version 2.1 of the License.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+#
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+#
 
 # --------------------------------------------------
 # debut entete
@@ -68,16 +86,16 @@ JdC = JDC_CATA ( code = 'OPENTURNS_STUDY',
 # fin entete
 # --------------------------------------------------
 
-LOG = PROC ( nom = "LOG",
+SIMULATION = PROC ( nom = "SIMULATION",
              op = None,
              docu = "",
                
-  DebugMessages = SIMP ( statut = "o",
-                 typ = "TXM",
-                 into = ( 'yes', 'no' ),
                defaut = 'no',
-                 fr = "Affichage du niveau de debug de la bibliotheque Open TURNS",
-                 ang = "Open TURNS library debug level print",
+  FileName = SIMP ( statut = "o",
+                    typ = ('Fichier', 'Wrapper Files (*.csv);;All Files (*)',),
+                    fr = "Nom du modele physique",
),
+  SAMPLE = SIMP ( statut = "o",
+                 typ = "R",
                  ),
                
   WrapperMessages = SIMP ( statut = "o",
@@ -120,8 +138,8 @@ LOG = PROC ( nom = "LOG",
                  ang = "Open TURNS library error level print",
                  ),
                
-) # Fin PROC LOG
-# Ordre Catalogue LOG
+) # Fin PROC SIMULATION
+# Ordre Catalogue SIMULATION
 
 
 
@@ -133,12 +151,16 @@ LOG = PROC ( nom = "LOG",
 
 # Nota : les variables de type OPER doivent etre en majuscules !
 # Nota : les variables de type OPER doivent etre de premier niveau (pas imbriquees dans un autre type)
-DISTRIBUTION = OPER ( nom = "DISTRIBUTION",
-                      sd_prod = loi,
+VARIABLE2=OPER( nom= "VARIABLE2",
+             
+#DISTRIBUTION = OPER ( nom = "DISTRIBUTION",
+                      sd_prod = variable,
                       op = 68,
                       fr = "Definitions des lois marginales utilisees par les variables d'entree", 
                       
+NOM=SIMP(statut = "o", typ = "TXM",),
                       
+DISTRIBUTION= FACT(statut = "o",
 #====
 # Type de distribution
 #====
@@ -410,7 +432,7 @@ DISTRIBUTION = OPER ( nom = "DISTRIBUTION",
                        # Il faut definir une collection de couples ( x,p ) 
                        Values = SIMP ( statut = 'o',
                                        typ = Tuple(2),
-                                       max = '**',
+                                       #max = '**', 
                                        fr = "Liste de couples : largeur de classe, hauteur de classe",
                                        ang = "Class bandwidth, class height couple list",
                                        validators=VerifTypeTuple(('R','R')),
@@ -821,6 +843,7 @@ DISTRIBUTION = OPER ( nom = "DISTRIBUTION",
 
     ), # Fin BLOC WEIBULL
 
+), # Fin OPER DISTRIBUTION
 ) # Fin OPER DISTRIBUTION
 # Ordre Catalogue DISTRIBUTION