# -*- 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
execmodul = None,
regles = ( AU_MOINS_UN ( 'CRITERIA' ),
AU_MOINS_UN ( 'MODEL' ),
- AVANT ( ('DISTRIBUTION', 'MODEL'), 'VARIABLE' ),
+# AVANT ( ('DISTRIBUTION', 'MODEL'), 'VARIABLE' ),
# A_CLASSER ( 'VARIABLE', 'CORRELATION' ),
# A_CLASSER ( 'VARIABLE', 'CRITERIA' ),
# A_CLASSER ( 'CORRELATION', 'CRITERIA' ),
# 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",
ang = "Open TURNS library error level print",
),
-) # Fin PROC LOG
-# Ordre Catalogue LOG
+) # Fin PROC SIMULATION
+# Ordre Catalogue SIMULATION
# 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,
- op = 68,
+#VARIABLE2=OPER( nom= "VARIABLE2",
+
+#DISTRIBUTION = OPER ( nom = "DISTRIBUTION",
+VARIABLE2=OPER(nom="VARIABLE2",
+ sd_prod = variable,
+ #sd_prod = None,
+ op = None,
fr = "Definitions des lois marginales utilisees par les variables d'entree",
+ #VARIABLE = FACT (statut='f',max='**',
+ # NOM=SIMP(statut = "o", typ = "TXM",),
+#DISTRIBUTION= FACT(statut = "o",
#====
# Type de distribution
#====
),
fr = "Choix du type de la loi marginale",
ang = "1D marginal distribution",
+ defaut="Beta",
),
#====
val_min = 0.,
fr = "Parametre R de la loi | R > 0",
ang = "R parameter | R > 0",
+ defaut=1,
),
# T > R
val_min = 0.,
fr = "Parametre T de la loi | T > R",
ang = "T parameter | T > R",
+ defaut=2,
),
), # Fin BLOC RT_Parameters
# 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')),
), # Fin BLOC WEIBULL
+#), # Fin OPER DISTRIBUTION
+#), # Fin OPER DISTRIBUTION
) # Fin OPER DISTRIBUTION
-# Ordre Catalogue DISTRIBUTION
op = None,
fr = "Variable deterministe",
ang = "Deterministic variable",
+ UIinfo = {"groupes": ("CACHE")},
N = SIMP ( statut = 'o',
typ = "TXM",