From a4a2671ca2c3203654565e1ae2495084307beec7 Mon Sep 17 00:00:00 2001 From: "pascale.noyret" Date: Tue, 12 Jan 2021 18:08:19 +0100 Subject: [PATCH] reacteur numerique v0 --- Accas/A_BLOC.py | 5 +- Accas/A_ETAPE.py | 5 +- Accas/A_FACT.py | 5 +- Accas/A_JDC.py | 7 +- Accas/A_JDC_CATA.py | 5 +- Accas/A_MACRO_ETAPE.py | 4 +- Accas/A_MCBLOC.py | 5 +- Accas/A_MCFACT.py | 5 +- Accas/A_MCLIST.py | 6 +- Accas/A_MCSIMP.py | 6 +- Accas/A_OPER.py | 5 +- Accas/A_PROC.py | 7 +- Accas/A_PROC_ETAPE.py | 4 +- Accas/A_SIMP.py | 5 +- Accas/CMakeLists.txt | 32 - Adao/ADAO_Cata_V0_V7_7_0.py | 1261 - Adao/ADAO_Cata_V0_V8_3_0_DEV.py | 1270 - Adao/README_CATALOGUE.txt | 4 - Adao/configuration_Adao.py | 64 - Adao/monCode_Cata.py | 25 - Adao/prefs.py | 22 - Adao/prefs_Adao.py | 36 - Adao/properties.py | 5 - Adao/qtDico.py | 37 - Adao/qtEficas_Adao.py | 35 - Aide/CMakeLists.txt | 39 - Aide/eficas_OPENTURNS_STUDY.adp | 5 - Aide/fichiers_ASTER/CMakeLists.txt | 34 - Aide/fichiers_ASTER/INSTALL.txt | 52 - Aide/fichiers_ASTER/NEWS.txt | 107 - Aide/fichiers_ASTER/cata.txt | 29 - Aide/fichiers_ASTER/faqs.txt | 59 - Aide/fichiers_ASTER/includes.txt | 49 - Aide/fichiers_ASTER/index.html | 19 - Aide/fichiers_OPENTURNS_STUDY/CMakeLists.txt | 34 - Aide/fichiers_OPENTURNS_STUDY/EficasGui.txt | 38 - .../UncertaintyStudy.txt | 190 - Aide/fichiers_OPENTURNS_STUDY/index.html | 17 - CMakeLists.txt | 157 - CMakeModules/FindOpenTURNS.cmake | 235 - CMakeModules/FindSphinx.cmake | 11 - Carmel3D/CMakeLists.txt | 33 - Carmel3D/Carmel3D_Cata_V0.py | 553 - Carmel3D/Carmel3D_Cata_frequentiel_V0.py | 552 - Carmel3D/Carmel3D_Cata_frequentiel_V1.py | 903 - Carmel3D/E24 | 13 - Carmel3D/FEV1000 | 31 - Carmel3D/FEV470 | 31 - Carmel3D/FEV600 | 31 - Carmel3D/FEV800 | 30 - Carmel3D/HA600 | 30 - Carmel3D/M600_65 | 30 - Carmel3D/M6X2ISO1 | 16 - Carmel3D/M6X_epsilon.mater | 1 - Carmel3D/M6X_homog_mu.mater | 1 - Carmel3D/M6X_homog_sigma.mater | 1 - Carmel3D/M6X_lineaire_mu.mater | 1 - Carmel3D/M6X_lineaire_sigma.mater | 1 - Carmel3D/M6X_mu.mater | 22 - Carmel3D/__init__.py | 1 - Carmel3D/ajoutGroupe.py | 203 - Carmel3D/configuration_CARMEL3D.py | 43 - Carmel3D/materiaux/ACIER_TEAM13 | 28 - Carmel3D/materiaux/CMakeLists.txt | 35 - Carmel3D/materiaux/E24 | 13 - Carmel3D/materiaux/FEV1000 | 31 - Carmel3D/materiaux/FEV470 | 31 - Carmel3D/materiaux/FEV600 | 31 - Carmel3D/materiaux/FEV800 | 30 - Carmel3D/materiaux/HA600 | 30 - Carmel3D/materiaux/M600_65 | 30 - Carmel3D/materiaux/M6X2ISO1 | 16 - Carmel3D/materiaux/M6X_epsilon.mater | 1 - Carmel3D/materiaux/M6X_homogene_mu.mater | 1 - Carmel3D/materiaux/M6X_homogene_sigma.mater | 1 - Carmel3D/materiaux/M6X_lineaire_mu.mater | 1 - Carmel3D/materiaux/M6X_lineaire_sigma.mater | 1 - Carmel3D/materiaux/M6X_mu.mater | 22 - Carmel3D/materiaux/M6X_sigma.mater | 0 Carmel3D/materiaux/materiaux.comm | 270 - Carmel3D/opsCarmel.py | 38 - Carmel3D/prefs.py | 22 - Carmel3D/prefs_CARMEL3D.py | 39 - Carmel3D/properties.py | 25 - Carmel3D/qtEficas_Carmel3D.py | 33 - Carmel3D/style.py | 66 - Doc/CMakeLists.txt | 38 - Doc/Makefile | 153 - Doc/ajouter_une_commande.rst | 88 - Doc/color_chart.rst | 24 - Doc/commentaires_parametres.rst | 46 - Doc/conf.py | 139 - Doc/eficas_icons.rst | 28 - Doc/eficas_in_salome.rst | 40 - Doc/eficas_notions.rst | 67 - Doc/eficas_presentation.rst | 26 - Doc/eficas_rules.rst | 119 - Doc/images/ArbreSalome.png | Bin 24252 -> 0 bytes Doc/images/ChoixCata.png | Bin 16091 -> 0 bytes Doc/images/ChoixCode.png | Bin 26544 -> 0 bytes Doc/images/ChoixCommande.png | Bin 58117 -> 0 bytes Doc/images/CommandeBouton.png | Bin 2416 -> 0 bytes Doc/images/Commentaire.png | Bin 19364 -> 0 bytes Doc/images/DataMenu.png | Bin 13184 -> 0 bytes Doc/images/DblClickOnOptional.png | Bin 11895 -> 0 bytes Doc/images/Documentation1.png | Bin 65807 -> 0 bytes Doc/images/DoubleFleche.png | Bin 1314 -> 0 bytes Doc/images/Duplication.png | Bin 12436 -> 0 bytes Doc/images/Erreur.png | Bin 39934 -> 0 bytes Doc/images/FichiersEtRepertoires.png | Bin 20856 -> 0 bytes Doc/images/FiltreCommande.png | Bin 17388 -> 0 bytes Doc/images/FindConcept.png | Bin 24458 -> 0 bytes Doc/images/GererFichiers.png | Bin 54558 -> 0 bytes Doc/images/GererMCS.png | Bin 138436 -> 0 bytes Doc/images/Groupes.png | Bin 101454 -> 0 bytes Doc/images/Icons.png | Bin 46044 -> 0 bytes Doc/images/Import.png | Bin 43907 -> 0 bytes Doc/images/LctDsSalome.png | Bin 34440 -> 0 bytes Doc/images/ListeEtTuple.png | Bin 292737 -> 0 bytes Doc/images/Main.png | Bin 151547 -> 0 bytes Doc/images/Matrice.png | Bin 23917 -> 0 bytes Doc/images/Menus.png | Bin 10877 -> 0 bytes Doc/images/Multi.png | Bin 9525 -> 0 bytes Doc/images/NomPython.png | Bin 80202 -> 0 bytes Doc/images/NommerObjet.png | Bin 99724 -> 0 bytes Doc/images/Nouveau.png | Bin 29788 -> 0 bytes Doc/images/OptionnelCommande.png | Bin 28755 -> 0 bytes Doc/images/OptionnelCommande1.png | Bin 36641 -> 0 bytes Doc/images/OptionnelParametersAdao.png | Bin 31844 -> 0 bytes Doc/images/OptionnelParametersAdao1.png | Bin 42806 -> 0 bytes Doc/images/Ordre.png | Bin 88864 -> 0 bytes Doc/images/Ouvrir.png | Bin 69340 -> 0 bytes Doc/images/Parametres.png | Bin 35398 -> 0 bytes Doc/images/Parametres1.png | Bin 30068 -> 0 bytes Doc/images/Parametres2.png | Bin 24958 -> 0 bytes Doc/images/Poubelle.png | Bin 759 -> 0 bytes Doc/images/Recents.png | Bin 93240 -> 0 bytes Doc/images/Regles.png | Bin 63729 -> 0 bytes Doc/images/Roue.png | Bin 24930 -> 0 bytes Doc/images/Run.png | Bin 10689 -> 0 bytes Doc/images/SalomePylone.png | Bin 33557 -> 0 bytes Doc/images/SalomePyloneSE.png | Bin 106207 -> 0 bytes Doc/images/Scripts.png | Bin 25370 -> 0 bytes Doc/images/SelectAllInList.png | Bin 3749 -> 0 bytes Doc/images/ShowAllValues.png | Bin 22828 -> 0 bytes Doc/images/TPXO.png | Bin 21642 -> 0 bytes Doc/images/ToolTipOnButton.png | Bin 10674 -> 0 bytes Doc/images/ToolTipOnLabel.png | Bin 18683 -> 0 bytes Doc/images/ToolTipOnLineEdit.png | Bin 12323 -> 0 bytes Doc/images/ToolTipOnRed.png | Bin 33602 -> 0 bytes Doc/images/Zero.png | Bin 16405 -> 0 bytes Doc/index.rst | 35 - Doc/lancer_eficas.rst | 33 - Doc/nouveau_JDC.rst | 79 - Doc/parametrer_une_commande.rst | 171 - Doc/python_rules.rst | 39 - Doc/widgetInDetails.rst | 70 - Editeur/CMakeLists.txt | 33 - Editeur/Patrons/CMakeLists.txt | 44 - Efi2Xsd/AccasXsd.py | 281 - Efi2Xsd/CMakeLists.txt | 32 - Efi2Xsd/MCAccasXsd.py | 408 - .../Model Efficas (1.1) v6 ext.xsd | 58 - .../ModeleEficas/Model Efficas (1.1) v6.xsd | 732 - .../Model Efficas (1.1) v7 ext.xsd | 56 - .../ModeleEficas/Model Efficas (1.1) v7.xsd | 731 - .../Model Efficas (1.1) v8 ext.xsd | 56 - .../ModeleEficas/Model Efficas (1.1) v8.xsd | 724 - .../Model Efficas (1.1) v9 ext.xsd | 55 - .../ModeleEficas/Model Efficas (1.1) v9.xsd | 741 - Efi2Xsd/README.txt | 7 - Efi2Xsd/ReadMe.txt | 7 - Efi2Xsd/ReadmeFichiers.txt | 17 - Efi2Xsd/XMLSchema(1.1)_efv1.xsd | 1901 - Efi2Xsd/XSL/Eficas2Xsd.xslt | 789 - Efi2Xsd/XSL/MED_FAM_gen.xsd | 82 - Efi2Xsd/XSL/MED_FAM_v2_gen.xsd | 158 - .../XSL/MappingMapToXMLSchema_1_1__ef.xslt | 789 - Efi2Xsd/XSL/Saxon.cmd | 1 - Efi2Xsd/__init__.py | 19 - Efi2Xsd/balises.py | 53 - Efi2Xsd/efficas.py | 2 - Efi2Xsd/introspect.py | 109 - Efi2Xsd/mapDesTypes.py | 122 - Efi2Xsd/readerEfiXsd.py | 310 - EssaiInit/Cata_MED_FAM.xml | 28 - EssaiInit/Cata_MED_FAM.xml.mini | 28 - EssaiInit/Cata_MED_FAM.xml.origin | 28 - EssaiInit/README.txt | 1 - EssaiInit/aide1 | 256 - EssaiInit/efficas.py | 2 - EssaiInit/model.xsd | 595 - EssaiInit/raw/__init__.py | 0 EssaiInit/raw/efficas.py | 2685 -- EssaiInit/readerEfficas.py | 129 - Extensions/CMakeLists.txt | 32 - Ihm/CMakeLists.txt | 32 - Ihm/I_MCSIMP.py | 43 +- InterfaceQT4/monWidgetMatrice.py | 209 +- MAP/CMakeLists.txt | 35 - MAP/configuration_MAP.py | 60 - MAP/mapcata.py | 2283 - MAP/prefs.py | 22 - MAP/prefs_MAP.py | 59 - MAP/properties.py | 24 - MAP/qtEficas_map.py | 36 - MAP/style.py | 19 - MED/CataAZ.py | 210 - MED/Elementary_Lists_52996_Cata.py | 86 - MED/Elementary_Lists_53000_Cata.py | 52 - MED/Elementary_Lists_53013_Cata.py | 59 - MED/Elementary_Lists_53036_Cata.py | 59 - MED/Elementary_Lists_Cata.py | 59 - MED/Global_Condition_Cata.py | 53 - MED/Many_Concepts_52983_Cata.py | 39 - MED/Many_Concepts_52988_Cata.py | 76 - MED/Many_Concepts_52989_Cata.py | 77 - MED/Many_Concepts_52992_Cata.py | 76 - MED/Matrix_Cata.py | 87 - MED/Nested_Cond_52945_Cata.py | 61 - MED/Nested_Cond_52946_Cata.py | 62 - MED/Nested_Cond_52947_Cata.py | 17 - MED/Nested_Cond_52948_Cata.py | 21 - MED/Nested_Cond_52949_Cata.py | 19 - MED/Nested_Cond_52952_Cata.py | 60 - MED/Separate_Blocks_52958_Cata.py | 29 - MED/Separate_Blocks_52963_Cata.py | 40 - MED/Separate_Blocks_52966_Cata.py | 48 - MED/Separate_Blocks_52972_Cata.py | 66 - MED/Separate_Blocks_52975_Cata.py | 66 - MED/a | 110 - MED/cata_diapo.py | 48 - MED/cata_med.py | 29 - MED/configuration_MED.py | 43 - MED/images/essaiAster.png | Bin 11576 -> 0 bytes MED/items_integer_space.txt | 2 - MED/monCode_qtEficas.py | 33 - MED/prefs_MED.py | 48 - MED/prefs_monCode.py | 68 - MED/properties.py | 24 - MED/qtEficas_AZ.py | 32 - MED/qtEficas_Med.py | 32 - MED/typescript | 34 - MT/MT_Cata_V1.py | 944 - MT/MT_Cata_V2016.py | 1065 - MT/MT_Cata_V2020.py | 1041 - MT/configuration_MT.py | 43 - MT/images/443-3.jpg | Bin 7303 -> 0 bytes MT/images/Bouquet_PN.jpg | Bin 3573159 -> 0 bytes MT/images/__init__.py | 2 - MT/images/cymbidium-atropurpureum-f2.jpg | Bin 14798 -> 0 bytes MT/images/dicoDesIcones.py | 8 - MT/images/images.jpeg | Bin 9279 -> 0 bytes MT/images/rose.JPG | Bin 3488748 -> 0 bytes MT/mesScripts_MT.py | 70 - MT/prefs.py | 22 - MT/properties.py | 24 - MT/reecrit_comm.py_VOprofile.py | 58 - MT/sdll124a.machine | 207 - MT/txtZone.py | 227 - MT/txtZonePN.py | 227 - Noyau/CMakeLists.txt | 32 - OldCodes/Aster/CMakeLists.txt | 36 - OldCodes/Aster/Cata/CMakeLists.txt | 39 - OldCodes/Aster/Cata/__init__.py | 19 - OldCodes/Aster/Cata/cataSTA11/__init__.py | 18 - OldCodes/Aster/Cata/cataSTA11/cata.py | 34413 ---------------- OldCodes/Aster/Cata/cataSTA11/ops.py | 507 - OldCodes/Aster/INSTALL | 40 - OldCodes/Aster/Include.com | 2 - OldCodes/Aster/LICENSE.TERMS | 21 - OldCodes/Aster/NEWS | 53 - OldCodes/Aster/README | 2 - OldCodes/Aster/Tests/README | 8 - OldCodes/Aster/Tests/Recette/az.comm | 119 - OldCodes/Aster/Tests/Recette/efica01a.11 | 19 - OldCodes/Aster/Tests/Recette/efica01a.com0 | 49 - OldCodes/Aster/Tests/Recette/efica01a.comm | 275 - OldCodes/Aster/Tests/d0.comm | 6 - OldCodes/Aster/Tests/err.comm | 39 - OldCodes/Aster/Tests/err2.comm | 18 - OldCodes/Aster/Tests/err3.comm | 60 - OldCodes/Aster/Tests/incl.11 | 3 - OldCodes/Aster/Tests/incl.12 | 1 - OldCodes/Aster/Tests/incl.13 | 1 - OldCodes/Aster/Tests/incl.14 | 1 - OldCodes/Aster/Tests/incl.15 | 1 - OldCodes/Aster/Tests/incl.16 | 1 - OldCodes/Aster/Tests/incl.17 | 15 - OldCodes/Aster/Tests/incl.25 | 1 - OldCodes/Aster/Tests/incl1.comm | 3 - OldCodes/Aster/Tests/inclmat.comm | 9 - OldCodes/Aster/Tests/inclmat2.comm | 14 - OldCodes/Aster/Tests/j0.comm | 6 - OldCodes/Aster/Tests/j1.comm | 2 - OldCodes/Aster/Tests/j1.ini | 5 - OldCodes/Aster/Tests/j2.ini | 20 - OldCodes/Aster/Tests/jdc.ini | 17 - OldCodes/Aster/Tests/p0.comm | 2 - OldCodes/Aster/Tests/p1.comm | 6 - OldCodes/Aster/Tests/p2.comm | 6 - OldCodes/Aster/Tests/p3.comm | 7 - OldCodes/Aster/Tests/perr.comm | 5 - OldCodes/Aster/Tests/perr2.comm | 3 - OldCodes/Aster/Tests/pincl.11 | 1 - OldCodes/Aster/Tests/pp.comm | 2 - OldCodes/Aster/Tests/princ.comm | 16 - OldCodes/Aster/Tests/princ.ini | 20 - OldCodes/Aster/Tests/princl.11 | 3 - OldCodes/Aster/Tests/princl.12 | 15 - OldCodes/Aster/Tests/princl.14 | 11 - OldCodes/Aster/Tests/princl.35 | 5 - OldCodes/Aster/Tests/qincl.11 | 1 - OldCodes/Aster/Tests/rincl.11 | 1 - OldCodes/Aster/Tests/torsion.comm | 340 - OldCodes/Aster/__init__.py | 19 - OldCodes/Aster/a.dat | 3 - OldCodes/Aster/alphasdist.py | 147 - OldCodes/Aster/configuration_ASTER.py | 42 - OldCodes/Aster/eficasManager.py | 117 - OldCodes/Aster/eficas_aster.py | 35 - OldCodes/Aster/lance_test.sh | 43 - OldCodes/Aster/prefs.py | 22 - OldCodes/Aster/prefs.py.win | 101 - OldCodes/Aster/prefs_ASTER.py | 66 - OldCodes/Aster/properties.py | 21 - OldCodes/Aster/qtEficas_aster.py | 32 - OldCodes/Aster/qtGroup.py | 36 - OldCodes/Aster/reecrit_comm.py | 45 - OldCodes/Aster/sdist.py | 180 - OldCodes/Aster/style.py | 84 - OldCodes/Aster/test_eficas.py | 45 - OldCodes/CarmelCND/CMakeLists.txt | 31 - OldCodes/CarmelCND/CarmelCND_Cata.py | 75 - OldCodes/CarmelCND/PourTraductionCarmel.py | 21 - OldCodes/CarmelCND/PrepareRunCarmel.py | 24 - OldCodes/CarmelCND/acquiertGroupes.py | 123 - OldCodes/CarmelCND/configuration_CARMELCND.py | 43 - OldCodes/CarmelCND/prefs.py | 22 - OldCodes/CarmelCND/prefs_CARMELCND.py | 43 - OldCodes/CarmelCND/qtEficas_CarmelCND.py | 32 - OldCodes/CarmelCS/CMakeLists.txt | 31 - OldCodes/CarmelCS/CarmelCS_cata.py | 25 - OldCodes/CarmelCS/configuration_CARMELCS.py | 43 - OldCodes/CarmelCS/pilotyacsCS.py | 40 - OldCodes/CarmelCS/prefs.py | 22 - OldCodes/CarmelCS/prefs_CARMELCS.py | 45 - OldCodes/CarmelCS/qtEficas_CarmelCS.py | 33 - OldCodes/Openturns_Study/CMakeLists.txt | 37 - .../OpenTURNS_Cata_Study_V1.py | 1436 - .../OpenTURNS_Cata_Study_V10.py | 60 - .../OpenTURNS_Cata_Study_V2.py | 1486 - .../OpenTURNS_Cata_Study_V3.py | 1598 - .../OpenTURNS_Cata_Study_V4.py | 1630 - .../OpenTURNS_Cata_Study_V5.py | 1528 - .../OpenTURNS_Cata_Study_V6.py | 1726 - .../OpenTURNS_Cata_Study_V7.py | 1726 - .../OpenTURNS_Cata_Study_V7.py.orig | 1719 - .../OpenTURNS_Cata_Study_V8.py | 1748 - .../OpenTURNS_Cata_Study_V9.py | 1718 - .../configuration_OPENTURNS_STUDY.py | 59 - OldCodes/Openturns_Study/opsOT.py | 38 - OldCodes/Openturns_Study/prefs.py | 22 - .../Openturns_Study/prefs_OPENTURNS_STUDY.py | 56 - OldCodes/Openturns_Study/properties.py | 25 - .../qtEficas_openturns_study.py | 33 - OldCodes/Openturns_Study/sdistOTqt.py | 103 - OldCodes/Openturns_Study/style.py | 1 - .../Openturns_Study/test/MinMax_ExpPlane.comm | 17 - .../Openturns_Study/test/MinMax_ExpPlane.py | 68 - .../test/MinMax_RandomSampling.comm | 30 - OldCodes/Openturns_Wrapper/CMakeLists.txt | 36 - .../OpenTURNS_Cata_Wrapper_V1.py | 216 - .../OpenTURNS_Cata_Wrapper_V2.py | 206 - .../OpenTURNS_Cata_Wrapper_V3.py | 301 - .../OpenTURNS_Cata_Wrapper_V4.py | 326 - .../configuration_OPENTURNS_WRAPPER.py | 59 - OldCodes/Openturns_Wrapper/prefs.py | 23 - .../prefs_OPENTURNS_WRAPPER.py | 55 - OldCodes/Openturns_Wrapper/properties.py | 25 - .../qtEficas_openturns_wrapper.py | 36 - OldCodes/Openturns_Wrapper/sdistOTqt.py | 103 - OldCodes/Openturns_Wrapper/style.py | 1 - OldCodes/PSEN_N1/PSEN_Cata_N1.py | 199 - OldCodes/PSEN_N1/configuration_PSEN_N1.py | 43 - OldCodes/PSEN_N1/mesScripts_PSEN_N1.py | 56 - OldCodes/PSEN_N1/opsPSEN_N1.py | 112 - OldCodes/PSEN_N1/prefs.py | 22 - OldCodes/PSEN_N1/prefs_PSEN_N1.py | 41 - OldCodes/PSEN_N1/properties.py | 24 - OldCodes/PSEN_N1/qtEficas_PSEN_N1.py | 34 - OldCodes/PSEN_N1/run.py | 15 - OldCodes/Sep/CMakeLists.txt | 33 - OldCodes/Sep/SEP_Cata_V0.py | 114 - OldCodes/Sep/SEP_Cata_V1.py | 127 - OldCodes/Sep/SEP_Cata_V1_2.py | 127 - OldCodes/Sep/SEP_Cata_V1_3.py | 126 - OldCodes/Sep/SEP_Cata_V1_4.py | 150 - OldCodes/Sep/__init__.py | 19 - OldCodes/Sep/catalogues_sep.ini | 14 - OldCodes/Sep/configuration_SEP.py | 50 - OldCodes/Sep/editeur.ini | 44 - OldCodes/Sep/prefs.py | 62 - OldCodes/Sep/prefs_SEP.py | 35 - OldCodes/Sep/properties.py | 24 - OldCodes/Sep/qtEficas_SEP.py | 30 - OldCodes/Sep/sdistSEP.py | 99 - OldCodes/Sep/style.py | 66 - OldCodes/UiQT4/CMakeLists.txt | 111 - OldCodes/UiQT4/Newdoc.tgz | Bin 6885287 -> 0 bytes OldCodes/UiQT4/Tuple2.ui | 149 - OldCodes/UiQT4/Tuple3.ui | 164 - OldCodes/UiQT4/desBaseWidget.ui | 92 - OldCodes/UiQT4/desChoixCata.ui | 201 - OldCodes/UiQT4/desChoixCode.ui | 155 - OldCodes/UiQT4/desChoixCommandes.ui | 449 - OldCodes/UiQT4/desChoixLangue.ui | 125 - OldCodes/UiQT4/desGroupeOptionnel.ui | 130 - OldCodes/UiQT4/desRecherche.ui | 75 - OldCodes/UiQT4/desRechercheCatalogue.ui | 85 - OldCodes/UiQT4/desSelectVal.ui | 268 - OldCodes/UiQT4/desViewRegles.ui | 72 - OldCodes/UiQT4/desViewTexte.ui | 53 - OldCodes/UiQT4/desVisu.ui | 39 - OldCodes/UiQT4/desWidget4a6RadioButton.ui | 376 - OldCodes/UiQT4/desWidgetBloc.ui | 45 - OldCodes/UiQT4/desWidgetCB.ui | 314 - OldCodes/UiQT4/desWidgetCommande.ui | 715 - OldCodes/UiQT4/desWidgetCommentaire.ui | 540 - OldCodes/UiQT4/desWidgetCreeParam.ui | 245 - OldCodes/UiQT4/desWidgetDate.ui | 283 - OldCodes/UiQT4/desWidgetFact.ui | 444 - OldCodes/UiQT4/desWidgetFactPlie.ui | 221 - OldCodes/UiQT4/desWidgetFormule.ui | 709 - OldCodes/UiQT4/desWidgetHeure.ui | 256 - OldCodes/UiQT4/desWidgetInactif.ui | 471 - OldCodes/UiQT4/desWidgetInformation.ui | 106 - OldCodes/UiQT4/desWidgetMatrice.ui | 191 - OldCodes/UiQT4/desWidgetOptionnel.ui | 190 - OldCodes/UiQT4/desWidgetOptionnelMC.ui | 127 - OldCodes/UiQT4/desWidgetParam.ui | 635 - OldCodes/UiQT4/desWidgetPlusieursBase.ui | 842 - OldCodes/UiQT4/desWidgetPlusieursInto.ui | 613 - .../UiQT4/desWidgetPlusieursIntoOrdonne.ui | 838 - OldCodes/UiQT4/desWidgetPlusieursPlie.ui | 330 - OldCodes/UiQT4/desWidgetPlusieursTuple.ui | 668 - OldCodes/UiQT4/desWidgetRadioButton.ui | 342 - OldCodes/UiQT4/desWidgetSDCOInto.ui | 360 - OldCodes/UiQT4/desWidgetSimpBase.ui | 304 - OldCodes/UiQT4/desWidgetSimpBool.ui | 300 - OldCodes/UiQT4/desWidgetSimpComplexe.ui | 390 - OldCodes/UiQT4/desWidgetSimpFichier.ui | 374 - OldCodes/UiQT4/desWidgetSimpSalome.ui | 373 - OldCodes/UiQT4/desWidgetSimpTxt.ui | 304 - OldCodes/UiQT4/desWidgetTuple2.ui | 345 - OldCodes/UiQT4/desWidgetTuple3.ui | 362 - OldCodes/UiQT4/desWidgetUniqueSDCO.ui | 277 - OldCodes/UiQT4/desWidgetVide.ui | 330 - OldCodes/UiQT4/eficas_en.0106.ts | 3948 -- OldCodes/UiQT4/eficas_en.ts | 5860 --- OldCodes/UiQT4/eficas_fr.0106.ts | 4745 --- OldCodes/UiQT4/eficas_fr.ts | 5069 --- OldCodes/UiQT4/makefile | 34 - OldCodes/UiQT4/myMain.ui | 471 - OldCodes/ZCracks/CMakeLists.txt | 31 - OldCodes/ZCracks/configuration_ZCRACKS.py | 43 - OldCodes/ZCracks/mesScripts_ZCRACKS.py | 28 - OldCodes/ZCracks/monCode_Cata.py | 66 - OldCodes/ZCracks/monCode_Cata.py.V0 | 40 - OldCodes/ZCracks/prefs.py | 22 - OldCodes/ZCracks/prefs_ZCRACKS.py | 42 - OldCodes/ZCracks/properties.py | 24 - OldCodes/ZCracks/qtEficas_ZCracks.py | 33 - OldCodes/ts/Telemac_Cata.py | 2666 -- OldCodes/ts/a.py | 8 - OldCodes/ts/dicoparser.py | 160 - OldCodes/ts/main.ts | 1614 - OldCodes/ts/prefs.py | 24 - OldCodes/ts/telemac2dv6p3.dico | 5687 --- OldCodes/ts/test_cata.py | 22 - OldCodes/ts/test_dicoparser.py | 140 - OldCodes/ts/test_translator.py | 19 - OldCodes/ts/translator.py | 89 - OldCodes/ts/tsparser.py | 127 - .../ExtractGeneratorLoadLineandTransfoDico.py | 173 - PSEN_Eficas/ExtractGeneratorandLoadList.py | 70 - PSEN_Eficas/PSEN/PSEN_GUI.py | 1220 - PSEN_Eficas/PSEN/PSSEWrapper.py | 742 - PSEN_Eficas/PSEN/__init__.py | 0 PSEN_Eficas/PSEN/exploit2.ows | 23 - PSEN_Eficas/PSEN/support_functions.py | 599 - PSEN_Eficas/PSEN_Cata.py | 2498 -- PSEN_Eficas/configuration_PSEN.py | 43 - PSEN_Eficas/mesScripts.py | 35 - PSEN_Eficas/mesScripts_PSEN.py | 113 - PSEN_Eficas/opsPSEN.py | 113 - PSEN_Eficas/prefs.py | 22 - PSEN_Eficas/prefs_PSEN.py | 41 - PSEN_Eficas/properties.py | 24 - PSEN_Eficas/qtEficas_PSEN.py | 35 - ProcessOutputs_Eficas/EssaiMulti.py | 88 - .../ExtractGeneratorLoadLineandTransfoDico.py | 620 - ...tGeneratorLoadLineandTransfoDicoProcess.py | 631 - ProcessOutputs_Eficas/PSEN_Cata_N1.py | 280 - ProcessOutputs_Eficas/PSEN_Cata_N1.py.ok | 250 - ProcessOutputs_Eficas/ProcessOutputs_Cata.py | 240 - .../configuration_PSEN_N1.py | 43 - ProcessOutputs_Eficas/mesScripts_PSEN_N1.py | 23 - ProcessOutputs_Eficas/opsPSEN_N1.py | 195 - ProcessOutputs_Eficas/prefs.py | 22 - ProcessOutputs_Eficas/prefs_PSEN_N1.py | 42 - ProcessOutputs_Eficas/properties.py | 24 - ProcessOutputs_Eficas/qtEficas_PSEN_N1.py | 47 - ReacteurNumerique/cataPocRN.py | 114 + .../configuration_EssaiRN.py | 0 {MED => ReacteurNumerique}/prefs.py | 2 +- .../prefs_EssaiRN.py | 16 +- .../qtEficasEssai.py | 4 +- SPECA/SPECA_Cata_V1.py | 542 - SPECA/SPECA_Cata_V2016.py | 415 - SPECA/SPECA_Cata_V2_00.py | 458 - SPECA/configuration_SPECA.py | 43 - SPECA/prefs.py | 4 - SPECA/prefs_SPECA.py | 38 - SPECA/properties.py | 24 - SPECA/qtEficasSPECA.py | 36 - Telemac/.monCode_Cata.py.swp | Bin 12288 -> 0 bytes Telemac/CMakeLists.txt | 31 - Telemac/__init__.py | 19 - Telemac/aideAuxConvertisseurs.py | 23 - Telemac/artemis_cata_auto.py | 1966 - Telemac/artemis_dicoCasEnToCata.py | 240 - Telemac/artemis_dicoCasFrToCata.py | 240 - Telemac/artemis_enum_auto.py | 503 - Telemac/artemis_labelCataToIhm_en.qm | Bin 14032 -> 0 bytes Telemac/artemis_labelCataToIhm_en.ts | 596 - Telemac/artemis_labelCataToIhm_fr.qm | Bin 16080 -> 0 bytes Telemac/artemis_labelCataToIhm_fr.ts | 644 - Telemac/dicoCasEnToCata.py | 622 - Telemac/dicoCasFrToCata.py | 622 - Telemac/enum_Telemac2d_auto.py | 1435 - Telemac/gaia_cata_auto.py | 2190 - Telemac/gaia_dicoCasEnToCata.py | 292 - Telemac/gaia_dicoCasFrToCata.py | 292 - Telemac/gaia_enum_auto.py | 593 - Telemac/gaia_labelCataToIhm_en.qm | Bin 20274 -> 0 bytes Telemac/gaia_labelCataToIhm_en.ts | 772 - Telemac/gaia_labelCataToIhm_fr.qm | Bin 21777 -> 0 bytes Telemac/gaia_labelCataToIhm_fr.ts | 784 - Telemac/khione_cata_auto.py | 1311 - Telemac/khione_dicoCasEnToCata.py | 206 - Telemac/khione_dicoCasFrToCata.py | 206 - Telemac/khione_enum_auto.py | 400 - Telemac/khione_labelCataToIhm_en.qm | Bin 14375 -> 0 bytes Telemac/khione_labelCataToIhm_en.ts | 540 - Telemac/khione_labelCataToIhm_fr.qm | Bin 16185 -> 0 bytes Telemac/khione_labelCataToIhm_fr.ts | 576 - Telemac/labelCataToIhm_en.qm | Bin 33465 -> 0 bytes Telemac/labelCataToIhm_en.ts | 1240 - Telemac/labelCataToIhm_fr.qm | Bin 37803 -> 0 bytes Telemac/labelCataToIhm_fr.ts | 1336 - Telemac/postel3d_cata_auto.py | 522 - Telemac/postel3d_dicoCasEnToCata.py | 80 - Telemac/postel3d_dicoCasFrToCata.py | 80 - Telemac/postel3d_enum_auto.py | 114 - Telemac/postel3d_labelCataToIhm_en.qm | Bin 6601 -> 0 bytes Telemac/postel3d_labelCataToIhm_en.ts | 188 - Telemac/postel3d_labelCataToIhm_fr.qm | Bin 6608 -> 0 bytes Telemac/postel3d_labelCataToIhm_fr.ts | 200 - Telemac/prefs.py | 23 - Telemac/prefs_TELEMAC.py | 51 - Telemac/properties.py | 24 - Telemac/qtEficas_Telemac.py | 33 - Telemac/reecrit_cas_en_comm.py | 57 - Telemac/sisyphe_cata_auto.py | 2382 -- Telemac/sisyphe_dicoCasEnToCata.py | 352 - Telemac/sisyphe_dicoCasFrToCata.py | 352 - Telemac/sisyphe_enum_auto.py | 677 - Telemac/sisyphe_labelCataToIhm_en.qm | Bin 20484 -> 0 bytes Telemac/sisyphe_labelCataToIhm_en.ts | 808 - Telemac/sisyphe_labelCataToIhm_fr.qm | Bin 21888 -> 0 bytes Telemac/sisyphe_labelCataToIhm_fr.ts | 836 - Telemac/stbtel_cata_auto.py | 834 - Telemac/stbtel_dicoCasEnToCata.py | 112 - Telemac/stbtel_dicoCasFrToCata.py | 112 - Telemac/stbtel_enum_auto.py | 164 - Telemac/stbtel_labelCataToIhm_en.qm | Bin 6806 -> 0 bytes Telemac/stbtel_labelCataToIhm_en.ts | 264 - Telemac/stbtel_labelCataToIhm_fr.qm | Bin 8025 -> 0 bytes Telemac/stbtel_labelCataToIhm_fr.ts | 332 - Telemac/telemac2d_cata_auto.py | 5650 --- Telemac/telemac2d_dicoCasEnToCata.py | 694 - Telemac/telemac2d_dicoCasFrToCata.py | 694 - Telemac/telemac2d_enum_auto.py | 1555 - Telemac/telemac2d_labelCataToIhm_en.qm | Bin 43151 -> 0 bytes Telemac/telemac2d_labelCataToIhm_en.ts | 1656 - Telemac/telemac2d_labelCataToIhm_fr.qm | Bin 48277 -> 0 bytes Telemac/telemac2d_labelCataToIhm_fr.ts | 1756 - Telemac/telemac3d_cata_auto.py | 5970 --- Telemac/telemac3d_dicoCasEnToCata.py | 678 - Telemac/telemac3d_dicoCasFrToCata.py | 678 - Telemac/telemac3d_enum_auto.py | 1798 - Telemac/telemac3d_labelCataToIhm_en.qm | Bin 43984 -> 0 bytes Telemac/telemac3d_labelCataToIhm_en.ts | 1580 - Telemac/telemac3d_labelCataToIhm_fr.qm | Bin 48304 -> 0 bytes Telemac/telemac3d_labelCataToIhm_fr.ts | 1660 - Telemac/tomawac_cata_auto.py | 4219 -- Telemac/tomawac_dicoCasEnToCata.py | 406 - Telemac/tomawac_dicoCasFrToCata.py | 406 - Telemac/tomawac_enum_auto.py | 896 - Telemac/tomawac_labelCataToIhm_en.qm | Bin 27201 -> 0 bytes Telemac/tomawac_labelCataToIhm_en.ts | 940 - Telemac/tomawac_labelCataToIhm_fr.qm | Bin 29193 -> 0 bytes Telemac/tomawac_labelCataToIhm_fr.ts | 968 - Telemac/transforme/ReadMe | 10 - Telemac/transforme/reEcrittsEn.py | 139 - Telemac/transforme/reEcrittsFr.py | 139 - Telemac/waqtel_cata_auto.py | 1281 - Telemac/waqtel_dicoCasEnToCata.py | 180 - Telemac/waqtel_dicoCasFrToCata.py | 180 - Telemac/waqtel_enum_auto.py | 275 - Telemac/waqtel_labelCataToIhm_en.qm | Bin 12378 -> 0 bytes Telemac/waqtel_labelCataToIhm_en.ts | 448 - Telemac/waqtel_labelCataToIhm_fr.qm | Bin 13423 -> 0 bytes Telemac/waqtel_labelCataToIhm_fr.ts | 464 - Traducteur/CMakeLists.txt | 34 - UiQT5/CMakeLists.txt | 144 - UiQT5/desWidgetMatrice.ui | 8 +- Validation/CMakeLists.txt | 32 - VirtualPolymer/VP | 5 - VirtualPolymer/VP_Cata_V1.py | 413 - VirtualPolymer/VP_Cata_V2.py | 303 - VirtualPolymer/configuration_VP.py | 43 - VirtualPolymer/editor.py.ssVP | 1879 - VirtualPolymer/lienDB.py | 537 - VirtualPolymer/listesDB.py | 80 - VirtualPolymer/prefs.py | 22 - VirtualPolymer/prefs_VP.py | 45 - VirtualPolymer/properties.py | 24 - VirtualPolymer/qtEficasVP.py | 39 - boundary_conditions/CMakeLists.txt | 32 - boundary_conditions/__init__.py | 0 boundary_conditions/appli.py | 45 - .../boundary_conditions_cata.py | 59 - .../configuration_boundary_conditions.py | 48 - .../generator_boundary_conditions.py | 57 - boundary_conditions/prefs.py | 18 - .../prefs_boundary_conditions.py | 21 - convert/CMakeLists.txt | 32 - convert/Parserv5/Makefile | 2 - convert/Parserv5/README | 3 - convert/Parserv5/Translate.py | 2498 -- convert/Parserv5/__init__.py | 38 - convert/Parserv5/conv.py | 485 - convert/Parserv5/tables.py | 544 - convert/Parserv5/tables.tag | 509 - convert/convert_TELEMAC.py | 533 - convert/convert_map.py | 38 - convert/old/convert_openturns_study.py | 47 - convert/old/convert_openturns_wrapper.py | 38 - generator/CMakeLists.txt | 43 - generator/generator_GroupMA.py | 80 - generator/generator_PSEN.py | 127 - generator/generator_ProcessOutputs.py | 64 - generator/generator_TELEMAC.py | 358 - generator/generator_map.py | 111 - generator/generator_vers3DSalome.py | 243 - generator/oldCodes/DefautASTER.py | 232 - generator/oldCodes/OpenturnsBase.py | 145 - generator/oldCodes/OpenturnsSTD.py | 1397 - generator/oldCodes/OpenturnsXML.py | 243 - generator/oldCodes/generator_CARMEL3D.py | 844 - .../oldCodes/generator_CARMEL3D_temporel.py | 876 - generator/oldCodes/generator_CARMELCND.py | 303 - generator/oldCodes/generator_CARMELCS.py | 161 - generator/oldCodes/generator_SEP.py | 163 - generator/oldCodes/generator_ZCracks.py | 168 - generator/oldCodes/generator_asterv5.py | 510 - generator/oldCodes/generator_cuve2dg.py | 1723 - .../oldCodes/generator_file_from_template.py | 99 - generator/oldCodes/generator_homard.py | 252 - generator/oldCodes/generator_ini.py | 146 - generator/oldCodes/generator_openturns.py | 140 - .../oldCodes/generator_openturns_study.py | 141 - .../oldCodes/generator_openturns_wrapper.py | 142 - generator/oldCodes/generator_pyth.py | 154 - generator/oldCodes/generator_python6.py | 107 - .../oldGenerator_CARMEL3D_frequentiel.py | 1444 - mascaret/CMakeLists.txt | 31 - mascaret/__init__.py | 0 mascaret/appli.py | 76 - mascaret/configuration_mascaret.py | 46 - mascaret/mascaret_V7_cata.py | 107 - mascaret/prefs.py | 18 - mascaret/prefs_mascaret.py | 28 - monCode/Global_Condition_Cata.py | 53 - monCode/Many_Concepts_52992_Cata.py | 76 - monCode/Matrix_Cata.py | 87 - monCode/prefs_monCode.py | 69 - monCode/properties.py | 24 - 700 files changed, 334 insertions(+), 224470 deletions(-) delete mode 100644 Accas/CMakeLists.txt delete mode 100755 Adao/ADAO_Cata_V0_V7_7_0.py delete mode 100755 Adao/ADAO_Cata_V0_V8_3_0_DEV.py delete mode 100644 Adao/README_CATALOGUE.txt delete mode 100644 Adao/configuration_Adao.py delete mode 100644 Adao/monCode_Cata.py delete mode 100644 Adao/prefs.py delete mode 100644 Adao/prefs_Adao.py delete mode 100644 Adao/properties.py delete mode 100755 Adao/qtDico.py delete mode 100755 Adao/qtEficas_Adao.py delete mode 100644 Aide/CMakeLists.txt delete mode 100644 Aide/eficas_OPENTURNS_STUDY.adp delete mode 100644 Aide/fichiers_ASTER/CMakeLists.txt delete mode 100644 Aide/fichiers_ASTER/INSTALL.txt delete mode 100644 Aide/fichiers_ASTER/NEWS.txt delete mode 100644 Aide/fichiers_ASTER/cata.txt delete mode 100644 Aide/fichiers_ASTER/faqs.txt delete mode 100644 Aide/fichiers_ASTER/includes.txt delete mode 100644 Aide/fichiers_ASTER/index.html delete mode 100644 Aide/fichiers_OPENTURNS_STUDY/CMakeLists.txt delete mode 100644 Aide/fichiers_OPENTURNS_STUDY/EficasGui.txt delete mode 100644 Aide/fichiers_OPENTURNS_STUDY/UncertaintyStudy.txt delete mode 100644 Aide/fichiers_OPENTURNS_STUDY/index.html delete mode 100644 CMakeLists.txt delete mode 100644 CMakeModules/FindOpenTURNS.cmake delete mode 100644 CMakeModules/FindSphinx.cmake delete mode 100644 Carmel3D/CMakeLists.txt delete mode 100644 Carmel3D/Carmel3D_Cata_V0.py delete mode 100755 Carmel3D/Carmel3D_Cata_frequentiel_V0.py delete mode 100644 Carmel3D/Carmel3D_Cata_frequentiel_V1.py delete mode 100644 Carmel3D/E24 delete mode 100644 Carmel3D/FEV1000 delete mode 100644 Carmel3D/FEV470 delete mode 100644 Carmel3D/FEV600 delete mode 100644 Carmel3D/FEV800 delete mode 100644 Carmel3D/HA600 delete mode 100644 Carmel3D/M600_65 delete mode 100644 Carmel3D/M6X2ISO1 delete mode 100644 Carmel3D/M6X_epsilon.mater delete mode 100644 Carmel3D/M6X_homog_mu.mater delete mode 100644 Carmel3D/M6X_homog_sigma.mater delete mode 100644 Carmel3D/M6X_lineaire_mu.mater delete mode 100644 Carmel3D/M6X_lineaire_sigma.mater delete mode 100644 Carmel3D/M6X_mu.mater delete mode 100644 Carmel3D/__init__.py delete mode 100644 Carmel3D/ajoutGroupe.py delete mode 100644 Carmel3D/configuration_CARMEL3D.py delete mode 100644 Carmel3D/materiaux/ACIER_TEAM13 delete mode 100644 Carmel3D/materiaux/CMakeLists.txt delete mode 100644 Carmel3D/materiaux/E24 delete mode 100644 Carmel3D/materiaux/FEV1000 delete mode 100644 Carmel3D/materiaux/FEV470 delete mode 100644 Carmel3D/materiaux/FEV600 delete mode 100644 Carmel3D/materiaux/FEV800 delete mode 100644 Carmel3D/materiaux/HA600 delete mode 100644 Carmel3D/materiaux/M600_65 delete mode 100644 Carmel3D/materiaux/M6X2ISO1 delete mode 100644 Carmel3D/materiaux/M6X_epsilon.mater delete mode 100644 Carmel3D/materiaux/M6X_homogene_mu.mater delete mode 100644 Carmel3D/materiaux/M6X_homogene_sigma.mater delete mode 100644 Carmel3D/materiaux/M6X_lineaire_mu.mater delete mode 100644 Carmel3D/materiaux/M6X_lineaire_sigma.mater delete mode 100644 Carmel3D/materiaux/M6X_mu.mater delete mode 100644 Carmel3D/materiaux/M6X_sigma.mater delete mode 100644 Carmel3D/materiaux/materiaux.comm delete mode 100644 Carmel3D/opsCarmel.py delete mode 100644 Carmel3D/prefs.py delete mode 100644 Carmel3D/prefs_CARMEL3D.py delete mode 100644 Carmel3D/properties.py delete mode 100755 Carmel3D/qtEficas_Carmel3D.py delete mode 100644 Carmel3D/style.py delete mode 100755 Doc/CMakeLists.txt delete mode 100644 Doc/Makefile delete mode 100644 Doc/ajouter_une_commande.rst delete mode 100644 Doc/color_chart.rst delete mode 100644 Doc/commentaires_parametres.rst delete mode 100644 Doc/conf.py delete mode 100644 Doc/eficas_icons.rst delete mode 100644 Doc/eficas_in_salome.rst delete mode 100644 Doc/eficas_notions.rst delete mode 100644 Doc/eficas_presentation.rst delete mode 100644 Doc/eficas_rules.rst delete mode 100644 Doc/images/ArbreSalome.png delete mode 100644 Doc/images/ChoixCata.png delete mode 100644 Doc/images/ChoixCode.png delete mode 100644 Doc/images/ChoixCommande.png delete mode 100644 Doc/images/CommandeBouton.png delete mode 100644 Doc/images/Commentaire.png delete mode 100644 Doc/images/DataMenu.png delete mode 100644 Doc/images/DblClickOnOptional.png delete mode 100644 Doc/images/Documentation1.png delete mode 100644 Doc/images/DoubleFleche.png delete mode 100644 Doc/images/Duplication.png delete mode 100644 Doc/images/Erreur.png delete mode 100644 Doc/images/FichiersEtRepertoires.png delete mode 100644 Doc/images/FiltreCommande.png delete mode 100644 Doc/images/FindConcept.png delete mode 100644 Doc/images/GererFichiers.png delete mode 100644 Doc/images/GererMCS.png delete mode 100644 Doc/images/Groupes.png delete mode 100644 Doc/images/Icons.png delete mode 100644 Doc/images/Import.png delete mode 100644 Doc/images/LctDsSalome.png delete mode 100644 Doc/images/ListeEtTuple.png delete mode 100644 Doc/images/Main.png delete mode 100644 Doc/images/Matrice.png delete mode 100644 Doc/images/Menus.png delete mode 100644 Doc/images/Multi.png delete mode 100644 Doc/images/NomPython.png delete mode 100644 Doc/images/NommerObjet.png delete mode 100644 Doc/images/Nouveau.png delete mode 100644 Doc/images/OptionnelCommande.png delete mode 100644 Doc/images/OptionnelCommande1.png delete mode 100644 Doc/images/OptionnelParametersAdao.png delete mode 100644 Doc/images/OptionnelParametersAdao1.png delete mode 100644 Doc/images/Ordre.png delete mode 100644 Doc/images/Ouvrir.png delete mode 100644 Doc/images/Parametres.png delete mode 100644 Doc/images/Parametres1.png delete mode 100644 Doc/images/Parametres2.png delete mode 100644 Doc/images/Poubelle.png delete mode 100644 Doc/images/Recents.png delete mode 100644 Doc/images/Regles.png delete mode 100644 Doc/images/Roue.png delete mode 100644 Doc/images/Run.png delete mode 100644 Doc/images/SalomePylone.png delete mode 100644 Doc/images/SalomePyloneSE.png delete mode 100644 Doc/images/Scripts.png delete mode 100644 Doc/images/SelectAllInList.png delete mode 100644 Doc/images/ShowAllValues.png delete mode 100644 Doc/images/TPXO.png delete mode 100644 Doc/images/ToolTipOnButton.png delete mode 100644 Doc/images/ToolTipOnLabel.png delete mode 100644 Doc/images/ToolTipOnLineEdit.png delete mode 100644 Doc/images/ToolTipOnRed.png delete mode 100644 Doc/images/Zero.png delete mode 100644 Doc/index.rst delete mode 100644 Doc/lancer_eficas.rst delete mode 100644 Doc/nouveau_JDC.rst delete mode 100644 Doc/parametrer_une_commande.rst delete mode 100644 Doc/python_rules.rst delete mode 100644 Doc/widgetInDetails.rst delete mode 100644 Editeur/CMakeLists.txt delete mode 100644 Editeur/Patrons/CMakeLists.txt delete mode 100755 Efi2Xsd/AccasXsd.py delete mode 100644 Efi2Xsd/CMakeLists.txt delete mode 100644 Efi2Xsd/MCAccasXsd.py delete mode 100755 Efi2Xsd/ModeleEficas/Model Efficas (1.1) v6 ext.xsd delete mode 100755 Efi2Xsd/ModeleEficas/Model Efficas (1.1) v6.xsd delete mode 100755 Efi2Xsd/ModeleEficas/Model Efficas (1.1) v7 ext.xsd delete mode 100755 Efi2Xsd/ModeleEficas/Model Efficas (1.1) v7.xsd delete mode 100755 Efi2Xsd/ModeleEficas/Model Efficas (1.1) v8 ext.xsd delete mode 100755 Efi2Xsd/ModeleEficas/Model Efficas (1.1) v8.xsd delete mode 100755 Efi2Xsd/ModeleEficas/Model Efficas (1.1) v9 ext.xsd delete mode 100755 Efi2Xsd/ModeleEficas/Model Efficas (1.1) v9.xsd delete mode 100644 Efi2Xsd/README.txt delete mode 100644 Efi2Xsd/ReadMe.txt delete mode 100644 Efi2Xsd/ReadmeFichiers.txt delete mode 100644 Efi2Xsd/XMLSchema(1.1)_efv1.xsd delete mode 100755 Efi2Xsd/XSL/Eficas2Xsd.xslt delete mode 100644 Efi2Xsd/XSL/MED_FAM_gen.xsd delete mode 100644 Efi2Xsd/XSL/MED_FAM_v2_gen.xsd delete mode 100755 Efi2Xsd/XSL/MappingMapToXMLSchema_1_1__ef.xslt delete mode 100644 Efi2Xsd/XSL/Saxon.cmd delete mode 100644 Efi2Xsd/__init__.py delete mode 100644 Efi2Xsd/balises.py delete mode 100644 Efi2Xsd/efficas.py delete mode 100644 Efi2Xsd/introspect.py delete mode 100755 Efi2Xsd/mapDesTypes.py delete mode 100755 Efi2Xsd/readerEfiXsd.py delete mode 100755 EssaiInit/Cata_MED_FAM.xml delete mode 100755 EssaiInit/Cata_MED_FAM.xml.mini delete mode 100755 EssaiInit/Cata_MED_FAM.xml.origin delete mode 100644 EssaiInit/README.txt delete mode 100644 EssaiInit/aide1 delete mode 100644 EssaiInit/efficas.py delete mode 100755 EssaiInit/model.xsd delete mode 100644 EssaiInit/raw/__init__.py delete mode 100644 EssaiInit/raw/efficas.py delete mode 100755 EssaiInit/readerEfficas.py delete mode 100644 Extensions/CMakeLists.txt delete mode 100644 Ihm/CMakeLists.txt delete mode 100644 MAP/CMakeLists.txt delete mode 100644 MAP/configuration_MAP.py delete mode 100755 MAP/mapcata.py delete mode 100644 MAP/prefs.py delete mode 100644 MAP/prefs_MAP.py delete mode 100644 MAP/properties.py delete mode 100755 MAP/qtEficas_map.py delete mode 100644 MAP/style.py delete mode 100755 MED/CataAZ.py delete mode 100644 MED/Elementary_Lists_52996_Cata.py delete mode 100644 MED/Elementary_Lists_53000_Cata.py delete mode 100644 MED/Elementary_Lists_53013_Cata.py delete mode 100644 MED/Elementary_Lists_53036_Cata.py delete mode 100755 MED/Elementary_Lists_Cata.py delete mode 100755 MED/Global_Condition_Cata.py delete mode 100644 MED/Many_Concepts_52983_Cata.py delete mode 100644 MED/Many_Concepts_52988_Cata.py delete mode 100644 MED/Many_Concepts_52989_Cata.py delete mode 100644 MED/Many_Concepts_52992_Cata.py delete mode 100644 MED/Matrix_Cata.py delete mode 100644 MED/Nested_Cond_52945_Cata.py delete mode 100644 MED/Nested_Cond_52946_Cata.py delete mode 100644 MED/Nested_Cond_52947_Cata.py delete mode 100644 MED/Nested_Cond_52948_Cata.py delete mode 100644 MED/Nested_Cond_52949_Cata.py delete mode 100644 MED/Nested_Cond_52952_Cata.py delete mode 100644 MED/Separate_Blocks_52958_Cata.py delete mode 100644 MED/Separate_Blocks_52963_Cata.py delete mode 100644 MED/Separate_Blocks_52966_Cata.py delete mode 100644 MED/Separate_Blocks_52972_Cata.py delete mode 100644 MED/Separate_Blocks_52975_Cata.py delete mode 100644 MED/a delete mode 100644 MED/cata_diapo.py delete mode 100644 MED/cata_med.py delete mode 100644 MED/configuration_MED.py delete mode 100644 MED/images/essaiAster.png delete mode 100644 MED/items_integer_space.txt delete mode 100755 MED/monCode_qtEficas.py delete mode 100644 MED/prefs_MED.py delete mode 100644 MED/prefs_monCode.py delete mode 100644 MED/properties.py delete mode 100755 MED/qtEficas_AZ.py delete mode 100755 MED/qtEficas_Med.py delete mode 100644 MED/typescript delete mode 100644 MT/MT_Cata_V1.py delete mode 100644 MT/MT_Cata_V2016.py delete mode 100644 MT/MT_Cata_V2020.py delete mode 100644 MT/configuration_MT.py delete mode 100644 MT/images/443-3.jpg delete mode 100755 MT/images/Bouquet_PN.jpg delete mode 100644 MT/images/__init__.py delete mode 100644 MT/images/cymbidium-atropurpureum-f2.jpg delete mode 100644 MT/images/dicoDesIcones.py delete mode 100644 MT/images/images.jpeg delete mode 100755 MT/images/rose.JPG delete mode 100644 MT/mesScripts_MT.py delete mode 100644 MT/prefs.py delete mode 100644 MT/properties.py delete mode 100755 MT/reecrit_comm.py_VOprofile.py delete mode 100644 MT/sdll124a.machine delete mode 100644 MT/txtZone.py delete mode 100644 MT/txtZonePN.py delete mode 100644 Noyau/CMakeLists.txt delete mode 100644 OldCodes/Aster/CMakeLists.txt delete mode 100644 OldCodes/Aster/Cata/CMakeLists.txt delete mode 100644 OldCodes/Aster/Cata/__init__.py delete mode 100644 OldCodes/Aster/Cata/cataSTA11/__init__.py delete mode 100755 OldCodes/Aster/Cata/cataSTA11/cata.py delete mode 100644 OldCodes/Aster/Cata/cataSTA11/ops.py delete mode 100644 OldCodes/Aster/INSTALL delete mode 100644 OldCodes/Aster/Include.com delete mode 100644 OldCodes/Aster/LICENSE.TERMS delete mode 100644 OldCodes/Aster/NEWS delete mode 100644 OldCodes/Aster/README delete mode 100644 OldCodes/Aster/Tests/README delete mode 100644 OldCodes/Aster/Tests/Recette/az.comm delete mode 100755 OldCodes/Aster/Tests/Recette/efica01a.11 delete mode 100755 OldCodes/Aster/Tests/Recette/efica01a.com0 delete mode 100755 OldCodes/Aster/Tests/Recette/efica01a.comm delete mode 100644 OldCodes/Aster/Tests/d0.comm delete mode 100644 OldCodes/Aster/Tests/err.comm delete mode 100644 OldCodes/Aster/Tests/err2.comm delete mode 100644 OldCodes/Aster/Tests/err3.comm delete mode 100644 OldCodes/Aster/Tests/incl.11 delete mode 100644 OldCodes/Aster/Tests/incl.12 delete mode 100644 OldCodes/Aster/Tests/incl.13 delete mode 100644 OldCodes/Aster/Tests/incl.14 delete mode 100644 OldCodes/Aster/Tests/incl.15 delete mode 100644 OldCodes/Aster/Tests/incl.16 delete mode 100644 OldCodes/Aster/Tests/incl.17 delete mode 100644 OldCodes/Aster/Tests/incl.25 delete mode 100644 OldCodes/Aster/Tests/incl1.comm delete mode 100644 OldCodes/Aster/Tests/inclmat.comm delete mode 100644 OldCodes/Aster/Tests/inclmat2.comm delete mode 100644 OldCodes/Aster/Tests/j0.comm delete mode 100644 OldCodes/Aster/Tests/j1.comm delete mode 100644 OldCodes/Aster/Tests/j1.ini delete mode 100644 OldCodes/Aster/Tests/j2.ini delete mode 100644 OldCodes/Aster/Tests/jdc.ini delete mode 100644 OldCodes/Aster/Tests/p0.comm delete mode 100644 OldCodes/Aster/Tests/p1.comm delete mode 100644 OldCodes/Aster/Tests/p2.comm delete mode 100644 OldCodes/Aster/Tests/p3.comm delete mode 100644 OldCodes/Aster/Tests/perr.comm delete mode 100644 OldCodes/Aster/Tests/perr2.comm delete mode 100644 OldCodes/Aster/Tests/pincl.11 delete mode 100644 OldCodes/Aster/Tests/pp.comm delete mode 100644 OldCodes/Aster/Tests/princ.comm delete mode 100644 OldCodes/Aster/Tests/princ.ini delete mode 100644 OldCodes/Aster/Tests/princl.11 delete mode 100644 OldCodes/Aster/Tests/princl.12 delete mode 100644 OldCodes/Aster/Tests/princl.14 delete mode 100644 OldCodes/Aster/Tests/princl.35 delete mode 100644 OldCodes/Aster/Tests/qincl.11 delete mode 100644 OldCodes/Aster/Tests/rincl.11 delete mode 100755 OldCodes/Aster/Tests/torsion.comm delete mode 100644 OldCodes/Aster/__init__.py delete mode 100644 OldCodes/Aster/a.dat delete mode 100644 OldCodes/Aster/alphasdist.py delete mode 100644 OldCodes/Aster/configuration_ASTER.py delete mode 100644 OldCodes/Aster/eficasManager.py delete mode 100755 OldCodes/Aster/eficas_aster.py delete mode 100755 OldCodes/Aster/lance_test.sh delete mode 100644 OldCodes/Aster/prefs.py delete mode 100644 OldCodes/Aster/prefs.py.win delete mode 100644 OldCodes/Aster/prefs_ASTER.py delete mode 100644 OldCodes/Aster/properties.py delete mode 100755 OldCodes/Aster/qtEficas_aster.py delete mode 100755 OldCodes/Aster/qtGroup.py delete mode 100755 OldCodes/Aster/reecrit_comm.py delete mode 100644 OldCodes/Aster/sdist.py delete mode 100644 OldCodes/Aster/style.py delete mode 100755 OldCodes/Aster/test_eficas.py delete mode 100644 OldCodes/CarmelCND/CMakeLists.txt delete mode 100644 OldCodes/CarmelCND/CarmelCND_Cata.py delete mode 100644 OldCodes/CarmelCND/PourTraductionCarmel.py delete mode 100644 OldCodes/CarmelCND/PrepareRunCarmel.py delete mode 100755 OldCodes/CarmelCND/acquiertGroupes.py delete mode 100644 OldCodes/CarmelCND/configuration_CARMELCND.py delete mode 100644 OldCodes/CarmelCND/prefs.py delete mode 100644 OldCodes/CarmelCND/prefs_CARMELCND.py delete mode 100755 OldCodes/CarmelCND/qtEficas_CarmelCND.py delete mode 100644 OldCodes/CarmelCS/CMakeLists.txt delete mode 100644 OldCodes/CarmelCS/CarmelCS_cata.py delete mode 100644 OldCodes/CarmelCS/configuration_CARMELCS.py delete mode 100644 OldCodes/CarmelCS/pilotyacsCS.py delete mode 100644 OldCodes/CarmelCS/prefs.py delete mode 100644 OldCodes/CarmelCS/prefs_CARMELCS.py delete mode 100755 OldCodes/CarmelCS/qtEficas_CarmelCS.py delete mode 100644 OldCodes/Openturns_Study/CMakeLists.txt delete mode 100644 OldCodes/Openturns_Study/OpenTURNS_Cata_Study_V1.py delete mode 100644 OldCodes/Openturns_Study/OpenTURNS_Cata_Study_V10.py delete mode 100644 OldCodes/Openturns_Study/OpenTURNS_Cata_Study_V2.py delete mode 100644 OldCodes/Openturns_Study/OpenTURNS_Cata_Study_V3.py delete mode 100644 OldCodes/Openturns_Study/OpenTURNS_Cata_Study_V4.py delete mode 100644 OldCodes/Openturns_Study/OpenTURNS_Cata_Study_V5.py delete mode 100644 OldCodes/Openturns_Study/OpenTURNS_Cata_Study_V6.py delete mode 100644 OldCodes/Openturns_Study/OpenTURNS_Cata_Study_V7.py delete mode 100644 OldCodes/Openturns_Study/OpenTURNS_Cata_Study_V7.py.orig delete mode 100644 OldCodes/Openturns_Study/OpenTURNS_Cata_Study_V8.py delete mode 100644 OldCodes/Openturns_Study/OpenTURNS_Cata_Study_V9.py delete mode 100644 OldCodes/Openturns_Study/configuration_OPENTURNS_STUDY.py delete mode 100644 OldCodes/Openturns_Study/opsOT.py delete mode 100644 OldCodes/Openturns_Study/prefs.py delete mode 100644 OldCodes/Openturns_Study/prefs_OPENTURNS_STUDY.py delete mode 100644 OldCodes/Openturns_Study/properties.py delete mode 100755 OldCodes/Openturns_Study/qtEficas_openturns_study.py delete mode 100644 OldCodes/Openturns_Study/sdistOTqt.py delete mode 100644 OldCodes/Openturns_Study/style.py delete mode 100644 OldCodes/Openturns_Study/test/MinMax_ExpPlane.comm delete mode 100644 OldCodes/Openturns_Study/test/MinMax_ExpPlane.py delete mode 100644 OldCodes/Openturns_Study/test/MinMax_RandomSampling.comm delete mode 100644 OldCodes/Openturns_Wrapper/CMakeLists.txt delete mode 100644 OldCodes/Openturns_Wrapper/OpenTURNS_Cata_Wrapper_V1.py delete mode 100644 OldCodes/Openturns_Wrapper/OpenTURNS_Cata_Wrapper_V2.py delete mode 100644 OldCodes/Openturns_Wrapper/OpenTURNS_Cata_Wrapper_V3.py delete mode 100644 OldCodes/Openturns_Wrapper/OpenTURNS_Cata_Wrapper_V4.py delete mode 100644 OldCodes/Openturns_Wrapper/configuration_OPENTURNS_WRAPPER.py delete mode 100644 OldCodes/Openturns_Wrapper/prefs.py delete mode 100644 OldCodes/Openturns_Wrapper/prefs_OPENTURNS_WRAPPER.py delete mode 100644 OldCodes/Openturns_Wrapper/properties.py delete mode 100755 OldCodes/Openturns_Wrapper/qtEficas_openturns_wrapper.py delete mode 100644 OldCodes/Openturns_Wrapper/sdistOTqt.py delete mode 100644 OldCodes/Openturns_Wrapper/style.py delete mode 100644 OldCodes/PSEN_N1/PSEN_Cata_N1.py delete mode 100644 OldCodes/PSEN_N1/configuration_PSEN_N1.py delete mode 100644 OldCodes/PSEN_N1/mesScripts_PSEN_N1.py delete mode 100644 OldCodes/PSEN_N1/opsPSEN_N1.py delete mode 100644 OldCodes/PSEN_N1/prefs.py delete mode 100644 OldCodes/PSEN_N1/prefs_PSEN_N1.py delete mode 100644 OldCodes/PSEN_N1/properties.py delete mode 100755 OldCodes/PSEN_N1/qtEficas_PSEN_N1.py delete mode 100644 OldCodes/PSEN_N1/run.py delete mode 100644 OldCodes/Sep/CMakeLists.txt delete mode 100644 OldCodes/Sep/SEP_Cata_V0.py delete mode 100644 OldCodes/Sep/SEP_Cata_V1.py delete mode 100644 OldCodes/Sep/SEP_Cata_V1_2.py delete mode 100644 OldCodes/Sep/SEP_Cata_V1_3.py delete mode 100644 OldCodes/Sep/SEP_Cata_V1_4.py delete mode 100644 OldCodes/Sep/__init__.py delete mode 100644 OldCodes/Sep/catalogues_sep.ini delete mode 100644 OldCodes/Sep/configuration_SEP.py delete mode 100644 OldCodes/Sep/editeur.ini delete mode 100644 OldCodes/Sep/prefs.py delete mode 100644 OldCodes/Sep/prefs_SEP.py delete mode 100644 OldCodes/Sep/properties.py delete mode 100755 OldCodes/Sep/qtEficas_SEP.py delete mode 100644 OldCodes/Sep/sdistSEP.py delete mode 100644 OldCodes/Sep/style.py delete mode 100644 OldCodes/UiQT4/CMakeLists.txt delete mode 100644 OldCodes/UiQT4/Newdoc.tgz delete mode 100644 OldCodes/UiQT4/Tuple2.ui delete mode 100644 OldCodes/UiQT4/Tuple3.ui delete mode 100644 OldCodes/UiQT4/desBaseWidget.ui delete mode 100644 OldCodes/UiQT4/desChoixCata.ui delete mode 100644 OldCodes/UiQT4/desChoixCode.ui delete mode 100644 OldCodes/UiQT4/desChoixCommandes.ui delete mode 100644 OldCodes/UiQT4/desChoixLangue.ui delete mode 100644 OldCodes/UiQT4/desGroupeOptionnel.ui delete mode 100644 OldCodes/UiQT4/desRecherche.ui delete mode 100644 OldCodes/UiQT4/desRechercheCatalogue.ui delete mode 100644 OldCodes/UiQT4/desSelectVal.ui delete mode 100644 OldCodes/UiQT4/desViewRegles.ui delete mode 100644 OldCodes/UiQT4/desViewTexte.ui delete mode 100644 OldCodes/UiQT4/desVisu.ui delete mode 100644 OldCodes/UiQT4/desWidget4a6RadioButton.ui delete mode 100644 OldCodes/UiQT4/desWidgetBloc.ui delete mode 100644 OldCodes/UiQT4/desWidgetCB.ui delete mode 100644 OldCodes/UiQT4/desWidgetCommande.ui delete mode 100644 OldCodes/UiQT4/desWidgetCommentaire.ui delete mode 100644 OldCodes/UiQT4/desWidgetCreeParam.ui delete mode 100644 OldCodes/UiQT4/desWidgetDate.ui delete mode 100644 OldCodes/UiQT4/desWidgetFact.ui delete mode 100644 OldCodes/UiQT4/desWidgetFactPlie.ui delete mode 100644 OldCodes/UiQT4/desWidgetFormule.ui delete mode 100644 OldCodes/UiQT4/desWidgetHeure.ui delete mode 100644 OldCodes/UiQT4/desWidgetInactif.ui delete mode 100644 OldCodes/UiQT4/desWidgetInformation.ui delete mode 100644 OldCodes/UiQT4/desWidgetMatrice.ui delete mode 100644 OldCodes/UiQT4/desWidgetOptionnel.ui delete mode 100644 OldCodes/UiQT4/desWidgetOptionnelMC.ui delete mode 100644 OldCodes/UiQT4/desWidgetParam.ui delete mode 100644 OldCodes/UiQT4/desWidgetPlusieursBase.ui delete mode 100644 OldCodes/UiQT4/desWidgetPlusieursInto.ui delete mode 100644 OldCodes/UiQT4/desWidgetPlusieursIntoOrdonne.ui delete mode 100644 OldCodes/UiQT4/desWidgetPlusieursPlie.ui delete mode 100644 OldCodes/UiQT4/desWidgetPlusieursTuple.ui delete mode 100644 OldCodes/UiQT4/desWidgetRadioButton.ui delete mode 100644 OldCodes/UiQT4/desWidgetSDCOInto.ui delete mode 100644 OldCodes/UiQT4/desWidgetSimpBase.ui delete mode 100644 OldCodes/UiQT4/desWidgetSimpBool.ui delete mode 100644 OldCodes/UiQT4/desWidgetSimpComplexe.ui delete mode 100644 OldCodes/UiQT4/desWidgetSimpFichier.ui delete mode 100644 OldCodes/UiQT4/desWidgetSimpSalome.ui delete mode 100644 OldCodes/UiQT4/desWidgetSimpTxt.ui delete mode 100644 OldCodes/UiQT4/desWidgetTuple2.ui delete mode 100644 OldCodes/UiQT4/desWidgetTuple3.ui delete mode 100644 OldCodes/UiQT4/desWidgetUniqueSDCO.ui delete mode 100644 OldCodes/UiQT4/desWidgetVide.ui delete mode 100644 OldCodes/UiQT4/eficas_en.0106.ts delete mode 100644 OldCodes/UiQT4/eficas_en.ts delete mode 100644 OldCodes/UiQT4/eficas_fr.0106.ts delete mode 100644 OldCodes/UiQT4/eficas_fr.ts delete mode 100644 OldCodes/UiQT4/makefile delete mode 100644 OldCodes/UiQT4/myMain.ui delete mode 100644 OldCodes/ZCracks/CMakeLists.txt delete mode 100644 OldCodes/ZCracks/configuration_ZCRACKS.py delete mode 100644 OldCodes/ZCracks/mesScripts_ZCRACKS.py delete mode 100644 OldCodes/ZCracks/monCode_Cata.py delete mode 100644 OldCodes/ZCracks/monCode_Cata.py.V0 delete mode 100644 OldCodes/ZCracks/prefs.py delete mode 100644 OldCodes/ZCracks/prefs_ZCRACKS.py delete mode 100644 OldCodes/ZCracks/properties.py delete mode 100755 OldCodes/ZCracks/qtEficas_ZCracks.py delete mode 100644 OldCodes/ts/Telemac_Cata.py delete mode 100644 OldCodes/ts/a.py delete mode 100644 OldCodes/ts/dicoparser.py delete mode 100644 OldCodes/ts/main.ts delete mode 100644 OldCodes/ts/prefs.py delete mode 100644 OldCodes/ts/telemac2dv6p3.dico delete mode 100644 OldCodes/ts/test_cata.py delete mode 100644 OldCodes/ts/test_dicoparser.py delete mode 100644 OldCodes/ts/test_translator.py delete mode 100755 OldCodes/ts/translator.py delete mode 100644 OldCodes/ts/tsparser.py delete mode 100755 PSEN_Eficas/ExtractGeneratorLoadLineandTransfoDico.py delete mode 100755 PSEN_Eficas/ExtractGeneratorandLoadList.py delete mode 100755 PSEN_Eficas/PSEN/PSEN_GUI.py delete mode 100755 PSEN_Eficas/PSEN/PSSEWrapper.py delete mode 100755 PSEN_Eficas/PSEN/__init__.py delete mode 100755 PSEN_Eficas/PSEN/exploit2.ows delete mode 100755 PSEN_Eficas/PSEN/support_functions.py delete mode 100644 PSEN_Eficas/PSEN_Cata.py delete mode 100755 PSEN_Eficas/configuration_PSEN.py delete mode 100755 PSEN_Eficas/mesScripts.py delete mode 100644 PSEN_Eficas/mesScripts_PSEN.py delete mode 100755 PSEN_Eficas/opsPSEN.py delete mode 100755 PSEN_Eficas/prefs.py delete mode 100755 PSEN_Eficas/prefs_PSEN.py delete mode 100755 PSEN_Eficas/properties.py delete mode 100755 PSEN_Eficas/qtEficas_PSEN.py delete mode 100755 ProcessOutputs_Eficas/EssaiMulti.py delete mode 100644 ProcessOutputs_Eficas/ExtractGeneratorLoadLineandTransfoDico.py delete mode 100644 ProcessOutputs_Eficas/ExtractGeneratorLoadLineandTransfoDicoProcess.py delete mode 100644 ProcessOutputs_Eficas/PSEN_Cata_N1.py delete mode 100644 ProcessOutputs_Eficas/PSEN_Cata_N1.py.ok delete mode 100644 ProcessOutputs_Eficas/ProcessOutputs_Cata.py delete mode 100644 ProcessOutputs_Eficas/configuration_PSEN_N1.py delete mode 100644 ProcessOutputs_Eficas/mesScripts_PSEN_N1.py delete mode 100644 ProcessOutputs_Eficas/opsPSEN_N1.py delete mode 100644 ProcessOutputs_Eficas/prefs.py delete mode 100644 ProcessOutputs_Eficas/prefs_PSEN_N1.py delete mode 100644 ProcessOutputs_Eficas/properties.py delete mode 100755 ProcessOutputs_Eficas/qtEficas_PSEN_N1.py create mode 100644 ReacteurNumerique/cataPocRN.py rename Telemac/configuration_TELEMAC.py => ReacteurNumerique/configuration_EssaiRN.py (100%) rename {MED => ReacteurNumerique}/prefs.py (98%) rename MT/prefs_MT.py => ReacteurNumerique/prefs_EssaiRN.py (85%) rename MT/qtEficasMT.py => ReacteurNumerique/qtEficasEssai.py (97%) delete mode 100644 SPECA/SPECA_Cata_V1.py delete mode 100644 SPECA/SPECA_Cata_V2016.py delete mode 100644 SPECA/SPECA_Cata_V2_00.py delete mode 100644 SPECA/configuration_SPECA.py delete mode 100644 SPECA/prefs.py delete mode 100644 SPECA/prefs_SPECA.py delete mode 100644 SPECA/properties.py delete mode 100755 SPECA/qtEficasSPECA.py delete mode 100644 Telemac/.monCode_Cata.py.swp delete mode 100644 Telemac/CMakeLists.txt delete mode 100644 Telemac/__init__.py delete mode 100644 Telemac/aideAuxConvertisseurs.py delete mode 100644 Telemac/artemis_cata_auto.py delete mode 100644 Telemac/artemis_dicoCasEnToCata.py delete mode 100644 Telemac/artemis_dicoCasFrToCata.py delete mode 100644 Telemac/artemis_enum_auto.py delete mode 100644 Telemac/artemis_labelCataToIhm_en.qm delete mode 100644 Telemac/artemis_labelCataToIhm_en.ts delete mode 100644 Telemac/artemis_labelCataToIhm_fr.qm delete mode 100644 Telemac/artemis_labelCataToIhm_fr.ts delete mode 100644 Telemac/dicoCasEnToCata.py delete mode 100644 Telemac/dicoCasFrToCata.py delete mode 100644 Telemac/enum_Telemac2d_auto.py delete mode 100644 Telemac/gaia_cata_auto.py delete mode 100644 Telemac/gaia_dicoCasEnToCata.py delete mode 100644 Telemac/gaia_dicoCasFrToCata.py delete mode 100644 Telemac/gaia_enum_auto.py delete mode 100644 Telemac/gaia_labelCataToIhm_en.qm delete mode 100644 Telemac/gaia_labelCataToIhm_en.ts delete mode 100644 Telemac/gaia_labelCataToIhm_fr.qm delete mode 100644 Telemac/gaia_labelCataToIhm_fr.ts delete mode 100644 Telemac/khione_cata_auto.py delete mode 100644 Telemac/khione_dicoCasEnToCata.py delete mode 100644 Telemac/khione_dicoCasFrToCata.py delete mode 100644 Telemac/khione_enum_auto.py delete mode 100644 Telemac/khione_labelCataToIhm_en.qm delete mode 100644 Telemac/khione_labelCataToIhm_en.ts delete mode 100644 Telemac/khione_labelCataToIhm_fr.qm delete mode 100644 Telemac/khione_labelCataToIhm_fr.ts delete mode 100644 Telemac/labelCataToIhm_en.qm delete mode 100644 Telemac/labelCataToIhm_en.ts delete mode 100644 Telemac/labelCataToIhm_fr.qm delete mode 100644 Telemac/labelCataToIhm_fr.ts delete mode 100644 Telemac/postel3d_cata_auto.py delete mode 100644 Telemac/postel3d_dicoCasEnToCata.py delete mode 100644 Telemac/postel3d_dicoCasFrToCata.py delete mode 100644 Telemac/postel3d_enum_auto.py delete mode 100644 Telemac/postel3d_labelCataToIhm_en.qm delete mode 100644 Telemac/postel3d_labelCataToIhm_en.ts delete mode 100644 Telemac/postel3d_labelCataToIhm_fr.qm delete mode 100644 Telemac/postel3d_labelCataToIhm_fr.ts delete mode 100644 Telemac/prefs.py delete mode 100644 Telemac/prefs_TELEMAC.py delete mode 100644 Telemac/properties.py delete mode 100755 Telemac/qtEficas_Telemac.py delete mode 100755 Telemac/reecrit_cas_en_comm.py delete mode 100644 Telemac/sisyphe_cata_auto.py delete mode 100644 Telemac/sisyphe_dicoCasEnToCata.py delete mode 100644 Telemac/sisyphe_dicoCasFrToCata.py delete mode 100644 Telemac/sisyphe_enum_auto.py delete mode 100644 Telemac/sisyphe_labelCataToIhm_en.qm delete mode 100644 Telemac/sisyphe_labelCataToIhm_en.ts delete mode 100644 Telemac/sisyphe_labelCataToIhm_fr.qm delete mode 100644 Telemac/sisyphe_labelCataToIhm_fr.ts delete mode 100644 Telemac/stbtel_cata_auto.py delete mode 100644 Telemac/stbtel_dicoCasEnToCata.py delete mode 100644 Telemac/stbtel_dicoCasFrToCata.py delete mode 100644 Telemac/stbtel_enum_auto.py delete mode 100644 Telemac/stbtel_labelCataToIhm_en.qm delete mode 100644 Telemac/stbtel_labelCataToIhm_en.ts delete mode 100644 Telemac/stbtel_labelCataToIhm_fr.qm delete mode 100644 Telemac/stbtel_labelCataToIhm_fr.ts delete mode 100644 Telemac/telemac2d_cata_auto.py delete mode 100644 Telemac/telemac2d_dicoCasEnToCata.py delete mode 100644 Telemac/telemac2d_dicoCasFrToCata.py delete mode 100644 Telemac/telemac2d_enum_auto.py delete mode 100644 Telemac/telemac2d_labelCataToIhm_en.qm delete mode 100644 Telemac/telemac2d_labelCataToIhm_en.ts delete mode 100644 Telemac/telemac2d_labelCataToIhm_fr.qm delete mode 100644 Telemac/telemac2d_labelCataToIhm_fr.ts delete mode 100644 Telemac/telemac3d_cata_auto.py delete mode 100644 Telemac/telemac3d_dicoCasEnToCata.py delete mode 100644 Telemac/telemac3d_dicoCasFrToCata.py delete mode 100644 Telemac/telemac3d_enum_auto.py delete mode 100644 Telemac/telemac3d_labelCataToIhm_en.qm delete mode 100644 Telemac/telemac3d_labelCataToIhm_en.ts delete mode 100644 Telemac/telemac3d_labelCataToIhm_fr.qm delete mode 100644 Telemac/telemac3d_labelCataToIhm_fr.ts delete mode 100644 Telemac/tomawac_cata_auto.py delete mode 100644 Telemac/tomawac_dicoCasEnToCata.py delete mode 100644 Telemac/tomawac_dicoCasFrToCata.py delete mode 100644 Telemac/tomawac_enum_auto.py delete mode 100644 Telemac/tomawac_labelCataToIhm_en.qm delete mode 100644 Telemac/tomawac_labelCataToIhm_en.ts delete mode 100644 Telemac/tomawac_labelCataToIhm_fr.qm delete mode 100644 Telemac/tomawac_labelCataToIhm_fr.ts delete mode 100644 Telemac/transforme/ReadMe delete mode 100755 Telemac/transforme/reEcrittsEn.py delete mode 100755 Telemac/transforme/reEcrittsFr.py delete mode 100644 Telemac/waqtel_cata_auto.py delete mode 100644 Telemac/waqtel_dicoCasEnToCata.py delete mode 100644 Telemac/waqtel_dicoCasFrToCata.py delete mode 100644 Telemac/waqtel_enum_auto.py delete mode 100644 Telemac/waqtel_labelCataToIhm_en.qm delete mode 100644 Telemac/waqtel_labelCataToIhm_en.ts delete mode 100644 Telemac/waqtel_labelCataToIhm_fr.qm delete mode 100644 Telemac/waqtel_labelCataToIhm_fr.ts delete mode 100644 Traducteur/CMakeLists.txt delete mode 100644 UiQT5/CMakeLists.txt delete mode 100644 Validation/CMakeLists.txt delete mode 100644 VirtualPolymer/VP delete mode 100644 VirtualPolymer/VP_Cata_V1.py delete mode 100644 VirtualPolymer/VP_Cata_V2.py delete mode 100644 VirtualPolymer/configuration_VP.py delete mode 100755 VirtualPolymer/editor.py.ssVP delete mode 100644 VirtualPolymer/lienDB.py delete mode 100644 VirtualPolymer/listesDB.py delete mode 100644 VirtualPolymer/prefs.py delete mode 100644 VirtualPolymer/prefs_VP.py delete mode 100644 VirtualPolymer/properties.py delete mode 100755 VirtualPolymer/qtEficasVP.py delete mode 100644 boundary_conditions/CMakeLists.txt delete mode 100644 boundary_conditions/__init__.py delete mode 100644 boundary_conditions/appli.py delete mode 100644 boundary_conditions/boundary_conditions_cata.py delete mode 100644 boundary_conditions/configuration_boundary_conditions.py delete mode 100644 boundary_conditions/generator_boundary_conditions.py delete mode 100644 boundary_conditions/prefs.py delete mode 100644 boundary_conditions/prefs_boundary_conditions.py delete mode 100644 convert/CMakeLists.txt delete mode 100644 convert/Parserv5/Makefile delete mode 100644 convert/Parserv5/README delete mode 100644 convert/Parserv5/Translate.py delete mode 100644 convert/Parserv5/__init__.py delete mode 100644 convert/Parserv5/conv.py delete mode 100644 convert/Parserv5/tables.py delete mode 100755 convert/Parserv5/tables.tag delete mode 100644 convert/convert_TELEMAC.py delete mode 100644 convert/convert_map.py delete mode 100644 convert/old/convert_openturns_study.py delete mode 100644 convert/old/convert_openturns_wrapper.py delete mode 100644 generator/CMakeLists.txt delete mode 100644 generator/generator_GroupMA.py delete mode 100755 generator/generator_PSEN.py delete mode 100755 generator/generator_ProcessOutputs.py delete mode 100644 generator/generator_TELEMAC.py delete mode 100644 generator/generator_map.py delete mode 100644 generator/generator_vers3DSalome.py delete mode 100644 generator/oldCodes/DefautASTER.py delete mode 100644 generator/oldCodes/OpenturnsBase.py delete mode 100644 generator/oldCodes/OpenturnsSTD.py delete mode 100644 generator/oldCodes/OpenturnsXML.py delete mode 100644 generator/oldCodes/generator_CARMEL3D.py delete mode 100644 generator/oldCodes/generator_CARMEL3D_temporel.py delete mode 100755 generator/oldCodes/generator_CARMELCND.py delete mode 100644 generator/oldCodes/generator_CARMELCS.py delete mode 100644 generator/oldCodes/generator_SEP.py delete mode 100644 generator/oldCodes/generator_ZCracks.py delete mode 100644 generator/oldCodes/generator_asterv5.py delete mode 100644 generator/oldCodes/generator_cuve2dg.py delete mode 100644 generator/oldCodes/generator_file_from_template.py delete mode 100644 generator/oldCodes/generator_homard.py delete mode 100644 generator/oldCodes/generator_ini.py delete mode 100644 generator/oldCodes/generator_openturns.py delete mode 100644 generator/oldCodes/generator_openturns_study.py delete mode 100644 generator/oldCodes/generator_openturns_wrapper.py delete mode 100644 generator/oldCodes/generator_pyth.py delete mode 100644 generator/oldCodes/generator_python6.py delete mode 100755 generator/oldCodes/oldGenerator_CARMEL3D_frequentiel.py delete mode 100644 mascaret/CMakeLists.txt delete mode 100644 mascaret/__init__.py delete mode 100644 mascaret/appli.py delete mode 100644 mascaret/configuration_mascaret.py delete mode 100644 mascaret/mascaret_V7_cata.py delete mode 100644 mascaret/prefs.py delete mode 100644 mascaret/prefs_mascaret.py delete mode 100755 monCode/Global_Condition_Cata.py delete mode 100644 monCode/Many_Concepts_52992_Cata.py delete mode 100644 monCode/Matrix_Cata.py delete mode 100644 monCode/prefs_monCode.py delete mode 100644 monCode/properties.py diff --git a/Accas/A_BLOC.py b/Accas/A_BLOC.py index badd8d9d..e46b9769 100644 --- a/Accas/A_BLOC.py +++ b/Accas/A_BLOC.py @@ -21,10 +21,11 @@ from __future__ import absolute_import from Noyau import N_BLOC from Ihm import I_ENTITE from Accas import A_MCBLOC -from Efi2Xsd.AccasXsd import X_BLOC +#from Efi2Xsd.AccasXsd import X_BLOC -class BLOC(N_BLOC.BLOC,X_BLOC,I_ENTITE.ENTITE): +#class BLOC(N_BLOC.BLOC,X_BLOC,I_ENTITE.ENTITE): +class BLOC(N_BLOC.BLOC,I_ENTITE.ENTITE): class_instance=A_MCBLOC.MCBLOC def __init__(self,*tup,**args): I_ENTITE.ENTITE.__init__(self) diff --git a/Accas/A_ETAPE.py b/Accas/A_ETAPE.py index a3dbd595..5453a4db 100644 --- a/Accas/A_ETAPE.py +++ b/Accas/A_ETAPE.py @@ -21,9 +21,10 @@ from __future__ import absolute_import from Noyau import N_ETAPE from Validation import V_ETAPE from Ihm import I_ETAPE -from Efi2Xsd.MCAccasXsd import X_MCCOMPO +#from Efi2Xsd.MCAccasXsd import X_MCCOMPO -class ETAPE(I_ETAPE.ETAPE,V_ETAPE.ETAPE,X_MCCOMPO,N_ETAPE.ETAPE): +#class ETAPE(I_ETAPE.ETAPE,V_ETAPE.ETAPE,X_MCCOMPO,N_ETAPE.ETAPE): +class ETAPE(I_ETAPE.ETAPE,V_ETAPE.ETAPE,N_ETAPE.ETAPE): def __init__(self,oper=None,reuse=None,args={}): print ('------------- ETAPE accas', oper.nom, args) N_ETAPE.ETAPE.__init__(self,oper,reuse,args) diff --git a/Accas/A_FACT.py b/Accas/A_FACT.py index ebccc614..bd7ff1ba 100644 --- a/Accas/A_FACT.py +++ b/Accas/A_FACT.py @@ -22,10 +22,11 @@ from Noyau import N_FACT from Ihm import I_ENTITE from Accas import A_MCFACT from Accas import A_MCLIST -from Efi2Xsd.AccasXsd import X_FACT +#from Efi2Xsd.AccasXsd import X_FACT -class FACT(N_FACT.FACT,X_FACT,I_ENTITE.ENTITE): +#class FACT(N_FACT.FACT,X_FACT,I_ENTITE.ENTITE): +class FACT(N_FACT.FACT,I_ENTITE.ENTITE): class_instance=A_MCFACT.MCFACT list_instance=A_MCLIST.MCList def __init__(self,*tup,**args): diff --git a/Accas/A_JDC.py b/Accas/A_JDC.py index d17bd234..ae5a1bb8 100644 --- a/Accas/A_JDC.py +++ b/Accas/A_JDC.py @@ -22,14 +22,15 @@ from Noyau import N_JDC from Validation import V_JDC from Extensions import jdc from Ihm import I_JDC -from Efi2Xsd.MCAccasXsd import X_JDC +#from Efi2Xsd.MCAccasXsd import X_JDC -class JDC(jdc.JDC,I_JDC.JDC,X_JDC,V_JDC.JDC,N_JDC.JDC): +#class JDC(jdc.JDC,I_JDC.JDC,X_JDC,V_JDC.JDC,N_JDC.JDC): +class JDC(jdc.JDC,I_JDC.JDC,V_JDC.JDC,N_JDC.JDC): from .A_ASSD import CO,assd def __init__(self,*pos,**args): N_JDC.JDC.__init__(self,*pos,**args) - X_JDC.__init__(self) + #X_JDC.__init__(self) V_JDC.JDC.__init__(self) I_JDC.JDC.__init__(self) jdc.JDC.__init__(self) diff --git a/Accas/A_JDC_CATA.py b/Accas/A_JDC_CATA.py index fd8a248d..0880a694 100644 --- a/Accas/A_JDC_CATA.py +++ b/Accas/A_JDC_CATA.py @@ -21,9 +21,10 @@ from __future__ import absolute_import from . import A_JDC from Noyau import N_JDC_CATA from Ihm import I_JDC_CATA -from Efi2Xsd.AccasXsd import X_JDC_CATA +#from Efi2Xsd.AccasXsd import X_JDC_CATA -class JDC_CATA(I_JDC_CATA.JDC_CATA,N_JDC_CATA.JDC_CATA,X_JDC_CATA): +#class JDC_CATA(I_JDC_CATA.JDC_CATA,N_JDC_CATA.JDC_CATA,X_JDC_CATA): +class JDC_CATA(I_JDC_CATA.JDC_CATA,N_JDC_CATA.JDC_CATA): class_instance=A_JDC.JDC def __init__(self,*pos,**kw): #print pos diff --git a/Accas/A_MACRO_ETAPE.py b/Accas/A_MACRO_ETAPE.py index 2bba807e..e881a4fc 100644 --- a/Accas/A_MACRO_ETAPE.py +++ b/Accas/A_MACRO_ETAPE.py @@ -22,10 +22,10 @@ from Noyau import N_MACRO_ETAPE from Validation import V_MACRO_ETAPE from Ihm import I_MACRO_ETAPE from .A_ASSD import CO -from Efi2Xsd.MCAccasXsd import X_MCCOMPO +#from Efi2Xsd.MCAccasXsd import X_MCCOMPO class MACRO_ETAPE(I_MACRO_ETAPE.MACRO_ETAPE, - X_MCCOMPO, +# X_MCCOMPO, V_MACRO_ETAPE.MACRO_ETAPE, N_MACRO_ETAPE.MACRO_ETAPE): typeCO=CO diff --git a/Accas/A_MCBLOC.py b/Accas/A_MCBLOC.py index df125d12..3b032a75 100644 --- a/Accas/A_MCBLOC.py +++ b/Accas/A_MCBLOC.py @@ -21,10 +21,11 @@ from __future__ import absolute_import from Noyau import N_MCBLOC from Validation import V_MCBLOC from Ihm import I_MCBLOC -from Efi2Xsd.MCAccasXsd import X_MCBLOC +#from Efi2Xsd.MCAccasXsd import X_MCBLOC -class MCBLOC(I_MCBLOC.MCBLOC,N_MCBLOC.MCBLOC,X_MCBLOC,V_MCBLOC.MCBLOC): +#class MCBLOC(I_MCBLOC.MCBLOC,N_MCBLOC.MCBLOC,X_MCBLOC,V_MCBLOC.MCBLOC): +class MCBLOC(I_MCBLOC.MCBLOC,N_MCBLOC.MCBLOC,V_MCBLOC.MCBLOC): def __init__(self,val,definition,nom,parent,dicoPyxbDeConstruction=None): N_MCBLOC.MCBLOC.__init__(self,val,definition,nom,parent,dicoPyxbDeConstruction=dicoPyxbDeConstruction) V_MCBLOC.MCBLOC.__init__(self) diff --git a/Accas/A_MCFACT.py b/Accas/A_MCFACT.py index 50fd1a8d..be90f609 100644 --- a/Accas/A_MCFACT.py +++ b/Accas/A_MCFACT.py @@ -21,9 +21,10 @@ from __future__ import absolute_import from Noyau import N_MCFACT from Validation import V_MCFACT from Ihm import I_MCFACT -from Efi2Xsd.MCAccasXsd import X_MCFACT +#from Efi2Xsd.MCAccasXsd import X_MCFACT -class MCFACT(I_MCFACT.MCFACT,N_MCFACT.MCFACT,X_MCFACT,V_MCFACT.MCFACT): +#class MCFACT(I_MCFACT.MCFACT,N_MCFACT.MCFACT,X_MCFACT,V_MCFACT.MCFACT): +class MCFACT(I_MCFACT.MCFACT,N_MCFACT.MCFACT,V_MCFACT.MCFACT): def __init__(self,val,definition,nom,parent,dicoPyxbDeConstruction=None): N_MCFACT.MCFACT.__init__(self,val,definition,nom,parent,dicoPyxbDeConstruction=dicoPyxbDeConstruction) V_MCFACT.MCFACT.__init__(self) diff --git a/Accas/A_MCLIST.py b/Accas/A_MCLIST.py index 5554f5ec..d197b80b 100644 --- a/Accas/A_MCLIST.py +++ b/Accas/A_MCLIST.py @@ -21,9 +21,9 @@ from __future__ import absolute_import from Noyau import N_MCLIST from Validation import V_MCLIST from Ihm import I_MCLIST -from Efi2Xsd.MCAccasXsd import X_MCLIST +#from Efi2Xsd.MCAccasXsd import X_MCLIST - -class MCList(I_MCLIST.MCList,N_MCLIST.MCList,X_MCLIST,V_MCLIST.MCList): +#class MCList(I_MCLIST.MCList,N_MCLIST.MCList,X_MCLIST,V_MCLIST.MCList): +class MCList(I_MCLIST.MCList,N_MCLIST.MCList,V_MCLIST.MCList): def __init__(self): N_MCLIST.MCList.__init__(self) diff --git a/Accas/A_MCSIMP.py b/Accas/A_MCSIMP.py index a3c63cb6..dd5d7e90 100644 --- a/Accas/A_MCSIMP.py +++ b/Accas/A_MCSIMP.py @@ -21,10 +21,10 @@ from __future__ import absolute_import from Noyau import N_MCSIMP from Validation import V_MCSIMP from Ihm import I_MCSIMP -from Efi2Xsd.MCAccasXsd import X_MCSIMP +#from Efi2Xsd.MCAccasXsd import X_MCSIMP -class MCSIMP(I_MCSIMP.MCSIMP,N_MCSIMP.MCSIMP,X_MCSIMP,V_MCSIMP.MCSIMP): +#class MCSIMP(I_MCSIMP.MCSIMP,N_MCSIMP.MCSIMP,X_MCSIMP,V_MCSIMP.MCSIMP): +class MCSIMP(I_MCSIMP.MCSIMP,N_MCSIMP.MCSIMP,V_MCSIMP.MCSIMP): def __init__(self,val,definition,nom,parent,objPyxbDeConstruction=None): - #def __init__(self,val,definition,nom,parent,objPyxbDeConstruction) quand cela sera correct dans les update_etape. pour l instant on laisse le defaut a None : 9 Aout 18: N_MCSIMP.MCSIMP.__init__(self,val,definition,nom,parent,objPyxbDeConstruction) V_MCSIMP.MCSIMP.__init__(self) diff --git a/Accas/A_OPER.py b/Accas/A_OPER.py index c1a4f0a5..5db37a90 100644 --- a/Accas/A_OPER.py +++ b/Accas/A_OPER.py @@ -21,10 +21,11 @@ from __future__ import absolute_import from Noyau import N_OPER from Ihm import I_ENTITE from Accas import A_ETAPE -from Efi2Xsd.AccasXsd import X_OPER +#from Efi2Xsd.AccasXsd import X_OPER -class OPER(N_OPER.OPER,X_OPER,I_ENTITE.ENTITE): +#class OPER(N_OPER.OPER,X_OPER,I_ENTITE.ENTITE): +class OPER(N_OPER.OPER,I_ENTITE.ENTITE): class_instance=A_ETAPE.ETAPE def __init__(self,*tup,**args): I_ENTITE.ENTITE.__init__(self) diff --git a/Accas/A_PROC.py b/Accas/A_PROC.py index 0ae8bb48..d74d164f 100644 --- a/Accas/A_PROC.py +++ b/Accas/A_PROC.py @@ -21,13 +21,12 @@ from __future__ import absolute_import from Noyau import N_PROC from Ihm import I_ENTITE from Accas import A_PROC_ETAPE -from Efi2Xsd.AccasXsd import X_PROC +#from Efi2Xsd.AccasXsd import X_PROC -class PROC(N_PROC.PROC,X_PROC,I_ENTITE.ENTITE): +#class PROC(N_PROC.PROC,X_PROC,I_ENTITE.ENTITE): +class PROC(N_PROC.PROC,I_ENTITE.ENTITE): class_instance=A_PROC_ETAPE.PROC_ETAPE def __init__(self,*tup,**args): - #print (tup) - #print (args) I_ENTITE.ENTITE.__init__(self) N_PROC.PROC.__init__(self,*tup,**args) diff --git a/Accas/A_PROC_ETAPE.py b/Accas/A_PROC_ETAPE.py index 7db1db8b..36b13572 100644 --- a/Accas/A_PROC_ETAPE.py +++ b/Accas/A_PROC_ETAPE.py @@ -21,11 +21,11 @@ from __future__ import absolute_import from Noyau import N_PROC_ETAPE from Validation import V_PROC_ETAPE from Ihm import I_PROC_ETAPE -from Efi2Xsd.MCAccasXsd import X_MCCOMPO +#from Efi2Xsd.MCAccasXsd import X_MCCOMPO class PROC_ETAPE(I_PROC_ETAPE.PROC_ETAPE, V_PROC_ETAPE.PROC_ETAPE, - X_MCCOMPO, +# X_MCCOMPO, N_PROC_ETAPE.PROC_ETAPE): def __init__(self,oper=None,args={}): N_PROC_ETAPE.PROC_ETAPE.__init__(self,oper=oper,args=args) diff --git a/Accas/A_SIMP.py b/Accas/A_SIMP.py index 584627ed..90a0bf5b 100644 --- a/Accas/A_SIMP.py +++ b/Accas/A_SIMP.py @@ -21,9 +21,10 @@ from __future__ import absolute_import from Noyau import N_SIMP from Ihm import I_ENTITE from Accas import A_MCSIMP -from Efi2Xsd.AccasXsd import X_SIMP +#from Efi2Xsd.AccasXsd import X_SIMP -class SIMP(N_SIMP.SIMP,X_SIMP,I_ENTITE.ENTITE): +#class SIMP(N_SIMP.SIMP,X_SIMP,I_ENTITE.ENTITE): +class SIMP(N_SIMP.SIMP,I_ENTITE.ENTITE): class_instance=A_MCSIMP.MCSIMP def __init__(self,*tup,**args): #print tup diff --git a/Accas/CMakeLists.txt b/Accas/CMakeLists.txt deleted file mode 100644 index e3ce0580..00000000 --- a/Accas/CMakeLists.txt +++ /dev/null @@ -1,32 +0,0 @@ -# -*- coding: utf-8 -*- -# CONFIGURATION MANAGEMENT OF EDF VERSION -# ====================================================================== -# COPYRIGHT (C) 1991 - 2002 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM 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 -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# -# -# ====================================================================== - -# Installation de tous les fichiers Python du repertoire et des sous-repertoires (sauf CVS) -install ( DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} - DESTINATION ${CMAKE_INSTALL_PREFIX} - FILES_MATCHING PATTERN *.py - PATTERN CVS EXCLUDE - ) - - -### Local Variables: -### mode: cmake -### End: diff --git a/Adao/ADAO_Cata_V0_V7_7_0.py b/Adao/ADAO_Cata_V0_V7_7_0.py deleted file mode 100755 index b9e8c02b..00000000 --- a/Adao/ADAO_Cata_V0_V7_7_0.py +++ /dev/null @@ -1,1261 +0,0 @@ -#-*-coding:iso-8859-1-*- -# -# Copyright (C) 2008-2015 EDF R&D -# -# This file is part of SALOME ADAO module -# -# 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 -# -# Author: Jean-Philippe Argaud, jean-philippe.argaud@edf.fr, EDF R&D - -# -------------------------------------------------------- -# Generated by AdaoCatalogGenerator on 2015-10-08 07:57:55 -# -------------------------------------------------------- - -import os, re -import Accas -from Accas import * - -JdC = JDC_CATA ( - code = 'ADAO', - execmodul = None, - regles = ( AU_MOINS_UN ('ASSIMILATION_STUDY','CHECKING_STUDY'), AU_PLUS_UN ('ASSIMILATION_STUDY','CHECKING_STUDY')), - ) -VERSION_CATALOGUE='V7_7_0' - -def NoCheckInNS(filename): - return 1 -NoCheckInNS.info = "" -def DirectOperatorInNS(filename): - if os.path.exists(filename): - fc = open(filename, 'r').readlines() - cr = re.compile("^def[\s]*DirectOperator[\s]*\(") - for ln in fc: - if cr.match(ln): return 1 - cr = re.compile("^DirectOperator[\s]*=") - for ln in fc: - if cr.match(ln): return 1 - return 0 -DirectOperatorInNS.info = u"The Python file has to contain explicitly a \"DirectOperator\" function definition with only one vector as argument." -def TangentOperatorInNS(filename): - if os.path.exists(filename): - fc = open(filename, 'r').readlines() - cr = re.compile("^def[\s]*TangentOperator[\s]*\(") - for ln in fc: - if cr.match(ln): return 1 - cr = re.compile("^TangentOperator[\s]*=") - for ln in fc: - if cr.match(ln): return 1 - return 0 -TangentOperatorInNS.info = u"The Python file has to contain explicitly a \"TangentOperator\" function definition with only one pair of vectors as argument." -def AdjointOperatorInNS(filename): - if os.path.exists(filename): - fc = open(filename, 'r').readlines() - cr = re.compile("^def[\s]*AdjointOperator[\s]*\(") - for ln in fc: - if cr.match(ln): return 1 - cr = re.compile("^AdjointOperator[\s]*=") - for ln in fc: - if cr.match(ln): return 1 - return 0 -AdjointOperatorInNS.info = u"The Python file has to contain explicitly an \"AdjointOperator\" function definition with only one pair of vectors as argument." - -def F_VectorSerie(statut, fv=NoCheckInNS) : return FACT( - statut = statut, - FROM = SIMP(statut = "o", typ = "TXM", into=("String", "Script", ), defaut="Script"), - SCRIPT_DATA = BLOC ( condition = " FROM in ( 'Script', ) ", - SCRIPT_FILE = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py'), FunctionVal(fv)], fr="En attente d'un nom de fichier script, avec ou sans le chemin complet pour le trouver, contenant si ariable interne de meme nom que le concept parent", ang="Waiting for a script file name, with or without the full path to find it, containing if necessary the definition of an internal variable of the same name as the parent concept"), - ), - STRING_DATA = BLOC ( condition = " FROM in ( 'String', ) ", - STRING = SIMP(statut = "o", typ = "TXM", fr="En attente d'une chaine de caractères entre guillements. Pour construire un vecteur ou une matrice, ce doit être une suite de nombres, utilisant un espace ou une virgule pour séparer deux éléments et un point-virgule pour séparer deux lignes", ang="Waiting for a string in quotes. To build a vector or a matrix, it has to be a float serie, using a space or comma to separate two elements in a line, a semi-colon to separate rows"), - ), - SCRIPTWITHFUNCTIONS_DATA = BLOC ( condition = " FROM in ( 'ScriptWithFunctions', ) ", - SCRIPTWITHFUNCTIONS_FILE = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py'), FunctionVal(DirectOperatorInNS), FunctionVal(TangentOperatorInNS), FunctionVal(AdjointOperatorInNS)], fr="En attente d'un nom de fichier script, avec ou sans le chemin complet pour le trouver, contenant en variables internes trois fonctions de calcul nommées DirectOperator, TangentOperator et AdjointOperator", ang="Waiting for a script file name, with or without the full path to find it, containing as internal variables three computation functions named DirectOperator, TangentOperator and AdjointOperator"), - ), - SCRIPTWITHONEFUNCTION_DATA = BLOC ( condition = " FROM in ( 'ScriptWithOneFunction', ) ", - SCRIPTWITHONEFUNCTION_FILE = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py'), FunctionVal(DirectOperatorInNS)], fr="En attente d'un nom de fichier script, avec ou sans le chemin complet pour le trouver, contenant en variable interne une seule fonction de calcul nommée DirectOperator", ang="Waiting for a script file name, with or without the full path to find it, containing as internal variable only one function named DirectOperator"), - DifferentialIncrement = SIMP(statut="o", typ = "R", val_min=0, val_max=1, defaut=0.01, fr="Incrément de la perturbation dX pour calculer la dérivée, construite en multipliant X par l'incrément en évitant les valeurs nulles", ang="Increment of dX perturbation to calculate the derivative, build multiplying X by the increment avoiding null values"), - CenteredFiniteDifference = SIMP(statut="o", typ = "I", into=(0, 1), defaut=0, fr="Formulation centrée (1) ou décentrée (0) pour la méthode des différences finies", ang="Centered (1) or uncentered (0) formulation for the finite differences method"), - EnableMultiProcessing = SIMP(statut="f", typ = "I", into=(0, 1), defaut=0, fr="Calculs élémentaires effectués en séquentiel (0) ou en parallèle (1) dans la méthode des différences finies", ang="Elementary calculations done sequentially (0) or in parallel (1) in the finite differences method"), - NumberOfProcesses = SIMP(statut="f", typ = "I", val_min=0, defaut=0, fr="Nombre de processus parallèles, 0 pour un contrôle automatique", ang="Number of parallel processes, 0 for automatic control"), - ), - SCRIPTWITHSWITCH_DATA = BLOC ( condition = " FROM in ( 'ScriptWithSwitch', ) ", - SCRIPTWITHSWITCH_FILE = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py')], fr="En attente d'un nom de fichier script, avec ou sans le chemin complet pour le trouver, contenant un switch pour les calculs direct, tangent et adjoint", ang="Waiting for a script file name, with or without the full path to find it, containing a switch for direct, tangent and adjoint computations"), - ), - TEMPLATE_DATA = BLOC (condition = " FROM in ( 'Template', ) ", - Template = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "AnalysisPrinter", into=("AnalysisPrinter", "AnalysisSaver", "AnalysisPrinterAndSaver")), - AnalysisPrinter = BLOC (condition = " Template == 'AnalysisPrinter' ", - ValueTemplate = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "import numpy\nxa=numpy.ravel(ADD.get('Analysis')[-1])\nprint 'Analysis:',xa" ), - ), - AnalysisSaver = BLOC (condition = " Template == 'AnalysisSaver' ", - ValueTemplate = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "import numpy\nxa=numpy.ravel(ADD.get('Analysis')[-1])\nf='/tmp/analysis.txt'\nprint 'Analysis saved in \"%s\"'%f\nnumpy.savetxt(f,xa)" ), - ), - AnalysisPrinterAndSaver = BLOC (condition = " Template == 'AnalysisPrinterAndSaver' ", - ValueTemplate = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "import numpy\nxa=numpy.ravel(ADD.get('Analysis')[-1])\nprint 'Analysis:',xa\nf='/tmp/analysis.txt'\nprint 'Analysis saved in \"%s\"'%f\nnumpy.savetxt(f,xa)" ), - ), - ), - ) - -def F_Function(statut, fv=NoCheckInNS) : return FACT( - statut = statut, - FROM = SIMP(statut = "o", typ = "TXM", into=("ScriptWithOneFunction", "ScriptWithFunctions", "ScriptWithSwitch", "FunctionDict", ), defaut="ScriptWithOneFunction"), - SCRIPT_DATA = BLOC ( condition = " FROM in ( 'Script', ) ", - SCRIPT_FILE = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py'), FunctionVal(fv)], fr="En attente d'un nom de fichier script, avec ou sans le chemin complet pour le trouver, contenant si nécessaire la définition d'une variable interne de même nom que le concept parent", ang="Waiting for a script file name, with or without the full path to find it, containing if necessary the definition of an internal variable of the same name as the parent concept"), - ), - STRING_DATA = BLOC ( condition = " FROM in ( 'String', ) ", - STRING = SIMP(statut = "o", typ = "TXM", fr="En attente d'une chaine de caractères entre guillements. Pour construire un vecteur ou une matrice, ce doit être une suite de nombres, utilisant un espace ou une virgule pour séparer deux éléments et un point-virgule pour séparer deux lignes", ang="Waiting for a string in quotes. To build a vector or a matrix, it has to be a float serie, using a space or comma to separate two elements in a line, a semi-colon to separate rows"), - ), - SCRIPTWITHFUNCTIONS_DATA = BLOC ( condition = " FROM in ( 'ScriptWithFunctions', ) ", - SCRIPTWITHFUNCTIONS_FILE = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py'), FunctionVal(DirectOperatorInNS), FunctionVal(TangentOperatorInNS), FunctionVal(AdjointOperatorInNS)], fr="En attente d'un nom de fichier script, avec ou sans le chemin complet pour le trouver, contenant en variables internes trois fonctions de calcul nommées DirectOperator, TangentOperator et AdjointOperator", ang="Waiting for a script file name, with or without the full path to find it, containing as internal variables three computation functions named DirectOperator, TangentOperator and AdjointOperator"), - ), - SCRIPTWITHONEFUNCTION_DATA = BLOC ( condition = " FROM in ( 'ScriptWithOneFunction', ) ", - SCRIPTWITHONEFUNCTION_FILE = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py'), FunctionVal(DirectOperatorInNS)], fr="En attente d'un nom de fichier script, avec ou sans le chemin complet pour le trouver, contenant en variable interne une seule fonction de calcul nommée DirectOperator", ang="Waiting for a script file name, with or without the full path to find it, containing as internal variable only one function named DirectOperator"), - DifferentialIncrement = SIMP(statut="o", typ = "R", val_min=0, val_max=1, defaut=0.01, fr="Incrément de la perturbation dX pour calculer la dérivée, construite en multipliant X par l'incrément en évitant les valeurs nulles", ang="Increment of dX perturbation to calculate the derivative, build multiplying X by the increment avoiding null values"), - CenteredFiniteDifference = SIMP(statut="o", typ = "I", into=(0, 1), defaut=0, fr="Formulation centrée (1) ou décentrée (0) pour la méthode des différences finies", ang="Centered (1) or uncentered (0) formulation for the finite differences method"), - EnableMultiProcessing = SIMP(statut="f", typ = "I", into=(0, 1), defaut=0, fr="Calculs élémentaires effectués en séquentiel (0) ou en parallèle (1) dans la méthode des différences finies", ang="Elementary calculations done sequentially (0) or in parallel (1) in the finite differences method"), - NumberOfProcesses = SIMP(statut="f", typ = "I", val_min=0, defaut=0, fr="Nombre de processus parallèles, 0 pour un contrôle automatique", ang="Number of parallel processes, 0 for automatic control"), - ), - SCRIPTWITHSWITCH_DATA = BLOC ( condition = " FROM in ( 'ScriptWithSwitch', ) ", - SCRIPTWITHSWITCH_FILE = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py')], fr="En attente d'un nom de fichier script, avec ou sans le chemin complet pour le trouver, contenant un switch pour les calculs direct, tangent et adjoint", ang="Waiting for a script file name, with or without the full path to find it, containing a switch for direct, tangent and adjoint computations"), - ), - TEMPLATE_DATA = BLOC (condition = " FROM in ( 'Template', ) ", - Template = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "AnalysisPrinter", into=("AnalysisPrinter", "AnalysisSaver", "AnalysisPrinterAndSaver")), - AnalysisPrinter = BLOC (condition = " Template == 'AnalysisPrinter' ", - ValueTemplate = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "import numpy\nxa=numpy.ravel(ADD.get('Analysis')[-1])\nprint 'Analysis:',xa" ), - ), - AnalysisSaver = BLOC (condition = " Template == 'AnalysisSaver' ", - ValueTemplate = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "import numpy\nxa=numpy.ravel(ADD.get('Analysis')[-1])\nf='/tmp/analysis.txt'\nprint 'Analysis saved in \"%s\"'%f\nnumpy.savetxt(f,xa)" ), - ), - AnalysisPrinterAndSaver = BLOC (condition = " Template == 'AnalysisPrinterAndSaver' ", - ValueTemplate = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "import numpy\nxa=numpy.ravel(ADD.get('Analysis')[-1])\nprint 'Analysis:',xa\nf='/tmp/analysis.txt'\nprint 'Analysis saved in \"%s\"'%f\nnumpy.savetxt(f,xa)" ), - ), - ), - ) - -def F_Matrix(statut, fv=NoCheckInNS) : return FACT( - statut = statut, - FROM = SIMP(statut = "o", typ = "TXM", into=("String", "Script", ), defaut="Script"), - SCRIPT_DATA = BLOC ( condition = " FROM in ( 'Script', ) ", - SCRIPT_FILE = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py'), FunctionVal(fv)], fr="En attente d'un nom de fichier script, avec ou sans le chemin complet pour le trouver, contenant si nécessaire la définition d'une variable interne de même nom que le concept parent", ang="Waiting for a script file name, with or without the full path to find it, containing if necessary the definition of an internal variable of the same name as the parent concept"), - ), - STRING_DATA = BLOC ( condition = " FROM in ( 'String', ) ", - STRING = SIMP(statut = "o", typ = "TXM", fr="En attente d'une chaine de caractères entre guillements. Pour construire un vecteur ou une matrice, ce doit être une suite de nombres, utilisant un espace ou une virgule pour séparer deux éléments et un point-virgule pour séparer deux lignes", ang="Waiting for a string in quotes. To build a vector or a matrix, it has to be a float serie, using a space or comma to separate two elements in a line, a semi-colon to separate rows"), - ), - SCRIPTWITHFUNCTIONS_DATA = BLOC ( condition = " FROM in ( 'ScriptWithFunctions', ) ", - SCRIPTWITHFUNCTIONS_FILE = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py'), FunctionVal(DirectOperatorInNS), FunctionVal(TangentOperatorInNS), FunctionVal(AdjointOperatorInNS)], fr="En attente d'un nom de fichier script, avec ou sans le chemin complet pour le trouver, contenant en variables internes trois fonctions de calcul nommées DirectOperator, TangentOperator et AdjointOperator", ang="Waiting for a script file name, with or without the full path to find it, containing as internal variables three computation functions named DirectOperator, TangentOperator and AdjointOperator"), - ), - SCRIPTWITHONEFUNCTION_DATA = BLOC ( condition = " FROM in ( 'ScriptWithOneFunction', ) ", - SCRIPTWITHONEFUNCTION_FILE = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py'), FunctionVal(DirectOperatorInNS)], fr="En attente d'un nom de fichier script, avec ou sans le chemin complet pour le trouver, contenant en variable interne une seule fonction de calcul nommée DirectOperator", ang="Waiting for a script file name, with or without the full path to find it, containing as internal variable only one function named DirectOperator"), - DifferentialIncrement = SIMP(statut="o", typ = "R", val_min=0, val_max=1, defaut=0.01, fr="Incrément de la perturbation dX pour calculer la dérivée, construite en multipliant X par l'incrément en évitant les valeurs nulles", ang="Increment of dX perturbation to calculate the derivative, build multiplying X by the increment avoiding null values"), - CenteredFiniteDifference = SIMP(statut="o", typ = "I", into=(0, 1), defaut=0, fr="Formulation centrée (1) ou décentrée (0) pour la méthode des différences finies", ang="Centered (1) or uncentered (0) formulation for the finite differences method"), - EnableMultiProcessing = SIMP(statut="f", typ = "I", into=(0, 1), defaut=0, fr="Calculs élémentaires effectués en séquentiel (0) ou en parallèle (1) dans la méthode des différences finies", ang="Elementary calculations done sequentially (0) or in parallel (1) in the finite differences method"), - NumberOfProcesses = SIMP(statut="f", typ = "I", val_min=0, defaut=0, fr="Nombre de processus parallèles, 0 pour un contrôle automatique", ang="Number of parallel processes, 0 for automatic control"), - ), - SCRIPTWITHSWITCH_DATA = BLOC ( condition = " FROM in ( 'ScriptWithSwitch', ) ", - SCRIPTWITHSWITCH_FILE = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py')], fr="En attente d'un nom de fichier script, avec ou sans le chemin complet pour le trouver, contenant un switch pour les calculs direct, tangent et adjoint", ang="Waiting for a script file name, with or without the full path to find it, containing a switch for direct, tangent and adjoint computations"), - ), - TEMPLATE_DATA = BLOC (condition = " FROM in ( 'Template', ) ", - Template = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "AnalysisPrinter", into=("AnalysisPrinter", "AnalysisSaver", "AnalysisPrinterAndSaver")), - AnalysisPrinter = BLOC (condition = " Template == 'AnalysisPrinter' ", - ValueTemplate = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "import numpy\nxa=numpy.ravel(ADD.get('Analysis')[-1])\nprint 'Analysis:',xa" ), - ), - AnalysisSaver = BLOC (condition = " Template == 'AnalysisSaver' ", - ValueTemplate = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "import numpy\nxa=numpy.ravel(ADD.get('Analysis')[-1])\nf='/tmp/analysis.txt'\nprint 'Analysis saved in \"%s\"'%f\nnumpy.savetxt(f,xa)" ), - ), - AnalysisPrinterAndSaver = BLOC (condition = " Template == 'AnalysisPrinterAndSaver' ", - ValueTemplate = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "import numpy\nxa=numpy.ravel(ADD.get('Analysis')[-1])\nprint 'Analysis:',xa\nf='/tmp/analysis.txt'\nprint 'Analysis saved in \"%s\"'%f\nnumpy.savetxt(f,xa)" ), - ), - ), - ) - -def F_DiagonalSparseMatrix(statut, fv=NoCheckInNS) : return FACT( - statut = statut, - FROM = SIMP(statut = "o", typ = "TXM", into=("String", "Script", ), defaut="String"), - SCRIPT_DATA = BLOC ( condition = " FROM in ( 'Script', ) ", - SCRIPT_FILE = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py'), FunctionVal(fv)], fr="En attente d'un nom de fichier script, avec ou sans le chemin complet pour le trouver, contenant si nécessaire la définition d'une variable interne de même nom que le concept parent", ang="Waiting for a script file name, with or without the full path to find it, containing if necessary the definition of an internal variable of the same name as the parent concept"), - ), - STRING_DATA = BLOC ( condition = " FROM in ( 'String', ) ", - STRING = SIMP(statut = "o", typ = "TXM", fr="En attente d'une chaine de caractères entre guillements. Pour construire un vecteur ou une matrice, ce doit être une suite de nombres, utilisant un espace ou une virgule pour séparer deux éléments et un point-virgule pour séparer deux lignes", ang="Waiting for a string in quotes. To build a vector or a matrix, it has to be a float serie, using a space or comma to separate two elements in a line, a semi-colon to separate rows"), - ), - SCRIPTWITHFUNCTIONS_DATA = BLOC ( condition = " FROM in ( 'ScriptWithFunctions', ) ", - SCRIPTWITHFUNCTIONS_FILE = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py'), FunctionVal(DirectOperatorInNS), FunctionVal(TangentOperatorInNS), FunctionVal(AdjointOperatorInNS)], fr="En attente d'un nom de fichier script, avec ou sans le chemin complet pour le trouver, contenant en variables internes trois fonctions de calcul nommées DirectOperator, TangentOperator et AdjointOperator", ang="Waiting for a script file name, with or without the full path to find it, containing as internal variables three computation functions named DirectOperator, TangentOperator and AdjointOperator"), - ), - SCRIPTWITHONEFUNCTION_DATA = BLOC ( condition = " FROM in ( 'ScriptWithOneFunction', ) ", - SCRIPTWITHONEFUNCTION_FILE = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py'), FunctionVal(DirectOperatorInNS)], fr="En attente d'un nom de fichier script, avec ou sans le chemin complet pour le trouver, contenant en variable interne une seule fonction de calcul nommée DirectOperator", ang="Waiting for a script file name, with or without the full path to find it, containing as internal variable only one function named DirectOperator"), - DifferentialIncrement = SIMP(statut="o", typ = "R", val_min=0, val_max=1, defaut=0.01, fr="Incrément de la perturbation dX pour calculer la dérivée, construite en multipliant X par l'incrément en évitant les valeurs nulles", ang="Increment of dX perturbation to calculate the derivative, build multiplying X by the increment avoiding null values"), - CenteredFiniteDifference = SIMP(statut="o", typ = "I", into=(0, 1), defaut=0, fr="Formulation centrée (1) ou décentrée (0) pour la méthode des différences finies", ang="Centered (1) or uncentered (0) formulation for the finite differences method"), - EnableMultiProcessing = SIMP(statut="f", typ = "I", into=(0, 1), defaut=0, fr="Calculs élémentaires effectués en séquentiel (0) ou en parallèle (1) dans la méthode des différences finies", ang="Elementary calculations done sequentially (0) or in parallel (1) in the finite differences method"), - NumberOfProcesses = SIMP(statut="f", typ = "I", val_min=0, defaut=0, fr="Nombre de processus parallèles, 0 pour un contrôle automatique", ang="Number of parallel processes, 0 for automatic control"), - ), - SCRIPTWITHSWITCH_DATA = BLOC ( condition = " FROM in ( 'ScriptWithSwitch', ) ", - SCRIPTWITHSWITCH_FILE = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py')], fr="En attente d'un nom de fichier script, avec ou sans le chemin complet pour le trouver, contenant un switch pour les calculs direct, tangent et adjoint", ang="Waiting for a script file name, with or without the full path to find it, containing a switch for direct, tangent and adjoint computations"), - ), - TEMPLATE_DATA = BLOC (condition = " FROM in ( 'Template', ) ", - Template = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "AnalysisPrinter", into=("AnalysisPrinter", "AnalysisSaver", "AnalysisPrinterAndSaver")), - AnalysisPrinter = BLOC (condition = " Template == 'AnalysisPrinter' ", - ValueTemplate = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "import numpy\nxa=numpy.ravel(ADD.get('Analysis')[-1])\nprint 'Analysis:',xa" ), - ), - AnalysisSaver = BLOC (condition = " Template == 'AnalysisSaver' ", - ValueTemplate = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "import numpy\nxa=numpy.ravel(ADD.get('Analysis')[-1])\nf='/tmp/analysis.txt'\nprint 'Analysis saved in \"%s\"'%f\nnumpy.savetxt(f,xa)" ), - ), - AnalysisPrinterAndSaver = BLOC (condition = " Template == 'AnalysisPrinterAndSaver' ", - ValueTemplate = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "import numpy\nxa=numpy.ravel(ADD.get('Analysis')[-1])\nprint 'Analysis:',xa\nf='/tmp/analysis.txt'\nprint 'Analysis saved in \"%s\"'%f\nnumpy.savetxt(f,xa)" ), - ), - ), - ) - -def F_Vector(statut, fv=NoCheckInNS) : return FACT( - statut = statut, - FROM = SIMP(statut = "o", typ = "TXM", into=("String", "Script", ), defaut="Script"), - SCRIPT_DATA = BLOC ( condition = " FROM in ( 'Script', ) ", - SCRIPT_FILE = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py'), FunctionVal(fv)], fr="En attente d'un nom de fichier script, avec ou sans le chemin complet pour le trouver, contenant si nécessaire la définition d'une variable interne de même nom que le concept parent", ang="Waiting for a script file name, with or without the full path to find it, containing if necessary the definition of an internal variable of the same name as the parent concept"), - ), - STRING_DATA = BLOC ( condition = " FROM in ( 'String', ) ", - STRING = SIMP(statut = "o", typ = "TXM", fr="En attente d'une chaine de caractères entre guillements. Pour construire un vecteur ou une matrice, ce doit être une suite de nombres, utilisant un espace ou une virgule pour séparer deux éléments et un point-virgule pour séparer deux lignes", ang="Waiting for a string in quotes. To build a vector or a matrix, it has to be a float serie, using a space or comma to separate two elements in a line, a semi-colon to separate rows"), - ), - SCRIPTWITHFUNCTIONS_DATA = BLOC ( condition = " FROM in ( 'ScriptWithFunctions', ) ", - SCRIPTWITHFUNCTIONS_FILE = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py'), FunctionVal(DirectOperatorInNS), FunctionVal(TangentOperatorInNS), FunctionVal(AdjointOperatorInNS)], fr="En attente d'un nom de fichier script, avec ou sans le chemin complet pour le trouver, contenant en variables internes trois fonctions de calcul nommées DirectOperator, TangentOperator et AdjointOperator", ang="Waiting for a script file name, with or without the full path to find it, containing as internal variables three computation functions named DirectOperator, TangentOperator and AdjointOperator"), - ), - SCRIPTWITHONEFUNCTION_DATA = BLOC ( condition = " FROM in ( 'ScriptWithOneFunction', ) ", - SCRIPTWITHONEFUNCTION_FILE = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py'), FunctionVal(DirectOperatorInNS)], fr="En attente d'un nom de fichier script, avec ou sans le chemin complet pour le trouver, contenant en variable interne une seule fonction de calcul nommée DirectOperator", ang="Waiting for a script file name, with or without the full path to find it, containing as internal variable only one function named DirectOperator"), - DifferentialIncrement = SIMP(statut="o", typ = "R", val_min=0, val_max=1, defaut=0.01, fr="Incrément de la perturbation dX pour calculer la dérivée, construite en multipliant X par l'incrément en évitant les valeurs nulles", ang="Increment of dX perturbation to calculate the derivative, build multiplying X by the increment avoiding null values"), - CenteredFiniteDifference = SIMP(statut="o", typ = "I", into=(0, 1), defaut=0, fr="Formulation centrée (1) ou décentrée (0) pour la méthode des différences finies", ang="Centered (1) or uncentered (0) formulation for the finite differences method"), - EnableMultiProcessing = SIMP(statut="f", typ = "I", into=(0, 1), defaut=0, fr="Calculs élémentaires effectués en séquentiel (0) ou en parallèle (1) dans la méthode des différences finies", ang="Elementary calculations done sequentially (0) or in parallel (1) in the finite differences method"), - NumberOfProcesses = SIMP(statut="f", typ = "I", val_min=0, defaut=0, fr="Nombre de processus parallèles, 0 pour un contrôle automatique", ang="Number of parallel processes, 0 for automatic control"), - ), - SCRIPTWITHSWITCH_DATA = BLOC ( condition = " FROM in ( 'ScriptWithSwitch', ) ", - SCRIPTWITHSWITCH_FILE = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py')], fr="En attente d'un nom de fichier script, avec ou sans le chemin complet pour le trouver, contenant un switch pour les calculs direct, tangent et adjoint", ang="Waiting for a script file name, with or without the full path to find it, containing a switch for direct, tangent and adjoint computations"), - ), - TEMPLATE_DATA = BLOC (condition = " FROM in ( 'Template', ) ", - Template = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "AnalysisPrinter", into=("AnalysisPrinter", "AnalysisSaver", "AnalysisPrinterAndSaver")), - AnalysisPrinter = BLOC (condition = " Template == 'AnalysisPrinter' ", - ValueTemplate = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "import numpy\nxa=numpy.ravel(ADD.get('Analysis')[-1])\nprint 'Analysis:',xa" ), - ), - AnalysisSaver = BLOC (condition = " Template == 'AnalysisSaver' ", - ValueTemplate = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "import numpy\nxa=numpy.ravel(ADD.get('Analysis')[-1])\nf='/tmp/analysis.txt'\nprint 'Analysis saved in \"%s\"'%f\nnumpy.savetxt(f,xa)" ), - ), - AnalysisPrinterAndSaver = BLOC (condition = " Template == 'AnalysisPrinterAndSaver' ", - ValueTemplate = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "import numpy\nxa=numpy.ravel(ADD.get('Analysis')[-1])\nprint 'Analysis:',xa\nf='/tmp/analysis.txt'\nprint 'Analysis saved in \"%s\"'%f\nnumpy.savetxt(f,xa)" ), - ), - ), - ) - -def F_Dict(statut, fv=NoCheckInNS) : return FACT( - statut = statut, - FROM = SIMP(statut = "o", typ = "TXM", into=("String", "Script", ), defaut="Script"), - SCRIPT_DATA = BLOC ( condition = " FROM in ( 'Script', ) ", - SCRIPT_FILE = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py'), FunctionVal(fv)], fr="En attente d'un nom de fichier script, avec ou sans le chemin complet pour le trouver, contenant si nécessaire la définition d'une variable interne de même nom que le concept parent", ang="Waiting for a script file name, with or without the full path to find it, containing if necessary the definition of an internal variable of the same name as the parent concept"), - ), - STRING_DATA = BLOC ( condition = " FROM in ( 'String', ) ", - STRING = SIMP(statut = "o", typ = "TXM", fr="En attente d'une chaine de caractères entre guillements. Pour construire un vecteur ou une matrice, ce doit être une suite de nombres, utilisant un espace ou une virgule pour séparer deux éléments et un point-virgule pour séparer deux lignes", ang="Waiting for a string in quotes. To build a vector or a matrix, it has to be a float serie, using a space or comma to separate two elements in a line, a semi-colon to separate rows"), - ), - SCRIPTWITHFUNCTIONS_DATA = BLOC ( condition = " FROM in ( 'ScriptWithFunctions', ) ", - SCRIPTWITHFUNCTIONS_FILE = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py'), FunctionVal(DirectOperatorInNS), FunctionVal(TangentOperatorInNS), FunctionVal(AdjointOperatorInNS)], fr="En attente d'un nom de fichier script, avec ou sans le chemin complet pour le trouver, contenant en variables internes trois fonctions de calcul nommées DirectOperator, TangentOperator et AdjointOperator", ang="Waiting for a script file name, with or without the full path to find it, containing as internal variables three computation functions named DirectOperator, TangentOperator and AdjointOperator"), - ), - SCRIPTWITHONEFUNCTION_DATA = BLOC ( condition = " FROM in ( 'ScriptWithOneFunction', ) ", - SCRIPTWITHONEFUNCTION_FILE = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py'), FunctionVal(DirectOperatorInNS)], fr="En attente d'un nom de fichier script, avec ou sans le chemin complet pour le trouver, contenant en variable interne une seule fonction de calcul nommée DirectOperator", ang="Waiting for a script file name, with or without the full path to find it, containing as internal variable only one function named DirectOperator"), - DifferentialIncrement = SIMP(statut="o", typ = "R", val_min=0, val_max=1, defaut=0.01, fr="Incrément de la perturbation dX pour calculer la dérivée, construite en multipliant X par l'incrément en évitant les valeurs nulles", ang="Increment of dX perturbation to calculate the derivative, build multiplying X by the increment avoiding null values"), - CenteredFiniteDifference = SIMP(statut="o", typ = "I", into=(0, 1), defaut=0, fr="Formulation centrée (1) ou décentrée (0) pour la méthode des différences finies", ang="Centered (1) or uncentered (0) formulation for the finite differences method"), - EnableMultiProcessing = SIMP(statut="f", typ = "I", into=(0, 1), defaut=0, fr="Calculs élémentaires effectués en séquentiel (0) ou en parallèle (1) dans la méthode des différences finies", ang="Elementary calculations done sequentially (0) or in parallel (1) in the finite differences method"), - NumberOfProcesses = SIMP(statut="f", typ = "I", val_min=0, defaut=0, fr="Nombre de processus parallèles, 0 pour un contrôle automatique", ang="Number of parallel processes, 0 for automatic control"), - ), - SCRIPTWITHSWITCH_DATA = BLOC ( condition = " FROM in ( 'ScriptWithSwitch', ) ", - SCRIPTWITHSWITCH_FILE = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py')], fr="En attente d'un nom de fichier script, avec ou sans le chemin complet pour le trouver, contenant un switch pour les calculs direct, tangent et adjoint", ang="Waiting for a script file name, with or without the full path to find it, containing a switch for direct, tangent and adjoint computations"), - ), - TEMPLATE_DATA = BLOC (condition = " FROM in ( 'Template', ) ", - Template = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "AnalysisPrinter", into=("AnalysisPrinter", "AnalysisSaver", "AnalysisPrinterAndSaver")), - AnalysisPrinter = BLOC (condition = " Template == 'AnalysisPrinter' ", - ValueTemplate = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "import numpy\nxa=numpy.ravel(ADD.get('Analysis')[-1])\nprint 'Analysis:',xa" ), - ), - AnalysisSaver = BLOC (condition = " Template == 'AnalysisSaver' ", - ValueTemplate = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "import numpy\nxa=numpy.ravel(ADD.get('Analysis')[-1])\nf='/tmp/analysis.txt'\nprint 'Analysis saved in \"%s\"'%f\nnumpy.savetxt(f,xa)" ), - ), - AnalysisPrinterAndSaver = BLOC (condition = " Template == 'AnalysisPrinterAndSaver' ", - ValueTemplate = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "import numpy\nxa=numpy.ravel(ADD.get('Analysis')[-1])\nprint 'Analysis:',xa\nf='/tmp/analysis.txt'\nprint 'Analysis saved in \"%s\"'%f\nnumpy.savetxt(f,xa)" ), - ), - ), - ) - -def F_ScalarSparseMatrix(statut, fv=NoCheckInNS) : return FACT( - statut = statut, - FROM = SIMP(statut = "o", typ = "TXM", into=("String", "Script", ), defaut="String"), - SCRIPT_DATA = BLOC ( condition = " FROM in ( 'Script', ) ", - SCRIPT_FILE = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py'), FunctionVal(fv)], fr="En attente d'un nom de fichier script, avec ou sans le chemin complet pour le trouver, contenant si nécessaire la définition d'une variable interne de même nom que le concept parent", ang="Waiting for a script file name, with or without the full path to find it, containing if necessary the definition of an internal variable of the same name as the parent concept"), - ), - STRING_DATA = BLOC ( condition = " FROM in ( 'String', ) ", - STRING = SIMP(statut = "o", typ = "TXM", defaut="1.", fr="En attente d'une chaine de caractères entre guillements. Pour construire un vecteur ou une matrice, ce doit être une suite de nombres, utilisant un espace ou une virgule pour séparer deux éléments et un point-virgule pour séparer deux lignes", ang="Waiting for a string in quotes. To build a vector or a matrix, it has to be a float serie, using a space or comma to separate two elements in a line, a semi-colon to separate rows"), - ), - SCRIPTWITHFUNCTIONS_DATA = BLOC ( condition = " FROM in ( 'ScriptWithFunctions', ) ", - SCRIPTWITHFUNCTIONS_FILE = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py'), FunctionVal(DirectOperatorInNS), FunctionVal(TangentOperatorInNS), FunctionVal(AdjointOperatorInNS)], fr="En attente d'un nom de fichier script, avec ou sans le chemin complet pour le trouver, contenant en variables internes trois fonctions de calcul nommées DirectOperator, TangentOperator et AdjointOperator", ang="Waiting for a script file name, with or without the full path to find it, containing as internal variables three computation functions named DirectOperator, TangentOperator and AdjointOperator"), - ), - SCRIPTWITHONEFUNCTION_DATA = BLOC ( condition = " FROM in ( 'ScriptWithOneFunction', ) ", - SCRIPTWITHONEFUNCTION_FILE = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py'), FunctionVal(DirectOperatorInNS)], fr="En attente d'un nom de fichier script, avec ou sans le chemin complet pour le trouver, contenant en variable interne une seule fonction de calcul nommée DirectOperator", ang="Waiting for a script file name, with or without the full path to find it, containing as internal variable only one function named DirectOperator"), - DifferentialIncrement = SIMP(statut="o", typ = "R", val_min=0, val_max=1, defaut=0.01, fr="Incrément de la perturbation dX pour calculer la dérivée, construite en multipliant X par l'incrément en évitant les valeurs nulles", ang="Increment of dX perturbation to calculate the derivative, build multiplying X by the increment avoiding null values"), - CenteredFiniteDifference = SIMP(statut="o", typ = "I", into=(0, 1), defaut=0, fr="Formulation centrée (1) ou décentrée (0) pour la méthode des différences finies", ang="Centered (1) or uncentered (0) formulation for the finite differences method"), - EnableMultiProcessing = SIMP(statut="f", typ = "I", into=(0, 1), defaut=0, fr="Calculs élémentaires effectués en séquentiel (0) ou en parallèle (1) dans la méthode des différences finies", ang="Elementary calculations done sequentially (0) or in parallel (1) in the finite differences method"), - NumberOfProcesses = SIMP(statut="f", typ = "I", val_min=0, defaut=0, fr="Nombre de processus parallèles, 0 pour un contrôle automatique", ang="Number of parallel processes, 0 for automatic control"), - ), - SCRIPTWITHSWITCH_DATA = BLOC ( condition = " FROM in ( 'ScriptWithSwitch', ) ", - SCRIPTWITHSWITCH_FILE = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py')], fr="En attente d'un nom de fichier script, avec ou sans le chemin complet pour le trouver, contenant un switch pour les calculs direct, tangent et adjoint", ang="Waiting for a script file name, with or without the full path to find it, containing a switch for direct, tangent and adjoint computations"), - ), - TEMPLATE_DATA = BLOC (condition = " FROM in ( 'Template', ) ", - Template = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "AnalysisPrinter", into=("AnalysisPrinter", "AnalysisSaver", "AnalysisPrinterAndSaver")), - AnalysisPrinter = BLOC (condition = " Template == 'AnalysisPrinter' ", - ValueTemplate = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "import numpy\nxa=numpy.ravel(ADD.get('Analysis')[-1])\nprint 'Analysis:',xa" ), - ), - AnalysisSaver = BLOC (condition = " Template == 'AnalysisSaver' ", - ValueTemplate = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "import numpy\nxa=numpy.ravel(ADD.get('Analysis')[-1])\nf='/tmp/analysis.txt'\nprint 'Analysis saved in \"%s\"'%f\nnumpy.savetxt(f,xa)" ), - ), - AnalysisPrinterAndSaver = BLOC (condition = " Template == 'AnalysisPrinterAndSaver' ", - ValueTemplate = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "import numpy\nxa=numpy.ravel(ADD.get('Analysis')[-1])\nprint 'Analysis:',xa\nf='/tmp/analysis.txt'\nprint 'Analysis saved in \"%s\"'%f\nnumpy.savetxt(f,xa)" ), - ), - ), - ) - -def ObservationErrorInNS(filename): - if os.path.exists(filename): - fc = open(filename, 'r').readlines() - cr = re.compile("^ObservationError[\s]*=") - for ln in fc: - if cr.match(ln): return 1 - return 0 -ObservationErrorInNS.info = u"The Python file has to contain explicitly a \"ObservationError\" variable." -def F_ObservationError(statut, fv=NoCheckInNS) : return FACT( - statut=statut, - Stored = SIMP(statut="o", typ = "I", into=(0, 1), defaut=0, fr="Choix de stockage interne ou non du concept parent", ang="Choice of the storage or not of the parent concept"), - INPUT_TYPE = SIMP(statut="o", typ = "TXM", into=("Matrix", "ScalarSparseMatrix", "DiagonalSparseMatrix", ), defaut="ScalarSparseMatrix"), - Matrix = BLOC ( condition = " INPUT_TYPE in ( 'Matrix', ) ", - data = F_Matrix("o", fv), - ), - ScalarSparseMatrix = BLOC ( condition = " INPUT_TYPE in ( 'ScalarSparseMatrix', ) ", - data = F_ScalarSparseMatrix("o", fv), - ), - DiagonalSparseMatrix = BLOC ( condition = " INPUT_TYPE in ( 'DiagonalSparseMatrix', ) ", - data = F_DiagonalSparseMatrix("o", fv), - ), - ) - -def ObservationInNS(filename): - if os.path.exists(filename): - fc = open(filename, 'r').readlines() - cr = re.compile("^Observation[\s]*=") - for ln in fc: - if cr.match(ln): return 1 - return 0 -ObservationInNS.info = u"The Python file has to contain explicitly a \"Observation\" variable." -def F_Observation(statut, fv=NoCheckInNS) : return FACT( - statut=statut, - Stored = SIMP(statut="o", typ = "I", into=(0, 1), defaut=0, fr="Choix de stockage interne ou non du concept parent", ang="Choice of the storage or not of the parent concept"), - INPUT_TYPE = SIMP(statut="o", typ = "TXM", into=("Vector", "VectorSerie", ), defaut="Vector"), - Vector = BLOC ( condition = " INPUT_TYPE in ( 'Vector', ) ", - data = F_Vector("o", fv), - ), - VectorSerie = BLOC ( condition = " INPUT_TYPE in ( 'VectorSerie', ) ", - data = F_VectorSerie("o", fv), - ), - ) - -def BackgroundErrorInNS(filename): - if os.path.exists(filename): - fc = open(filename, 'r').readlines() - cr = re.compile("^BackgroundError[\s]*=") - for ln in fc: - if cr.match(ln): return 1 - return 0 -BackgroundErrorInNS.info = u"The Python file has to contain explicitly a \"BackgroundError\" variable." -def F_BackgroundError(statut, fv=NoCheckInNS) : return FACT( - statut=statut, - Stored = SIMP(statut="o", typ = "I", into=(0, 1), defaut=0, fr="Choix de stockage interne ou non du concept parent", ang="Choice of the storage or not of the parent concept"), - INPUT_TYPE = SIMP(statut="o", typ = "TXM", into=("Matrix", "ScalarSparseMatrix", "DiagonalSparseMatrix", ), defaut="ScalarSparseMatrix"), - Matrix = BLOC ( condition = " INPUT_TYPE in ( 'Matrix', ) ", - data = F_Matrix("o", fv), - ), - ScalarSparseMatrix = BLOC ( condition = " INPUT_TYPE in ( 'ScalarSparseMatrix', ) ", - data = F_ScalarSparseMatrix("o", fv), - ), - DiagonalSparseMatrix = BLOC ( condition = " INPUT_TYPE in ( 'DiagonalSparseMatrix', ) ", - data = F_DiagonalSparseMatrix("o", fv), - ), - ) - -def ObservationOperatorInNS(filename): - if os.path.exists(filename): - fc = open(filename, 'r').readlines() - cr = re.compile("^ObservationOperator[\s]*=") - for ln in fc: - if cr.match(ln): return 1 - return 0 -ObservationOperatorInNS.info = u"The Python file has to contain explicitly a \"ObservationOperator\" variable." -def F_ObservationOperator(statut, fv=NoCheckInNS) : return FACT( - statut=statut, - Stored = SIMP(statut="o", typ = "I", into=(0, 1), defaut=0, fr="Choix de stockage interne ou non du concept parent", ang="Choice of the storage or not of the parent concept"), - INPUT_TYPE = SIMP(statut="o", typ = "TXM", into=("Matrix", "Function", ), defaut="Function"), - Matrix = BLOC ( condition = " INPUT_TYPE in ( 'Matrix', ) ", - data = F_Matrix("o", fv), - ), - Function = BLOC ( condition = " INPUT_TYPE in ( 'Function', ) ", - data = F_Function("o", fv), - ), - ) - -def CheckingPointInNS(filename): - if os.path.exists(filename): - fc = open(filename, 'r').readlines() - cr = re.compile("^CheckingPoint[\s]*=") - for ln in fc: - if cr.match(ln): return 1 - return 0 -CheckingPointInNS.info = u"The Python file has to contain explicitly a \"CheckingPoint\" variable." -def F_CheckingPoint(statut, fv=NoCheckInNS) : return FACT( - statut=statut, - Stored = SIMP(statut="o", typ = "I", into=(0, 1), defaut=0, fr="Choix de stockage interne ou non du concept parent", ang="Choice of the storage or not of the parent concept"), - INPUT_TYPE = SIMP(statut="o", typ = "TXM", into=("Vector", ), defaut="Vector"), - Vector = BLOC ( condition = " INPUT_TYPE in ( 'Vector', ) ", - data = F_Vector("o", fv), - ), - ) - -def ControlInputInNS(filename): - if os.path.exists(filename): - fc = open(filename, 'r').readlines() - cr = re.compile("^ControlInput[\s]*=") - for ln in fc: - if cr.match(ln): return 1 - return 0 -ControlInputInNS.info = u"The Python file has to contain explicitly a \"ControlInput\" variable." -def F_ControlInput(statut, fv=NoCheckInNS) : return FACT( - statut=statut, - Stored = SIMP(statut="o", typ = "I", into=(0, 1), defaut=0, fr="Choix de stockage interne ou non du concept parent", ang="Choice of the storage or not of the parent concept"), - INPUT_TYPE = SIMP(statut="o", typ = "TXM", into=("Vector", "VectorSerie", ), defaut="Vector"), - Vector = BLOC ( condition = " INPUT_TYPE in ( 'Vector', ) ", - data = F_Vector("o", fv), - ), - VectorSerie = BLOC ( condition = " INPUT_TYPE in ( 'VectorSerie', ) ", - data = F_VectorSerie("o", fv), - ), - ) - -def BackgroundInNS(filename): - if os.path.exists(filename): - fc = open(filename, 'r').readlines() - cr = re.compile("^Background[\s]*=") - for ln in fc: - if cr.match(ln): return 1 - return 0 -BackgroundInNS.info = u"The Python file has to contain explicitly a \"Background\" variable." -def F_Background(statut, fv=NoCheckInNS) : return FACT( - statut=statut, - Stored = SIMP(statut="o", typ = "I", into=(0, 1), defaut=0, fr="Choix de stockage interne ou non du concept parent", ang="Choice of the storage or not of the parent concept"), - INPUT_TYPE = SIMP(statut="o", typ = "TXM", into=("Vector", "VectorSerie", ), defaut="Vector"), - Vector = BLOC ( condition = " INPUT_TYPE in ( 'Vector', ) ", - data = F_Vector("o", fv), - ), - VectorSerie = BLOC ( condition = " INPUT_TYPE in ( 'VectorSerie', ) ", - data = F_VectorSerie("o", fv), - ), - ) - -def AlgorithmParametersInNS(filename): - if os.path.exists(filename): - fc = open(filename, 'r').readlines() - cr = re.compile("^AlgorithmParameters[\s]*=") - for ln in fc: - if cr.match(ln): return 1 - return 0 -AlgorithmParametersInNS.info = u"The Python file has to contain explicitly a \"AlgorithmParameters\" variable." -def F_AlgorithmParameters(statut, fv=NoCheckInNS) : return FACT( - statut=statut, - - INPUT_TYPE = SIMP(statut="o", typ = "TXM", into=("Dict", ), defaut="Dict"), - Dict = BLOC ( condition = " INPUT_TYPE in ( 'Dict', ) ", - data = F_Dict("o", fv), - ), - ) - -def EvolutionErrorInNS(filename): - if os.path.exists(filename): - fc = open(filename, 'r').readlines() - cr = re.compile("^EvolutionError[\s]*=") - for ln in fc: - if cr.match(ln): return 1 - return 0 -EvolutionErrorInNS.info = u"The Python file has to contain explicitly a \"EvolutionError\" variable." -def F_EvolutionError(statut, fv=NoCheckInNS) : return FACT( - statut=statut, - Stored = SIMP(statut="o", typ = "I", into=(0, 1), defaut=0, fr="Choix de stockage interne ou non du concept parent", ang="Choice of the storage or not of the parent concept"), - INPUT_TYPE = SIMP(statut="o", typ = "TXM", into=("Matrix", "ScalarSparseMatrix", "DiagonalSparseMatrix", ), defaut="ScalarSparseMatrix"), - Matrix = BLOC ( condition = " INPUT_TYPE in ( 'Matrix', ) ", - data = F_Matrix("o", fv), - ), - ScalarSparseMatrix = BLOC ( condition = " INPUT_TYPE in ( 'ScalarSparseMatrix', ) ", - data = F_ScalarSparseMatrix("o", fv), - ), - DiagonalSparseMatrix = BLOC ( condition = " INPUT_TYPE in ( 'DiagonalSparseMatrix', ) ", - data = F_DiagonalSparseMatrix("o", fv), - ), - ) - -def UserDataInitInNS(filename): - if os.path.exists(filename): - fc = open(filename, 'r').readlines() - cr = re.compile("^UserDataInit[\s]*=") - for ln in fc: - if cr.match(ln): return 1 - return 0 -UserDataInitInNS.info = u"The Python file has to contain explicitly a \"UserDataInit\" variable." -def F_UserDataInit(statut, fv=NoCheckInNS) : return FACT( - statut=statut, - - INPUT_TYPE = SIMP(statut="o", typ = "TXM", into=("Dict", ), defaut="Dict"), - Dict = BLOC ( condition = " INPUT_TYPE in ( 'Dict', ) ", - data = F_Dict("o", fv), - ), - ) - -def EvolutionModelInNS(filename): - if os.path.exists(filename): - fc = open(filename, 'r').readlines() - cr = re.compile("^EvolutionModel[\s]*=") - for ln in fc: - if cr.match(ln): return 1 - return 0 -EvolutionModelInNS.info = u"The Python file has to contain explicitly a \"EvolutionModel\" variable." -def F_EvolutionModel(statut, fv=NoCheckInNS) : return FACT( - statut=statut, - Stored = SIMP(statut="o", typ = "I", into=(0, 1), defaut=0, fr="Choix de stockage interne ou non du concept parent", ang="Choice of the storage or not of the parent concept"), - INPUT_TYPE = SIMP(statut="o", typ = "TXM", into=("Matrix", "Function", ), defaut="Function"), - Matrix = BLOC ( condition = " INPUT_TYPE in ( 'Matrix', ) ", - data = F_Matrix("o", fv), - ), - Function = BLOC ( condition = " INPUT_TYPE in ( 'Function', ) ", - data = F_Function("o", fv), - ), - ) - -def F_UserPostAnalysis(statut, fv=NoCheckInNS) : return FACT( - statut = statut, - FROM = SIMP(statut = "o", typ = "TXM", into=("String", "Script", "Template", ), defaut="Template"), - SCRIPT_DATA = BLOC ( condition = " FROM in ( 'Script', ) ", - SCRIPT_FILE = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py'), FunctionVal(fv)], fr="En attente d'un nom de fichier script, avec ou sans le chemin complet pour le trouver, contenant si nécessaire la définition d'une variable interne de même nom que le concept parent", ang="Waiting for a script file name, with or without the full path to find it, containing if necessary the definition of an internal variable of the same name as the parent concept"), - ), - STRING_DATA = BLOC ( condition = " FROM in ( 'String', ) ", - STRING = SIMP(statut = "o", typ = "TXM", fr="En attente d'une chaine de caractères entre guillements. Pour construire un vecteur ou une matrice, ce doit être une suite de nombres, utilisant un espace ou une virgule pour séparer deux éléments et un point-virgule pour séparer deux lignes", ang="Waiting for a string in quotes. To build a vector or a matrix, it has to be a float serie, using a space or comma to separate two elements in a line, a semi-colon to separate rows"), - ), - SCRIPTWITHFUNCTIONS_DATA = BLOC ( condition = " FROM in ( 'ScriptWithFunctions', ) ", - SCRIPTWITHFUNCTIONS_FILE = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py'), FunctionVal(DirectOperatorInNS), FunctionVal(TangentOperatorInNS), FunctionVal(AdjointOperatorInNS)], fr="En attente d'un nom de fichier script, avec ou sans le chemin complet pour le trouver, contenant en variables internes trois fonctions de calcul nommées DirectOperator, TangentOperator et AdjointOperator", ang="Waiting for a script file name, with or without the full path to find it, containing as internal variables three computation functions named DirectOperator, TangentOperator and AdjointOperator"), - ), - SCRIPTWITHONEFUNCTION_DATA = BLOC ( condition = " FROM in ( 'ScriptWithOneFunction', ) ", - SCRIPTWITHONEFUNCTION_FILE = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py'), FunctionVal(DirectOperatorInNS)], fr="En attente d'un nom de fichier script, avec ou sans le chemin complet pour le trouver, contenant en variable interne une seule fonction de calcul nommée DirectOperator", ang="Waiting for a script file name, with or without the full path to find it, containing as internal variable only one function named DirectOperator"), - DifferentialIncrement = SIMP(statut="o", typ = "R", val_min=0, val_max=1, defaut=0.01, fr="Incrément de la perturbation dX pour calculer la dérivée, construite en multipliant X par l'incrément en évitant les valeurs nulles", ang="Increment of dX perturbation to calculate the derivative, build multiplying X by the increment avoiding null values"), - CenteredFiniteDifference = SIMP(statut="o", typ = "I", into=(0, 1), defaut=0, fr="Formulation centrée (1) ou décentrée (0) pour la méthode des différences finies", ang="Centered (1) or uncentered (0) formulation for the finite differences method"), - EnableMultiProcessing = SIMP(statut="f", typ = "I", into=(0, 1), defaut=0, fr="Calculs élémentaires effectués en séquentiel (0) ou en parallèle (1) dans la méthode des différences finies", ang="Elementary calculations done sequentially (0) or in parallel (1) in the finite differences method"), - NumberOfProcesses = SIMP(statut="f", typ = "I", val_min=0, defaut=0, fr="Nombre de processus parallèles, 0 pour un contrôle automatique", ang="Number of parallel processes, 0 for automatic control"), - ), - SCRIPTWITHSWITCH_DATA = BLOC ( condition = " FROM in ( 'ScriptWithSwitch', ) ", - SCRIPTWITHSWITCH_FILE = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py')], fr="En attente d'un nom de fichier script, avec ou sans le chemin complet pour le trouver, contenant un switch pour les calculs direct, tangent et adjoint", ang="Waiting for a script file name, with or without the full path to find it, containing a switch for direct, tangent and adjoint computations"), - ), - TEMPLATE_DATA = BLOC (condition = " FROM in ( 'Template', ) ", - Template = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "AnalysisPrinter", into=("AnalysisPrinter", "AnalysisSaver", "AnalysisPrinterAndSaver")), - AnalysisPrinter = BLOC (condition = " Template == 'AnalysisPrinter' ", - ValueTemplate = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "import numpy\nxa=numpy.ravel(ADD.get('Analysis')[-1])\nprint 'Analysis:',xa" ), - ), - AnalysisSaver = BLOC (condition = " Template == 'AnalysisSaver' ", - ValueTemplate = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "import numpy\nxa=numpy.ravel(ADD.get('Analysis')[-1])\nf='/tmp/analysis.txt'\nprint 'Analysis saved in \"%s\"'%f\nnumpy.savetxt(f,xa)" ), - ), - AnalysisPrinterAndSaver = BLOC (condition = " Template == 'AnalysisPrinterAndSaver' ", - ValueTemplate = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "import numpy\nxa=numpy.ravel(ADD.get('Analysis')[-1])\nprint 'Analysis:',xa\nf='/tmp/analysis.txt'\nprint 'Analysis saved in \"%s\"'%f\nnumpy.savetxt(f,xa)" ), - ), - ), - ) - -def F_InitChoice() : return ("Background", - "BackgroundError", - "Observation", - "ObservationError", - "ObservationOperator", - "EvolutionModel", - "EvolutionError", - "AlgorithmParameters", - "UserPostAnalysis", - ) - -def F_Init(statut) : return FACT(statut = statut, - INIT_FILE = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py')]), - TARGET_LIST = SIMP(statut = "o", typ = "TXM", min=1, max="**", into=F_InitChoice(), validators=(VerifExiste(2))), - ) - -def F_ObserverTemplate() : return BLOC(condition = " NodeType == 'Template' ", - Template = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "ValuePrinter", into=("ValuePrinter", "ValueSeriePrinter", "ValueSaver", "ValueSerieSaver", "ValuePrinterAndSaver", "ValueSeriePrinterAndSaver", "ValueGnuPlotter", "ValueSerieGnuPlotter", "ValuePrinterAndGnuPlotter", "ValueSeriePrinterAndGnuPlotter", "ValuePrinterSaverAndGnuPlotter", "ValueSeriePrinterSaverAndGnuPlotter", "ValueMean", "ValueStandardError", "ValueVariance", "ValueL2Norm", "ValueRMS")), - ValuePrinter = BLOC (condition = " Template == 'ValuePrinter' ", - ValueTemplate = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "print info, var[-1]", fr="Imprime sur la sortie standard la valeur courante de la variable", ang="Print on standard output the current value of the variable" ), - ), - ValueSeriePrinter = BLOC (condition = " Template == 'ValueSeriePrinter' ", - ValueTemplate = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "print info, var[:]", fr="Imprime sur la sortie standard la série des valeurs de la variable", ang="Print on standard output the value serie of the variable" ), - ), - ValueSaver = BLOC (condition = " Template == 'ValueSaver' ", - ValueTemplate = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "import numpy, re\nv=numpy.array(var[-1], ndmin=1)\nglobal istep\ntry:\n istep += 1\nexcept:\n istep = 0\nf='/tmp/value_%s_%05i.txt'%(info,istep)\nf=re.sub('\s','_',f)\nprint 'Value saved in \"%s\"'%f\nnumpy.savetxt(f,v)", fr="Enregistre la valeur courante de la variable dans un fichier du répertoire '/tmp' nommé 'value...txt' selon le nom de la variable et l'étape d'enregistrement", ang="Save the current value of the variable in a file of the '/tmp' directory named 'value...txt' from the variable name and the saving step" ), - ), - ValueSerieSaver = BLOC (condition = " Template == 'ValueSerieSaver' ", - ValueTemplate = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "import numpy, re\nv=numpy.array(var[:], ndmin=1)\nglobal istep\ntry:\n istep += 1\nexcept:\n istep = 0\nf='/tmp/value_%s_%05i.txt'%(info,istep)\nf=re.sub('\s','_',f)\nprint 'Value saved in \"%s\"'%f\nnumpy.savetxt(f,v)", fr="Enregistre la série des valeurs de la variable dans un fichier du répertoire '/tmp' nommé 'value...txt' selon le nom de la variable et l'étape", ang="Save the value serie of the variable in a file of the '/tmp' directory named 'value...txt' from the variable name and the saving step" ), - ), - ValuePrinterAndSaver = BLOC (condition = " Template == 'ValuePrinterAndSaver' ", - ValueTemplate = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "import numpy, re\nv=numpy.array(var[-1], ndmin=1)\nprint info,v\nglobal istep\ntry:\n istep += 1\nexcept:\n istep = 0\nf='/tmp/value_%s_%05i.txt'%(info,istep)\nf=re.sub('\s','_',f)\nprint 'Value saved in \"%s\"'%f\nnumpy.savetxt(f,v)", fr="Imprime sur la sortie standard et, en même temps, enregistre dans un fichier la valeur courante de la variable", ang="Print on standard output and, in the same time, save in a file the current value of the variable" ), - ), - ValueSeriePrinterAndSaver = BLOC (condition = " Template == 'ValueSeriePrinterAndSaver' ", - ValueTemplate = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "import numpy, re\nv=numpy.array(var[:], ndmin=1)\nprint info,v\nglobal istep\ntry:\n istep += 1\nexcept:\n istep = 0\nf='/tmp/value_%s_%05i.txt'%(info,istep)\nf=re.sub('\s','_',f)\nprint 'Value saved in \"%s\"'%f\nnumpy.savetxt(f,v)", fr="Imprime sur la sortie standard et, en même temps, enregistre dans un fichier la série des valeurs de la variable", ang="Print on standard output and, in the same time, save in a file the value serie of the variable" ), - ), - ValueGnuPlotter = BLOC (condition = " Template == 'ValueGnuPlotter' ", - ValueTemplate = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "import numpy, Gnuplot\nv=numpy.array(var[-1], ndmin=1)\nglobal ifig, gp\ntry:\n ifig += 1\n gp(' set style data lines')\nexcept:\n ifig = 0\n gp = Gnuplot.Gnuplot(persist=1)\n gp(' set style data lines')\ngp('set title \"%s (Figure %i)\"'%(info,ifig))\ngp.plot( Gnuplot.Data( v, with_='lines lw 2' ) )", fr="Affiche graphiquement avec Gnuplot la valeur courante de la variable", ang="Graphically plot with Gnuplot the current value of the variable" ), - ), - ValueSerieGnuPlotter = BLOC (condition = " Template == 'ValueSerieGnuPlotter' ", - ValueTemplate = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "import numpy, Gnuplot\nv=numpy.array(var[:], ndmin=1)\nglobal ifig, gp\ntry:\n ifig += 1\n gp(' set style data lines')\nexcept:\n ifig = 0\n gp = Gnuplot.Gnuplot(persist=1)\n gp(' set style data lines')\ngp('set title \"%s (Figure %i)\"'%(info,ifig))\ngp.plot( Gnuplot.Data( v, with_='lines lw 2' ) )", fr="Affiche graphiquement avec Gnuplot la série des valeurs de la variable", ang="Graphically plot with Gnuplot the value serie of the variable" ), - ), - ValuePrinterAndGnuPlotter = BLOC (condition = " Template == 'ValuePrinterAndGnuPlotter' ", - ValueTemplate = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "print info, var[-1]\nimport numpy, Gnuplot\nv=numpy.array(var[-1], ndmin=1)\nglobal ifig,gp\ntry:\n ifig += 1\n gp(' set style data lines')\nexcept:\n ifig = 0\n gp = Gnuplot.Gnuplot(persist=1)\n gp(' set style data lines')\ngp('set title \"%s (Figure %i)\"'%(info,ifig))\ngp.plot( Gnuplot.Data( v, with_='lines lw 2' ) )", fr="Imprime sur la sortie standard et, en même temps, affiche graphiquement avec Gnuplot la valeur courante de la variable", ang="Print on standard output and, in the same time, graphically plot with Gnuplot the current value of the variable" ), - ), - ValueSeriePrinterAndGnuPlotter = BLOC (condition = " Template == 'ValueSeriePrinterAndGnuPlotter' ", - ValueTemplate = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "print info, var[:] \nimport numpy, Gnuplot\nv=numpy.array(var[:], ndmin=1)\nglobal ifig,gp\ntry:\n ifig += 1\n gp(' set style data lines')\nexcept:\n ifig = 0\n gp = Gnuplot.Gnuplot(persist=1)\n gp(' set style data lines')\ngp('set title \"%s (Figure %i)\"'%(info,ifig))\ngp.plot( Gnuplot.Data( v, with_='lines lw 2' ) )", fr="Imprime sur la sortie standard et, en même temps, affiche graphiquement avec Gnuplot la série des valeurs de la variable", ang="Print on standard output and, in the same time, graphically plot with Gnuplot the value serie of the variable" ), - ), - ValuePrinterSaverAndGnuPlotter = BLOC (condition = " Template == 'ValuePrinterSaverAndGnuPlotter' ", - ValueTemplate = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "print info, var[-1]\nimport numpy, re\nv=numpy.array(var[-1], ndmin=1)\nglobal istep\ntry:\n istep += 1\nexcept:\n istep = 0\nf='/tmp/value_%s_%05i.txt'%(info,istep)\nf=re.sub('\s','_',f)\nprint 'Value saved in \"%s\"'%f\nnumpy.savetxt(f,v)\nimport Gnuplot\nglobal ifig,gp\ntry:\n ifig += 1\n gp(' set style data lines')\nexcept:\n ifig = 0\n gp = Gnuplot.Gnuplot(persist=1)\n gp(' set style data lines')\ngp('set title \"%s (Figure %i)\"'%(info,ifig))\ngp.plot( Gnuplot.Data( v, with_='lines lw 2' ) )", fr="Imprime sur la sortie standard et, en même temps, enregistre dans un fichier et affiche graphiquement la valeur courante de la variable ", ang="Print on standard output and, in the same, time save in a file and graphically plot the current value of the variable" ), - ), - ValueSeriePrinterSaverAndGnuPlotter = BLOC (condition = " Template == 'ValueSeriePrinterSaverAndGnuPlotter' ", - ValueTemplate = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "print info, var[:] \nimport numpy, re\nv=numpy.array(var[:], ndmin=1)\nglobal istep\ntry:\n istep += 1\nexcept:\n istep = 0\nf='/tmp/value_%s_%05i.txt'%(info,istep)\nf=re.sub('\s','_',f)\nprint 'Value saved in \"%s\"'%f\nnumpy.savetxt(f,v)\nimport Gnuplot\nglobal ifig,gp\ntry:\n ifig += 1\n gp(' set style data lines')\nexcept:\n ifig = 0\n gp = Gnuplot.Gnuplot(persist=1)\n gp(' set style data lines')\ngp('set title \"%s (Figure %i)\"'%(info,ifig))\ngp.plot( Gnuplot.Data( v, with_='lines lw 2' ) )", fr="Imprime sur la sortie standard et, en même temps, enregistre dans un fichier et affiche graphiquement la série des valeurs de la variable", ang="Print on standard output and, in the same, time save in a file and graphically plot the value serie of the variable" ), - ), - ValueMean = BLOC (condition = " Template == 'ValueMean' ", - ValueTemplate = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "import numpy\nprint info, numpy.nanmean(var[-1])", fr="Imprime sur la sortie standard la moyenne de la valeur courante de la variable", ang="Print on standard output the mean of the current value of the variable" ), - ), - ValueStandardError = BLOC (condition = " Template == 'ValueStandardError' ", - ValueTemplate = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "import numpy\nprint info, numpy.nanstd(var[-1])", fr="Imprime sur la sortie standard l'écart-type de la valeur courante de la variable", ang="Print on standard output the standard error of the current value of the variable" ), - ), - ValueVariance = BLOC (condition = " Template == 'ValueVariance' ", - ValueTemplate = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "import numpy\nprint info, numpy.nanvar(var[-1])", fr="Imprime sur la sortie standard la variance de la valeur courante de la variable", ang="Print on standard output the variance of the current value of the variable" ), - ), - ValueL2Norm = BLOC (condition = " Template == 'ValueL2Norm' ", - ValueTemplate = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "import numpy\nv = numpy.matrix( numpy.ravel( var[-1] ) )\nprint info, float( numpy.linalg.norm(v) )", fr="Imprime sur la sortie standard la norme L2 de la valeur courante de la variable", ang="Print on standard output the L2 norm of the current value of the variable" ), - ), - ValueRMS = BLOC (condition = " Template == 'ValueRMS' ", - ValueTemplate = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "import numpy\nv = numpy.matrix( numpy.ravel( var[-1] ) )\nprint info, float( numpy.sqrt((1./v.size)*(v*v.T)) )", fr="Imprime sur la sortie standard la racine de la moyenne des carrés (RMS), ou moyenne quadratique, de la valeur courante de la variable", ang="Print on standard output the root mean square (RMS), or quadratic mean, of the current value of the variable" ), - ), - ) - -def F_Observers(statut) : return FACT( - statut=statut, - SELECTION = SIMP(statut="o", defaut=[], typ="TXM", min=0, max="**", validators=NoRepeat(), into=(['Analysis', 'Innovation', 'InnovationAtCurrentState', 'CurrentState', 'CurrentOptimum', 'IndexOfOptimum', 'SimulatedObservationAtBackground', 'SimulatedObservationAtCurrentState', 'SimulatedObservationAtOptimum', 'SimulatedObservationAtCurrentOptimum', 'BMA', 'OMA', 'OMB', 'CostFunctionJ', 'CostFunctionJb', 'CostFunctionJo', 'GradientOfCostFunctionJ', 'GradientOfCostFunctionJb', 'GradientOfCostFunctionJo', 'SigmaObs2', 'SigmaBck2', 'APosterioriCorrelations', 'APosterioriCovariance', 'APosterioriStandardDeviations', 'APosterioriVariances', 'Residu'])), - Analysis = BLOC (condition=" 'Analysis' in set(SELECTION) ", - Analysis_data = FACT(statut = "o", - Scheduler = SIMP(statut = "f", typ = "TXM"), - Info = SIMP(statut = "o", typ = "TXM", defaut = "Analysis"), - NodeType = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "Template", into=("String", "Script", "Template")), - PythonScript = BLOC (condition = " NodeType == 'String' ", - Value = SIMP(statut = "o", typ = "TXM") - ), - UserFile = BLOC (condition = " NodeType == 'Script' ", - Value = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py')]) - ), - ObserverTemplate = F_ObserverTemplate(), - ), - ), - Innovation = BLOC (condition=" 'Innovation' in set(SELECTION) ", - Innovation_data = FACT(statut = "o", - Scheduler = SIMP(statut = "f", typ = "TXM"), - Info = SIMP(statut = "o", typ = "TXM", defaut = "Innovation"), - NodeType = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "Template", into=("String", "Script", "Template")), - PythonScript = BLOC (condition = " NodeType == 'String' ", - Value = SIMP(statut = "o", typ = "TXM") - ), - UserFile = BLOC (condition = " NodeType == 'Script' ", - Value = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py')]) - ), - ObserverTemplate = F_ObserverTemplate(), - ), - ), - InnovationAtCurrentState = BLOC (condition=" 'InnovationAtCurrentState' in set(SELECTION) ", - InnovationAtCurrentState_data = FACT(statut = "o", - Scheduler = SIMP(statut = "f", typ = "TXM"), - Info = SIMP(statut = "o", typ = "TXM", defaut = "InnovationAtCurrentState"), - NodeType = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "Template", into=("String", "Script", "Template")), - PythonScript = BLOC (condition = " NodeType == 'String' ", - Value = SIMP(statut = "o", typ = "TXM") - ), - UserFile = BLOC (condition = " NodeType == 'Script' ", - Value = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py')]) - ), - ObserverTemplate = F_ObserverTemplate(), - ), - ), - CurrentState = BLOC (condition=" 'CurrentState' in set(SELECTION) ", - CurrentState_data = FACT(statut = "o", - Scheduler = SIMP(statut = "f", typ = "TXM"), - Info = SIMP(statut = "o", typ = "TXM", defaut = "CurrentState"), - NodeType = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "Template", into=("String", "Script", "Template")), - PythonScript = BLOC (condition = " NodeType == 'String' ", - Value = SIMP(statut = "o", typ = "TXM") - ), - UserFile = BLOC (condition = " NodeType == 'Script' ", - Value = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py')]) - ), - ObserverTemplate = F_ObserverTemplate(), - ), - ), - CurrentOptimum = BLOC (condition=" 'CurrentOptimum' in set(SELECTION) ", - CurrentOptimum_data = FACT(statut = "o", - Scheduler = SIMP(statut = "f", typ = "TXM"), - Info = SIMP(statut = "o", typ = "TXM", defaut = "CurrentOptimum"), - NodeType = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "Template", into=("String", "Script", "Template")), - PythonScript = BLOC (condition = " NodeType == 'String' ", - Value = SIMP(statut = "o", typ = "TXM") - ), - UserFile = BLOC (condition = " NodeType == 'Script' ", - Value = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py')]) - ), - ObserverTemplate = F_ObserverTemplate(), - ), - ), - IndexOfOptimum = BLOC (condition=" 'IndexOfOptimum' in set(SELECTION) ", - IndexOfOptimum_data = FACT(statut = "o", - Scheduler = SIMP(statut = "f", typ = "TXM"), - Info = SIMP(statut = "o", typ = "TXM", defaut = "IndexOfOptimum"), - NodeType = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "Template", into=("String", "Script", "Template")), - PythonScript = BLOC (condition = " NodeType == 'String' ", - Value = SIMP(statut = "o", typ = "TXM") - ), - UserFile = BLOC (condition = " NodeType == 'Script' ", - Value = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py')]) - ), - ObserverTemplate = F_ObserverTemplate(), - ), - ), - SimulatedObservationAtBackground = BLOC (condition=" 'SimulatedObservationAtBackground' in set(SELECTION) ", - SimulatedObservationAtBackground_data = FACT(statut = "o", - Scheduler = SIMP(statut = "f", typ = "TXM"), - Info = SIMP(statut = "o", typ = "TXM", defaut = "SimulatedObservationAtBackground"), - NodeType = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "Template", into=("String", "Script", "Template")), - PythonScript = BLOC (condition = " NodeType == 'String' ", - Value = SIMP(statut = "o", typ = "TXM") - ), - UserFile = BLOC (condition = " NodeType == 'Script' ", - Value = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py')]) - ), - ObserverTemplate = F_ObserverTemplate(), - ), - ), - SimulatedObservationAtCurrentState = BLOC (condition=" 'SimulatedObservationAtCurrentState' in set(SELECTION) ", - SimulatedObservationAtCurrentState_data = FACT(statut = "o", - Scheduler = SIMP(statut = "f", typ = "TXM"), - Info = SIMP(statut = "o", typ = "TXM", defaut = "SimulatedObservationAtCurrentState"), - NodeType = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "Template", into=("String", "Script", "Template")), - PythonScript = BLOC (condition = " NodeType == 'String' ", - Value = SIMP(statut = "o", typ = "TXM") - ), - UserFile = BLOC (condition = " NodeType == 'Script' ", - Value = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py')]) - ), - ObserverTemplate = F_ObserverTemplate(), - ), - ), - SimulatedObservationAtOptimum = BLOC (condition=" 'SimulatedObservationAtOptimum' in set(SELECTION) ", - SimulatedObservationAtOptimum_data = FACT(statut = "o", - Scheduler = SIMP(statut = "f", typ = "TXM"), - Info = SIMP(statut = "o", typ = "TXM", defaut = "SimulatedObservationAtOptimum"), - NodeType = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "Template", into=("String", "Script", "Template")), - PythonScript = BLOC (condition = " NodeType == 'String' ", - Value = SIMP(statut = "o", typ = "TXM") - ), - UserFile = BLOC (condition = " NodeType == 'Script' ", - Value = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py')]) - ), - ObserverTemplate = F_ObserverTemplate(), - ), - ), - SimulatedObservationAtCurrentOptimum = BLOC (condition=" 'SimulatedObservationAtCurrentOptimum' in set(SELECTION) ", - SimulatedObservationAtCurrentOptimum_data = FACT(statut = "o", - Scheduler = SIMP(statut = "f", typ = "TXM"), - Info = SIMP(statut = "o", typ = "TXM", defaut = "SimulatedObservationAtCurrentOptimum"), - NodeType = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "Template", into=("String", "Script", "Template")), - PythonScript = BLOC (condition = " NodeType == 'String' ", - Value = SIMP(statut = "o", typ = "TXM") - ), - UserFile = BLOC (condition = " NodeType == 'Script' ", - Value = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py')]) - ), - ObserverTemplate = F_ObserverTemplate(), - ), - ), - BMA = BLOC (condition=" 'BMA' in set(SELECTION) ", - BMA_data = FACT(statut = "o", - Scheduler = SIMP(statut = "f", typ = "TXM"), - Info = SIMP(statut = "o", typ = "TXM", defaut = "BMA"), - NodeType = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "Template", into=("String", "Script", "Template")), - PythonScript = BLOC (condition = " NodeType == 'String' ", - Value = SIMP(statut = "o", typ = "TXM") - ), - UserFile = BLOC (condition = " NodeType == 'Script' ", - Value = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py')]) - ), - ObserverTemplate = F_ObserverTemplate(), - ), - ), - OMA = BLOC (condition=" 'OMA' in set(SELECTION) ", - OMA_data = FACT(statut = "o", - Scheduler = SIMP(statut = "f", typ = "TXM"), - Info = SIMP(statut = "o", typ = "TXM", defaut = "OMA"), - NodeType = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "Template", into=("String", "Script", "Template")), - PythonScript = BLOC (condition = " NodeType == 'String' ", - Value = SIMP(statut = "o", typ = "TXM") - ), - UserFile = BLOC (condition = " NodeType == 'Script' ", - Value = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py')]) - ), - ObserverTemplate = F_ObserverTemplate(), - ), - ), - OMB = BLOC (condition=" 'OMB' in set(SELECTION) ", - OMB_data = FACT(statut = "o", - Scheduler = SIMP(statut = "f", typ = "TXM"), - Info = SIMP(statut = "o", typ = "TXM", defaut = "OMB"), - NodeType = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "Template", into=("String", "Script", "Template")), - PythonScript = BLOC (condition = " NodeType == 'String' ", - Value = SIMP(statut = "o", typ = "TXM") - ), - UserFile = BLOC (condition = " NodeType == 'Script' ", - Value = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py')]) - ), - ObserverTemplate = F_ObserverTemplate(), - ), - ), - CostFunctionJ = BLOC (condition=" 'CostFunctionJ' in set(SELECTION) ", - CostFunctionJ_data = FACT(statut = "o", - Scheduler = SIMP(statut = "f", typ = "TXM"), - Info = SIMP(statut = "o", typ = "TXM", defaut = "CostFunctionJ"), - NodeType = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "Template", into=("String", "Script", "Template")), - PythonScript = BLOC (condition = " NodeType == 'String' ", - Value = SIMP(statut = "o", typ = "TXM") - ), - UserFile = BLOC (condition = " NodeType == 'Script' ", - Value = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py')]) - ), - ObserverTemplate = F_ObserverTemplate(), - ), - ), - CostFunctionJb = BLOC (condition=" 'CostFunctionJb' in set(SELECTION) ", - CostFunctionJb_data = FACT(statut = "o", - Scheduler = SIMP(statut = "f", typ = "TXM"), - Info = SIMP(statut = "o", typ = "TXM", defaut = "CostFunctionJb"), - NodeType = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "Template", into=("String", "Script", "Template")), - PythonScript = BLOC (condition = " NodeType == 'String' ", - Value = SIMP(statut = "o", typ = "TXM") - ), - UserFile = BLOC (condition = " NodeType == 'Script' ", - Value = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py')]) - ), - ObserverTemplate = F_ObserverTemplate(), - ), - ), - CostFunctionJo = BLOC (condition=" 'CostFunctionJo' in set(SELECTION) ", - CostFunctionJo_data = FACT(statut = "o", - Scheduler = SIMP(statut = "f", typ = "TXM"), - Info = SIMP(statut = "o", typ = "TXM", defaut = "CostFunctionJo"), - NodeType = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "Template", into=("String", "Script", "Template")), - PythonScript = BLOC (condition = " NodeType == 'String' ", - Value = SIMP(statut = "o", typ = "TXM") - ), - UserFile = BLOC (condition = " NodeType == 'Script' ", - Value = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py')]) - ), - ObserverTemplate = F_ObserverTemplate(), - ), - ), - GradientOfCostFunctionJ = BLOC (condition=" 'GradientOfCostFunctionJ' in set(SELECTION) ", - GradientOfCostFunctionJ_data = FACT(statut = "o", - Scheduler = SIMP(statut = "f", typ = "TXM"), - Info = SIMP(statut = "o", typ = "TXM", defaut = "GradientOfCostFunctionJ"), - NodeType = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "Template", into=("String", "Script", "Template")), - PythonScript = BLOC (condition = " NodeType == 'String' ", - Value = SIMP(statut = "o", typ = "TXM") - ), - UserFile = BLOC (condition = " NodeType == 'Script' ", - Value = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py')]) - ), - ObserverTemplate = F_ObserverTemplate(), - ), - ), - GradientOfCostFunctionJb = BLOC (condition=" 'GradientOfCostFunctionJb' in set(SELECTION) ", - GradientOfCostFunctionJb_data = FACT(statut = "o", - Scheduler = SIMP(statut = "f", typ = "TXM"), - Info = SIMP(statut = "o", typ = "TXM", defaut = "GradientOfCostFunctionJb"), - NodeType = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "Template", into=("String", "Script", "Template")), - PythonScript = BLOC (condition = " NodeType == 'String' ", - Value = SIMP(statut = "o", typ = "TXM") - ), - UserFile = BLOC (condition = " NodeType == 'Script' ", - Value = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py')]) - ), - ObserverTemplate = F_ObserverTemplate(), - ), - ), - GradientOfCostFunctionJo = BLOC (condition=" 'GradientOfCostFunctionJo' in set(SELECTION) ", - GradientOfCostFunctionJo_data = FACT(statut = "o", - Scheduler = SIMP(statut = "f", typ = "TXM"), - Info = SIMP(statut = "o", typ = "TXM", defaut = "GradientOfCostFunctionJo"), - NodeType = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "Template", into=("String", "Script", "Template")), - PythonScript = BLOC (condition = " NodeType == 'String' ", - Value = SIMP(statut = "o", typ = "TXM") - ), - UserFile = BLOC (condition = " NodeType == 'Script' ", - Value = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py')]) - ), - ObserverTemplate = F_ObserverTemplate(), - ), - ), - SigmaObs2 = BLOC (condition=" 'SigmaObs2' in set(SELECTION) ", - SigmaObs2_data = FACT(statut = "o", - Scheduler = SIMP(statut = "f", typ = "TXM"), - Info = SIMP(statut = "o", typ = "TXM", defaut = "SigmaObs2"), - NodeType = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "Template", into=("String", "Script", "Template")), - PythonScript = BLOC (condition = " NodeType == 'String' ", - Value = SIMP(statut = "o", typ = "TXM") - ), - UserFile = BLOC (condition = " NodeType == 'Script' ", - Value = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py')]) - ), - ObserverTemplate = F_ObserverTemplate(), - ), - ), - SigmaBck2 = BLOC (condition=" 'SigmaBck2' in set(SELECTION) ", - SigmaBck2_data = FACT(statut = "o", - Scheduler = SIMP(statut = "f", typ = "TXM"), - Info = SIMP(statut = "o", typ = "TXM", defaut = "SigmaBck2"), - NodeType = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "Template", into=("String", "Script", "Template")), - PythonScript = BLOC (condition = " NodeType == 'String' ", - Value = SIMP(statut = "o", typ = "TXM") - ), - UserFile = BLOC (condition = " NodeType == 'Script' ", - Value = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py')]) - ), - ObserverTemplate = F_ObserverTemplate(), - ), - ), - APosterioriCorrelations = BLOC (condition=" 'APosterioriCorrelations' in set(SELECTION) ", - APosterioriCorrelations_data = FACT(statut = "o", - Scheduler = SIMP(statut = "f", typ = "TXM"), - Info = SIMP(statut = "o", typ = "TXM", defaut = "APosterioriCorrelations"), - NodeType = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "Template", into=("String", "Script", "Template")), - PythonScript = BLOC (condition = " NodeType == 'String' ", - Value = SIMP(statut = "o", typ = "TXM") - ), - UserFile = BLOC (condition = " NodeType == 'Script' ", - Value = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py')]) - ), - ObserverTemplate = F_ObserverTemplate(), - ), - ), - APosterioriCovariance = BLOC (condition=" 'APosterioriCovariance' in set(SELECTION) ", - APosterioriCovariance_data = FACT(statut = "o", - Scheduler = SIMP(statut = "f", typ = "TXM"), - Info = SIMP(statut = "o", typ = "TXM", defaut = "APosterioriCovariance"), - NodeType = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "Template", into=("String", "Script", "Template")), - PythonScript = BLOC (condition = " NodeType == 'String' ", - Value = SIMP(statut = "o", typ = "TXM") - ), - UserFile = BLOC (condition = " NodeType == 'Script' ", - Value = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py')]) - ), - ObserverTemplate = F_ObserverTemplate(), - ), - ), - APosterioriStandardDeviations = BLOC (condition=" 'APosterioriStandardDeviations' in set(SELECTION) ", - APosterioriStandardDeviations_data = FACT(statut = "o", - Scheduler = SIMP(statut = "f", typ = "TXM"), - Info = SIMP(statut = "o", typ = "TXM", defaut = "APosterioriStandardDeviations"), - NodeType = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "Template", into=("String", "Script", "Template")), - PythonScript = BLOC (condition = " NodeType == 'String' ", - Value = SIMP(statut = "o", typ = "TXM") - ), - UserFile = BLOC (condition = " NodeType == 'Script' ", - Value = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py')]) - ), - ObserverTemplate = F_ObserverTemplate(), - ), - ), - APosterioriVariances = BLOC (condition=" 'APosterioriVariances' in set(SELECTION) ", - APosterioriVariances_data = FACT(statut = "o", - Scheduler = SIMP(statut = "f", typ = "TXM"), - Info = SIMP(statut = "o", typ = "TXM", defaut = "APosterioriVariances"), - NodeType = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "Template", into=("String", "Script", "Template")), - PythonScript = BLOC (condition = " NodeType == 'String' ", - Value = SIMP(statut = "o", typ = "TXM") - ), - UserFile = BLOC (condition = " NodeType == 'Script' ", - Value = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py')]) - ), - ObserverTemplate = F_ObserverTemplate(), - ), - ), - Residu = BLOC (condition=" 'Residu' in set(SELECTION) ", - Residu_data = FACT(statut = "o", - Scheduler = SIMP(statut = "f", typ = "TXM"), - Info = SIMP(statut = "o", typ = "TXM", defaut = "Residu"), - NodeType = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "Template", into=("String", "Script", "Template")), - PythonScript = BLOC (condition = " NodeType == 'String' ", - Value = SIMP(statut = "o", typ = "TXM") - ), - UserFile = BLOC (condition = " NodeType == 'Script' ", - Value = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py')]) - ), - ObserverTemplate = F_ObserverTemplate(), - ), - ), - ) - -def AlgorithmParametersInNS(filename): - if os.path.exists(filename): - fc = open(filename, 'r').readlines() - cr = re.compile("^AlgorithmParameters[\s]*=") - for ln in fc: - if cr.match(ln): return 1 - return 0 -AlgorithmParametersInNS.info = u"The Python file has to contain explicitly an \"AlgorithmParameters\" variable." -def F_AlgorithmParameters(statut, algos_names, fv=NoCheckInNS) : return FACT( - statut = statut, - Algorithm = SIMP(statut="o", typ = "TXM", into = algos_names ), - Parameters = SIMP(statut="f", typ = "TXM", into=("Defaults", "Dict") ), - Dict = BLOC ( condition = " Parameters == 'Dict' ", - statut="f", - data = F_Dict("o", fv), - ), - Parameters3DVAR = BLOC (condition = " (Parameters == 'Defaults') and (Algorithm == '3DVAR') ", - statut="f", - Bounds = SIMP(statut="f", typ="TXM", fr="Liste des valeurs de bornes"), - CostDecrementTolerance = SIMP(statut="f", typ="R", min=1, max=1, defaut=1e-07, fr="Diminution relative minimale du cout lors de l'arrêt"), - GradientNormTolerance = SIMP(statut="f", typ="R", min=1, max=1, defaut=1e-05, fr="Maximum des composantes du gradient lors de l'arrêt"), - MaximumNumberOfSteps = SIMP(statut="f", typ="I", val_min=-1, min=1, max=1, defaut=15000, fr="Nombre maximal de pas d'optimisation"), - Minimizer = SIMP(statut="f", typ="TXM", min=1, max=1, defaut="LBFGSB", into=['LBFGSB', 'TNC', 'CG', 'NCG', 'BFGS'], fr="Minimiseur utilisé"), - NumberOfSamplesForQuantiles = SIMP(statut="f", typ="I", val_min=1, min=1, max=1, defaut=100, fr="Nombre d'échantillons simulés pour le calcul des quantiles"), - ProjectedGradientTolerance = SIMP(statut="f", typ="R", val_min=-1, min=1, max=1, defaut=-1.0, fr="Maximum des composantes du gradient projeté lors de l'arrêt"), - Quantiles = SIMP(statut="f", typ="TXM", max="**", into=None, fr="Liste des valeurs de quantiles"), - SetSeed = SIMP(statut="f", typ="TXM", fr="Graine fixée pour le générateur aléatoire"), - SimulationForQuantiles = SIMP(statut="f", typ="TXM", min=1, max=1, defaut="Linear", into=['Linear', 'NonLinear'], fr="Type de simulation pour l'estimation des quantiles"), - StoreSupplementaryCalculations = SIMP(statut="f", typ="TXM", max="**", into=['APosterioriCorrelations', 'APosterioriCovariance', 'APosterioriStandardDeviations', 'APosterioriVariances', 'BMA', 'OMA', 'OMB', 'CostFunctionJ', 'CurrentState', 'CurrentOptimum', 'IndexOfOptimum', 'Innovation', 'InnovationAtCurrentState', 'CostFunctionJAtCurrentOptimum', 'SigmaObs2', 'MahalanobisConsistency', 'SimulationQuantiles', 'SimulatedObservationAtBackground', 'SimulatedObservationAtCurrentState', 'SimulatedObservationAtOptimum', 'SimulatedObservationAtCurrentOptimum'], fr="Liste de calculs supplémentaires à stocker et/ou effectuer"), - ), - Parameters4DVAR = BLOC (condition = " (Parameters == 'Defaults') and (Algorithm == '4DVAR') ", - statut="f", - Bounds = SIMP(statut="f", typ="TXM", fr="Liste des valeurs de bornes"), - ConstrainedBy = SIMP(statut="f", typ="TXM", min=1, max=1, defaut="EstimateProjection", into=['EstimateProjection'], fr="Prise en compte des contraintes"), - CostDecrementTolerance = SIMP(statut="f", typ="R", min=1, max=1, defaut=1e-07, fr="Diminution relative minimale du cout lors de l'arrêt"), - EstimationOf = SIMP(statut="f", typ="TXM", min=1, max=1, defaut="State", into=['State', 'Parameters'], fr="Estimation d'etat ou de parametres"), - GradientNormTolerance = SIMP(statut="f", typ="R", min=1, max=1, defaut=1e-05, fr="Maximum des composantes du gradient lors de l'arrêt"), - MaximumNumberOfSteps = SIMP(statut="f", typ="I", val_min=-1, min=1, max=1, defaut=15000, fr="Nombre maximal de pas d'optimisation"), - Minimizer = SIMP(statut="f", typ="TXM", min=1, max=1, defaut="LBFGSB", into=['LBFGSB', 'TNC', 'CG', 'NCG', 'BFGS'], fr="Minimiseur utilisé"), - ProjectedGradientTolerance = SIMP(statut="f", typ="R", val_min=-1, min=1, max=1, defaut=-1.0, fr="Maximum des composantes du gradient projeté lors de l'arrêt"), - StoreSupplementaryCalculations = SIMP(statut="f", typ="TXM", max="**", into=['BMA', 'CurrentState', 'CostFunctionJ', 'IndexOfOptimum', 'CurrentOptimum', 'CostFunctionJAtCurrentOptimum'], fr="Liste de calculs supplémentaires à stocker et/ou effectuer"), - ), - ParametersBlue = BLOC (condition = " (Parameters == 'Defaults') and (Algorithm == 'Blue') ", - statut="f", - NumberOfSamplesForQuantiles = SIMP(statut="f", typ="I", val_min=1, min=1, max=1, defaut=100, fr="Nombre d'échantillons simulés pour le calcul des quantiles"), - Quantiles = SIMP(statut="f", typ="TXM", max="**", into=None, fr="Liste des valeurs de quantiles"), - SetSeed = SIMP(statut="f", typ="TXM", fr="Graine fixée pour le générateur aléatoire"), - SimulationForQuantiles = SIMP(statut="f", typ="TXM", min=1, max=1, defaut="Linear", into=['Linear', 'NonLinear'], fr="Type de simulation pour l'estimation des quantiles"), - StoreSupplementaryCalculations = SIMP(statut="f", typ="TXM", max="**", into=['APosterioriCorrelations', 'APosterioriCovariance', 'APosterioriStandardDeviations', 'APosterioriVariances', 'BMA', 'OMA', 'OMB', 'CurrentState', 'CostFunctionJ', 'Innovation', 'SigmaBck2', 'SigmaObs2', 'MahalanobisConsistency', 'SimulationQuantiles', 'SimulatedObservationAtBackground', 'SimulatedObservationAtCurrentState', 'SimulatedObservationAtOptimum'], fr="Liste de calculs supplémentaires à stocker et/ou effectuer"), - ), - ParametersDerivativeFreeOptimization = BLOC (condition = " (Parameters == 'Defaults') and (Algorithm == 'DerivativeFreeOptimization') ", - statut="f", - CostDecrementTolerance = SIMP(statut="f", typ="R", min=1, max=1, defaut=1e-07, fr="Diminution relative minimale du cout lors de l'arrêt"), - MaximumNumberOfFunctionEvaluations = SIMP(statut="f", typ="I", val_min=-1, min=1, max=1, defaut=15000, fr="Nombre maximal de d'évaluations de la function"), - MaximumNumberOfSteps = SIMP(statut="f", typ="I", val_min=-1, min=1, max=1, defaut=15000, fr="Nombre maximal de pas d'optimisation"), - Minimizer = SIMP(statut="f", typ="TXM", min=1, max=1, defaut="POWELL", into=['POWELL', 'SIMPLEX'], fr="Minimiseur utilisé"), - QualityCriterion = SIMP(statut="f", typ="TXM", min=1, max=1, defaut="AugmentedWeightedLeastSquares", into=['AugmentedWeightedLeastSquares', 'AWLS', 'DA', 'WeightedLeastSquares', 'WLS', 'LeastSquares', 'LS', 'L2', 'AbsoluteValue', 'L1', 'MaximumError', 'ME'], fr="Critère de qualité utilisé"), - StateVariationTolerance = SIMP(statut="f", typ="R", min=1, max=1, defaut=0.0001, fr="Variation relative maximale de l'état lors de l'arrêt"), - StoreSupplementaryCalculations = SIMP(statut="f", typ="TXM", max="**", into=['CurrentState', 'CostFunctionJ', 'SimulatedObservationAtBackground', 'SimulatedObservationAtCurrentState', 'SimulatedObservationAtOptimum'], fr="Liste de calculs supplémentaires à stocker et/ou effectuer"), - ), - ParametersEnsembleBlue = BLOC (condition = " (Parameters == 'Defaults') and (Algorithm == 'EnsembleBlue') ", - statut="f", - SetSeed = SIMP(statut="f", typ="TXM", fr="Graine fixée pour le générateur aléatoire"), - StoreSupplementaryCalculations = SIMP(statut="f", typ="TXM", max="**", into=['CurrentState', 'Innovation', 'SimulatedObservationAtBackground', 'SimulatedObservationAtCurrentState', 'SimulatedObservationAtOptimum'], fr="Liste de calculs supplémentaires à stocker et/ou effectuer"), - ), - ParametersExtendedBlue = BLOC (condition = " (Parameters == 'Defaults') and (Algorithm == 'ExtendedBlue') ", - statut="f", - NumberOfSamplesForQuantiles = SIMP(statut="f", typ="I", val_min=1, min=1, max=1, defaut=100, fr="Nombre d'échantillons simulés pour le calcul des quantiles"), - Quantiles = SIMP(statut="f", typ="TXM", max="**", into=None, fr="Liste des valeurs de quantiles"), - SetSeed = SIMP(statut="f", typ="TXM", fr="Graine fixée pour le générateur aléatoire"), - SimulationForQuantiles = SIMP(statut="f", typ="TXM", min=1, max=1, defaut="Linear", into=['Linear', 'NonLinear'], fr="Type de simulation pour l'estimation des quantiles"), - StoreSupplementaryCalculations = SIMP(statut="f", typ="TXM", max="**", into=['APosterioriCorrelations', 'APosterioriCovariance', 'APosterioriStandardDeviations', 'APosterioriVariances', 'BMA', 'OMA', 'OMB', 'CurrentState', 'CostFunctionJ', 'Innovation', 'SigmaBck2', 'SigmaObs2', 'MahalanobisConsistency', 'SimulationQuantiles', 'SimulatedObservationAtBackground', 'SimulatedObservationAtCurrentState', 'SimulatedObservationAtOptimum'], fr="Liste de calculs supplémentaires à stocker et/ou effectuer"), - ), - ParametersExtendedKalmanFilter = BLOC (condition = " (Parameters == 'Defaults') and (Algorithm == 'ExtendedKalmanFilter') ", - statut="f", - Bounds = SIMP(statut="f", typ="TXM", fr="Liste des valeurs de bornes"), - ConstrainedBy = SIMP(statut="f", typ="TXM", min=1, max=1, defaut="EstimateProjection", into=['EstimateProjection'], fr="Prise en compte des contraintes"), - EstimationOf = SIMP(statut="f", typ="TXM", min=1, max=1, defaut="State", into=['State', 'Parameters'], fr="Estimation d'etat ou de parametres"), - StoreSupplementaryCalculations = SIMP(statut="f", typ="TXM", max="**", into=['APosterioriCorrelations', 'APosterioriCovariance', 'APosterioriStandardDeviations', 'APosterioriVariances', 'BMA', 'CurrentState', 'CostFunctionJ', 'Innovation'], fr="Liste de calculs supplémentaires à stocker et/ou effectuer"), - ), - ParametersKalmanFilter = BLOC (condition = " (Parameters == 'Defaults') and (Algorithm == 'KalmanFilter') ", - statut="f", - EstimationOf = SIMP(statut="f", typ="TXM", min=1, max=1, defaut="State", into=['State', 'Parameters'], fr="Estimation d'etat ou de parametres"), - StoreSupplementaryCalculations = SIMP(statut="f", typ="TXM", max="**", into=['APosterioriCorrelations', 'APosterioriCovariance', 'APosterioriStandardDeviations', 'APosterioriVariances', 'BMA', 'CurrentState', 'CostFunctionJ', 'Innovation'], fr="Liste de calculs supplémentaires à stocker et/ou effectuer"), - ), - ParametersLinearLeastSquares = BLOC (condition = " (Parameters == 'Defaults') and (Algorithm == 'LinearLeastSquares') ", - statut="f", - StoreSupplementaryCalculations = SIMP(statut="f", typ="TXM", max="**", into=['OMA', 'CurrentState', 'CostFunctionJ', 'SimulatedObservationAtCurrentState', 'SimulatedObservationAtOptimum'], fr="Liste de calculs supplémentaires à stocker et/ou effectuer"), - ), - ParametersNonLinearLeastSquares = BLOC (condition = " (Parameters == 'Defaults') and (Algorithm == 'NonLinearLeastSquares') ", - statut="f", - Bounds = SIMP(statut="f", typ="TXM", fr="Liste des valeurs de bornes"), - CostDecrementTolerance = SIMP(statut="f", typ="R", min=1, max=1, defaut=1e-07, fr="Diminution relative minimale du cout lors de l'arrêt"), - GradientNormTolerance = SIMP(statut="f", typ="R", min=1, max=1, defaut=1e-05, fr="Maximum des composantes du gradient lors de l'arrêt"), - MaximumNumberOfSteps = SIMP(statut="f", typ="I", val_min=-1, min=1, max=1, defaut=15000, fr="Nombre maximal de pas d'optimisation"), - Minimizer = SIMP(statut="f", typ="TXM", min=1, max=1, defaut="LBFGSB", into=['LBFGSB', 'TNC', 'CG', 'NCG', 'BFGS', 'LM'], fr="Minimiseur utilisé"), - ProjectedGradientTolerance = SIMP(statut="f", typ="R", val_min=-1, min=1, max=1, defaut=-1.0, fr="Maximum des composantes du gradient projeté lors de l'arrêt"), - StoreSupplementaryCalculations = SIMP(statut="f", typ="TXM", max="**", into=['BMA', 'OMA', 'OMB', 'CurrentState', 'CostFunctionJ', 'Innovation', 'SimulatedObservationAtCurrentState', 'SimulatedObservationAtOptimum'], fr="Liste de calculs supplémentaires à stocker et/ou effectuer"), - ), - ParametersParticleSwarmOptimization = BLOC (condition = " (Parameters == 'Defaults') and (Algorithm == 'ParticleSwarmOptimization') ", - statut="f", - BoxBounds = SIMP(statut="f", typ="TXM", fr="Liste des valeurs de bornes d'incréments de paramètres"), - GroupRecallRate = SIMP(statut="f", typ="R", val_min=0.0, val_max=1.0, min=1, max=1, defaut=0.5, fr="Taux de rappel au meilleur insecte du groupe (entre 0 et 1)"), - MaximumNumberOfSteps = SIMP(statut="f", typ="I", val_min=1, min=1, max=1, defaut=50, fr="Nombre maximal de pas d'optimisation"), - NumberOfInsects = SIMP(statut="f", typ="I", val_min=-1, min=1, max=1, defaut=100, fr="Nombre d'insectes dans l'essaim"), - QualityCriterion = SIMP(statut="f", typ="TXM", min=1, max=1, defaut="AugmentedWeightedLeastSquares", into=['AugmentedWeightedLeastSquares', 'AWLS', 'AugmentedPonderatedLeastSquares', 'APLS', 'DA', 'WeightedLeastSquares', 'WLS', 'PonderatedLeastSquares', 'PLS', 'LeastSquares', 'LS', 'L2', 'AbsoluteValue', 'L1', 'MaximumError', 'ME'], fr="Critère de qualité utilisé"), - SetSeed = SIMP(statut="f", typ="TXM", fr="Graine fixée pour le générateur aléatoire"), - StoreSupplementaryCalculations = SIMP(statut="f", typ="TXM", max="**", into=['BMA', 'OMA', 'OMB', 'CurrentState', 'CostFunctionJ', 'Innovation', 'SimulatedObservationAtBackground', 'SimulatedObservationAtCurrentState', 'SimulatedObservationAtOptimum'], fr="Liste de calculs supplémentaires à stocker et/ou effectuer"), - SwarmVelocity = SIMP(statut="f", typ="R", val_min=0.0, min=1, max=1, defaut=1.0, fr="Vitesse de groupe imposée par l'essaim"), - ), - ParametersQuantileRegression = BLOC (condition = " (Parameters == 'Defaults') and (Algorithm == 'QuantileRegression') ", - statut="f", - Bounds = SIMP(statut="f", typ="TXM", fr="Liste des valeurs de bornes"), - CostDecrementTolerance = SIMP(statut="f", typ="R", min=1, max=1, defaut=1e-06, fr="Maximum de variation de la fonction d'estimation lors de l'arrêt"), - MaximumNumberOfSteps = SIMP(statut="f", typ="I", val_min=1, min=1, max=1, defaut=15000, fr="Nombre maximal de pas d'optimisation"), - Minimizer = SIMP(statut="f", typ="TXM", min=1, max=1, defaut="MMQR", into=['MMQR'], fr="Minimiseur utilisé"), - Quantile = SIMP(statut="f", typ="R", val_min=0.0, val_max=1.0, min=1, max=1, defaut=0.5, fr="Quantile pour la regression de quantile"), - StoreSupplementaryCalculations = SIMP(statut="f", typ="TXM", max="**", into=['BMA', 'OMA', 'OMB', 'CurrentState', 'CostFunctionJ', 'Innovation', 'SimulatedObservationAtBackground', 'SimulatedObservationAtCurrentState', 'SimulatedObservationAtOptimum'], fr="Liste de calculs supplémentaires à stocker et/ou effectuer"), - ), - ParametersUnscentedKalmanFilter = BLOC (condition = " (Parameters == 'Defaults') and (Algorithm == 'UnscentedKalmanFilter') ", - statut="f", - Alpha = SIMP(statut="f", typ="R", val_min=0.0001, val_max=1.0, min=1, max=1, defaut=1.0, fr=""), - Beta = SIMP(statut="f", typ="R", min=1, max=1, defaut=2.0, fr=""), - Bounds = SIMP(statut="f", typ="TXM", fr="Liste des valeurs de bornes"), - ConstrainedBy = SIMP(statut="f", typ="TXM", min=1, max=1, defaut="EstimateProjection", into=['EstimateProjection'], fr="Prise en compte des contraintes"), - EstimationOf = SIMP(statut="f", typ="TXM", min=1, max=1, defaut="State", into=['State', 'Parameters'], fr="Estimation d'etat ou de parametres"), - Kappa = SIMP(statut="f", typ="I", val_max=2, min=1, max=1, defaut=0, fr=""), - Reconditioner = SIMP(statut="f", typ="R", val_min=0.001, val_max=10.0, min=1, max=1, defaut=1.0, fr=""), - StoreSupplementaryCalculations = SIMP(statut="f", typ="TXM", max="**", into=['APosterioriCorrelations', 'APosterioriCovariance', 'APosterioriStandardDeviations', 'APosterioriVariances', 'BMA', 'CurrentState', 'CostFunctionJ', 'Innovation'], fr="Liste de calculs supplémentaires à stocker et/ou effectuer"), - ), - ParametersAdjointTest = BLOC (condition = " (Parameters == 'Defaults') and (Algorithm == 'AdjointTest') ", - statut="f", - AmplitudeOfInitialDirection = SIMP(statut="f", typ="R", min=1, max=1, defaut=1.0, fr="Amplitude de la direction initiale de la dérivée directionnelle autour du point nominal"), - EpsilonMinimumExponent = SIMP(statut="f", typ="I", val_min=-20, val_max=0, min=1, max=1, defaut=-8, fr="Exposant minimal en puissance de 10 pour le multiplicateur d'incrément"), - InitialDirection = SIMP(statut="f", typ="TXM", fr="Direction initiale de la dérivée directionnelle autour du point nominal"), - ResiduFormula = SIMP(statut="f", typ="TXM", min=1, max=1, defaut="ScalarProduct", into=['ScalarProduct'], fr="Formule de résidu utilisée"), - SetSeed = SIMP(statut="f", typ="TXM", fr="Graine fixée pour le générateur aléatoire"), - StoreSupplementaryCalculations = SIMP(statut="f", typ="TXM", max="**", into=['CurrentState', 'Residu', 'SimulatedObservationAtCurrentState'], fr="Liste de calculs supplémentaires à stocker et/ou effectuer"), - ), - ParametersFunctionTest = BLOC (condition = " (Parameters == 'Defaults') and (Algorithm == 'FunctionTest') ", - statut="f", - NumberOfPrintedDigits = SIMP(statut="f", typ="I", val_min=0, min=1, max=1, defaut=5, fr="Nombre de chiffres affichés pour les impressions de réels"), - NumberOfRepetition = SIMP(statut="f", typ="I", val_min=1, min=1, max=1, defaut=1, fr="Nombre de fois où l'exécution de la fonction est répétée"), - SetDebug = SIMP(statut="f", typ="I", min=1, max=1, defaut=0, fr="Activation du mode debug lors de l'exécution"), - StoreSupplementaryCalculations = SIMP(statut="f", typ="TXM", max="**", into=['CurrentState', 'SimulatedObservationAtCurrentState'], fr="Liste de calculs supplémentaires à stocker et/ou effectuer"), - ), - ParametersGradientTest = BLOC (condition = " (Parameters == 'Defaults') and (Algorithm == 'GradientTest') ", - statut="f", - AmplitudeOfInitialDirection = SIMP(statut="f", typ="R", min=1, max=1, defaut=1.0, fr="Amplitude de la direction initiale de la dérivée directionnelle autour du point nominal"), - AmplitudeOfTangentPerturbation = SIMP(statut="f", typ="R", val_min=1e-10, val_max=1.0, min=1, max=1, defaut=0.01, fr="Amplitude de la perturbation pour le calcul de la forme tangente"), - EpsilonMinimumExponent = SIMP(statut="f", typ="I", val_min=-20, val_max=0, min=1, max=1, defaut=-8, fr="Exposant minimal en puissance de 10 pour le multiplicateur d'incrément"), - InitialDirection = SIMP(statut="f", typ="TXM", fr="Direction initiale de la dérivée directionnelle autour du point nominal"), - ResiduFormula = SIMP(statut="f", typ="TXM", min=1, max=1, defaut="Taylor", into=['Norm', 'TaylorOnNorm', 'Taylor'], fr="Formule de résidu utilisée"), - SetSeed = SIMP(statut="f", typ="TXM", fr="Graine fixée pour le générateur aléatoire"), - StoreSupplementaryCalculations = SIMP(statut="f", typ="TXM", max="**", into=['CurrentState', 'Residu', 'SimulatedObservationAtCurrentState'], fr="Liste de calculs supplémentaires à stocker et/ou effectuer"), - ), - ParametersLinearityTest = BLOC (condition = " (Parameters == 'Defaults') and (Algorithm == 'LinearityTest') ", - statut="f", - AmplitudeOfInitialDirection = SIMP(statut="f", typ="R", min=1, max=1, defaut=1.0, fr="Amplitude de la direction initiale de la dérivée directionnelle autour du point nominal"), - AmplitudeOfTangentPerturbation = SIMP(statut="f", typ="R", val_min=1e-10, val_max=1.0, min=1, max=1, defaut=0.01, fr="Amplitude de la perturbation pour le calcul de la forme tangente"), - EpsilonMinimumExponent = SIMP(statut="f", typ="I", val_min=-20, val_max=0, min=1, max=1, defaut=-8, fr="Exposant minimal en puissance de 10 pour le multiplicateur d'incrément"), - InitialDirection = SIMP(statut="f", typ="TXM", fr="Direction initiale de la dérivée directionnelle autour du point nominal"), - ResiduFormula = SIMP(statut="f", typ="TXM", min=1, max=1, defaut="CenteredDL", into=['CenteredDL', 'Taylor', 'NominalTaylor', 'NominalTaylorRMS'], fr="Formule de résidu utilisée"), - SetSeed = SIMP(statut="f", typ="TXM", fr="Graine fixée pour le générateur aléatoire"), - StoreSupplementaryCalculations = SIMP(statut="f", typ="TXM", max="**", into=['CurrentState', 'Residu', 'SimulatedObservationAtCurrentState'], fr="Liste de calculs supplémentaires à stocker et/ou effectuer"), - ), - ParametersSamplingTest = BLOC (condition = " (Parameters == 'Defaults') and (Algorithm == 'SamplingTest') ", - statut="f", - QualityCriterion = SIMP(statut="f", typ="TXM", min=1, max=1, defaut="AugmentedWeightedLeastSquares", into=['AugmentedWeightedLeastSquares', 'AWLS', 'AugmentedPonderatedLeastSquares', 'APLS', 'DA', 'WeightedLeastSquares', 'WLS', 'PonderatedLeastSquares', 'PLS', 'LeastSquares', 'LS', 'L2', 'AbsoluteValue', 'L1', 'MaximumError', 'ME'], fr="Critère de qualité utilisé"), - SampleAsExplicitHyperCube = SIMP(statut="f", typ="TXM", max="**", into=None, fr="Points de calcul définis par un hyper-cube dont on donne la liste des échantillonages de chaque variable comme une liste"), - SampleAsIndependantRandomVariables = SIMP(statut="f", typ="TXM", max="**", into=None, fr="Points de calcul définis par un hyper-cube dont les points sur chaque axe proviennent de l'échantillonage indépendant de la variable selon la spécification ['distribution',[parametres],nombre]"), - SampleAsMinMaxStepHyperCube = SIMP(statut="f", typ="TXM", max="**", into=None, fr="Points de calcul définis par un hyper-cube dont on donne la liste des échantillonages de chaque variable par un triplet [min,max,step]"), - SampleAsnUplet = SIMP(statut="f", typ="TXM", max="**", into=None, fr="Points de calcul définis par une liste de n-uplet"), - SetDebug = SIMP(statut="f", typ="I", min=1, max=1, defaut=0, fr="Activation du mode debug lors de l'exécution"), - SetSeed = SIMP(statut="f", typ="TXM", fr="Graine fixée pour le générateur aléatoire"), - StoreSupplementaryCalculations = SIMP(statut="f", typ="TXM", max="**", into=['CostFunctionJ', 'CurrentState', 'InnovationAtCurrentState', 'SimulatedObservationAtCurrentState'], fr="Liste de calculs supplémentaires à stocker et/ou effectuer"), - ), - ParametersTangentTest = BLOC (condition = " (Parameters == 'Defaults') and (Algorithm == 'TangentTest') ", - statut="f", - AmplitudeOfInitialDirection = SIMP(statut="f", typ="R", min=1, max=1, defaut=1.0, fr="Amplitude de la direction initiale de la dérivée directionnelle autour du point nominal"), - AmplitudeOfTangentPerturbation = SIMP(statut="f", typ="R", val_min=1e-10, val_max=1.0, min=1, max=1, defaut=0.01, fr="Amplitude de la perturbation pour le calcul de la forme tangente"), - EpsilonMinimumExponent = SIMP(statut="f", typ="I", val_min=-20, val_max=0, min=1, max=1, defaut=-8, fr="Exposant minimal en puissance de 10 pour le multiplicateur d'incrément"), - InitialDirection = SIMP(statut="f", typ="TXM", fr="Direction initiale de la dérivée directionnelle autour du point nominal"), - ResiduFormula = SIMP(statut="f", typ="TXM", min=1, max=1, defaut="Taylor", into=['Taylor'], fr="Formule de résidu utilisée"), - SetSeed = SIMP(statut="f", typ="TXM", fr="Graine fixée pour le générateur aléatoire"), - StoreSupplementaryCalculations = SIMP(statut="f", typ="TXM", max="**", into=['CurrentState', 'Residu', 'SimulatedObservationAtCurrentState'], fr="Liste de calculs supplémentaires à stocker et/ou effectuer"), - ), - ) - -def F_variables(statut) : return FACT( - statut=statut, - regles = ( MEME_NOMBRE ('NAMES', 'SIZES')), - NAMES = SIMP(statut="o", typ="TXM", max="**", validators=NoRepeat()), - SIZES = SIMP(statut="o", typ="I", val_min=1, max="**") - ) -def ChDir(dirname): - os.chdir(os.path.abspath(dirname)) - return 1 -ChDir.info = u"This has to be a regular directory path." - -ASSIMILATION_STUDY = PROC(nom="ASSIMILATION_STUDY", - op=None, - repetable = "n", - StudyName = SIMP(statut="o", typ = "TXM", defaut="ADAO Calculation Case"), - StudyRepertory = SIMP(statut="f", typ = "Repertoire", validators=FunctionVal(ChDir), min=1, max=1), - Debug = SIMP(statut="f", typ = "I", into=(0, 1), defaut=0), - AlgorithmParameters = F_AlgorithmParameters("o",("3DVAR", "4DVAR", "Blue", "DerivativeFreeOptimization", "EnsembleBlue", "ExtendedBlue", "ExtendedKalmanFilter", "KalmanFilter", "LinearLeastSquares", "NonLinearLeastSquares", "ParticleSwarmOptimization", "QuantileRegression", "UnscentedKalmanFilter", ), AlgorithmParametersInNS), - Background = F_Background("o", BackgroundInNS), - BackgroundError = F_BackgroundError("o", BackgroundErrorInNS), - Observation = F_Observation("o", ObservationInNS), - ObservationError = F_ObservationError("o", ObservationErrorInNS), - ObservationOperator = F_ObservationOperator("o"), - EvolutionModel = F_EvolutionModel("f"), - EvolutionError = F_EvolutionError("f", EvolutionErrorInNS), - ControlInput = F_ControlInput("f"), - UserDataInit = F_Init("f"), - UserPostAnalysis = F_UserPostAnalysis("o"), - InputVariables = F_variables("f"), - OutputVariables = F_variables("f"), - Observers = F_Observers("f") - ) - -CHECKING_STUDY = PROC(nom="CHECKING_STUDY", - op=None, - repetable = "n", - StudyName = SIMP(statut="o", typ = "TXM", defaut="ADAO Checking Case"), - StudyRepertory = SIMP(statut="f", typ = "Repertoire", validators=FunctionVal(ChDir), min=1, max=1), - Debug = SIMP(statut="f", typ = "I", into=(0, 1), defaut=0), - AlgorithmParameters = F_AlgorithmParameters("o", ("AdjointTest", "FunctionTest", "GradientTest", "LinearityTest", "ObserverTest", "SamplingTest", "TangentTest", ), AlgorithmParametersInNS), - CheckingPoint = F_CheckingPoint("o", CheckingPointInNS), - BackgroundError = F_BackgroundError("f", BackgroundErrorInNS), - Observation = F_Observation("f", ObservationInNS), - ObservationError = F_ObservationError("f", ObservationErrorInNS), - ObservationOperator = F_ObservationOperator("o"), - UserDataInit = F_Init("f"), - Observers = F_Observers("f") - ) diff --git a/Adao/ADAO_Cata_V0_V8_3_0_DEV.py b/Adao/ADAO_Cata_V0_V8_3_0_DEV.py deleted file mode 100755 index 78beda68..00000000 --- a/Adao/ADAO_Cata_V0_V8_3_0_DEV.py +++ /dev/null @@ -1,1270 +0,0 @@ -#-*-coding:iso-8859-1-*- -# -# Copyright (C) 2008-2017 EDF R&D -# -# This file is part of SALOME ADAO module -# -# 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 -# -# Author: Jean-Philippe Argaud, jean-philippe.argaud@edf.fr, EDF R&D - -# -------------------------------------------------------- -# Generated by AdaoCatalogGenerator on 2017-03-06 09:14:06 -# -------------------------------------------------------- - -import os, re -import Accas -from Accas import * - -JdC = JDC_CATA ( - code = 'ADAO', - execmodul = None, - regles = ( AU_MOINS_UN ('ASSIMILATION_STUDY','CHECKING_STUDY'), AU_PLUS_UN ('ASSIMILATION_STUDY','CHECKING_STUDY')), - ) -VERSION_CATALOGUE='V8_3_0' - -def NoCheckInNS(filename): - return 1 -NoCheckInNS.info = "" -def DirectOperatorInNS(filename): - if os.path.exists(filename): - fc = open(filename, 'r').readlines() - cr = re.compile("^def[\s]*DirectOperator[\s]*\(") - for ln in fc: - if cr.match(ln): return 1 - cr = re.compile("^DirectOperator[\s]*=") - for ln in fc: - if cr.match(ln): return 1 - return 0 -DirectOperatorInNS.info = u"The Python file has to contain explicitly a \"DirectOperator\" function definition with only one vector as argument." -def TangentOperatorInNS(filename): - if os.path.exists(filename): - fc = open(filename, 'r').readlines() - cr = re.compile("^def[\s]*TangentOperator[\s]*\(") - for ln in fc: - if cr.match(ln): return 1 - cr = re.compile("^TangentOperator[\s]*=") - for ln in fc: - if cr.match(ln): return 1 - return 0 -TangentOperatorInNS.info = u"The Python file has to contain explicitly a \"TangentOperator\" function definition with only one pair of vectors as argument." -def AdjointOperatorInNS(filename): - if os.path.exists(filename): - fc = open(filename, 'r').readlines() - cr = re.compile("^def[\s]*AdjointOperator[\s]*\(") - for ln in fc: - if cr.match(ln): return 1 - cr = re.compile("^AdjointOperator[\s]*=") - for ln in fc: - if cr.match(ln): return 1 - return 0 -AdjointOperatorInNS.info = u"The Python file has to contain explicitly an \"AdjointOperator\" function definition with only one pair of vectors as argument." - -def F_VectorSerie(statut, fv=NoCheckInNS) : return FACT( - statut = statut, - FROM = SIMP(statut = "o", typ = "TXM", into=("String", "Script", ), defaut="Script"), - SCRIPT_DATA = BLOC ( condition = " FROM in ( 'Script', ) ", - SCRIPT_FILE = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py'), FunctionVal(fv)], fr="En attente d'un nom de fichier script, avec ou sans le chemin complet pour le trouver, contenant si nécessaire la définition d'une variable interne de même nom que le concept parent", ang="Waiting for a script file name, with or without the full path to find it, containing if necessary the definition of an internal variable of the same name as the parent concept"), - ), - STRING_DATA = BLOC ( condition = " FROM in ( 'String', ) ", - STRING = SIMP(statut = "o", typ = "TXM", fr="En attente d'une chaine de caractères entre guillements. Pour construire un vecteur ou une matrice, ce doit être une suite de nombres, utilisant un espace ou une virgule pour séparer deux éléments et un point-virgule pour séparer deux lignes", ang="Waiting for a string in quotes. To build a vector or a matrix, it has to be a float serie, using a space or comma to separate two elements in a line, a semi-colon to separate rows"), - ), - SCRIPTWITHFUNCTIONS_DATA = BLOC ( condition = " FROM in ( 'ScriptWithFunctions', ) ", - SCRIPTWITHFUNCTIONS_FILE = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py'), FunctionVal(DirectOperatorInNS), FunctionVal(TangentOperatorInNS), FunctionVal(AdjointOperatorInNS)], fr="En attente d'un nom de fichier script, avec ou sans le chemin complet pour le trouver, contenant en variables internes trois fonctions de calcul nommées DirectOperator, TangentOperator et AdjointOperator", ang="Waiting for a script file name, with or without the full path to find it, containing as internal variables three computation functions named DirectOperator, TangentOperator and AdjointOperator"), - ), - SCRIPTWITHONEFUNCTION_DATA = BLOC ( condition = " FROM in ( 'ScriptWithOneFunction', ) ", - SCRIPTWITHONEFUNCTION_FILE = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py'), FunctionVal(DirectOperatorInNS)], fr="En attente d'un nom de fichier script, avec ou sans le chemin complet pour le trouver, contenant en variable interne une seule fonction de calcul nommée DirectOperator", ang="Waiting for a script file name, with or without the full path to find it, containing as internal variable only one function named DirectOperator"), - DifferentialIncrement = SIMP(statut="o", typ = "R", val_min=0, val_max=1, defaut=0.01, fr="Incrément de la perturbation dX pour calculer la dérivée, construite en multipliant X par l'incrément en évitant les valeurs nulles", ang="Increment of dX perturbation to calculate the derivative, build multiplying X by the increment avoiding null values"), - CenteredFiniteDifference = SIMP(statut="o", typ = "I", into=(0, 1), defaut=0, fr="Formulation centrée (1) ou décentrée (0) pour la méthode des différences finies", ang="Centered (1) or uncentered (0) formulation for the finite differences method"), - EnableMultiProcessing = SIMP(statut="f", typ = "I", into=(0, 1), defaut=0, fr="Calculs élémentaires effectués en séquentiel (0) ou en parallèle (1) dans la méthode des différences finies", ang="Elementary calculations done sequentially (0) or in parallel (1) in the finite differences method"), - NumberOfProcesses = SIMP(statut="f", typ = "I", val_min=0, defaut=0, fr="Nombre de processus parallèles, 0 pour un contrôle automatique", ang="Number of parallel processes, 0 for automatic control"), - ), - SCRIPTWITHSWITCH_DATA = BLOC ( condition = " FROM in ( 'ScriptWithSwitch', ) ", - SCRIPTWITHSWITCH_FILE = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py')], fr="En attente d'un nom de fichier script, avec ou sans le chemin complet pour le trouver, contenant un switch pour les calculs direct, tangent et adjoint", ang="Waiting for a script file name, with or without the full path to find it, containing a switch for direct, tangent and adjoint computations"), - ), - TEMPLATE_DATA = BLOC (condition = " FROM in ( 'Template', ) ", - Template = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "AnalysisPrinter", into=("AnalysisPrinter", "AnalysisSaver", "AnalysisPrinterAndSaver")), - AnalysisPrinter = BLOC (condition = " Template == 'AnalysisPrinter' ", - ValueTemplate = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "import numpy\nxa=numpy.ravel(ADD.get('Analysis')[-1])\nprint 'Analysis:',xa" ), - ), - AnalysisSaver = BLOC (condition = " Template == 'AnalysisSaver' ", - ValueTemplate = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "import numpy\nxa=numpy.ravel(ADD.get('Analysis')[-1])\nf='/tmp/analysis.txt'\nprint 'Analysis saved in \"%s\"'%f\nnumpy.savetxt(f,xa)" ), - ), - AnalysisPrinterAndSaver = BLOC (condition = " Template == 'AnalysisPrinterAndSaver' ", - ValueTemplate = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "import numpy\nxa=numpy.ravel(ADD.get('Analysis')[-1])\nprint 'Analysis:',xa\nf='/tmp/analysis.txt'\nprint 'Analysis saved in \"%s\"'%f\nnumpy.savetxt(f,xa)" ), - ), - ), - ) - -def F_Function(statut, fv=NoCheckInNS) : return FACT( - statut = statut, - FROM = SIMP(statut = "o", typ = "TXM", into=("ScriptWithOneFunction", "ScriptWithFunctions", "ScriptWithSwitch", "FunctionDict", ), defaut="ScriptWithOneFunction"), - SCRIPT_DATA = BLOC ( condition = " FROM in ( 'Script', ) ", - SCRIPT_FILE = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py'), FunctionVal(fv)], fr="En attente d'un nom de fichier script, avec ou sans le chemin complet pour le trouver, contenant si nécessaire la définition d'une variable interne de même nom que le concept parent", ang="Waiting for a script file name, with or without the full path to find it, containing if necessary the definition of an internal variable of the same name as the parent concept"), - ), - STRING_DATA = BLOC ( condition = " FROM in ( 'String', ) ", - STRING = SIMP(statut = "o", typ = "TXM", fr="En attente d'une chaine de caractères entre guillements. Pour construire un vecteur ou une matrice, ce doit être une suite de nombres, utilisant un espace ou une virgule pour séparer deux éléments et un point-virgule pour séparer deux lignes", ang="Waiting for a string in quotes. To build a vector or a matrix, it has to be a float serie, using a space or comma to separate two elements in a line, a semi-colon to separate rows"), - ), - SCRIPTWITHFUNCTIONS_DATA = BLOC ( condition = " FROM in ( 'ScriptWithFunctions', ) ", - SCRIPTWITHFUNCTIONS_FILE = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py'), FunctionVal(DirectOperatorInNS), FunctionVal(TangentOperatorInNS), FunctionVal(AdjointOperatorInNS)], fr="En attente d'un nom de fichier script, avec ou sans le chemin complet pour le trouver, contenant en variables internes trois fonctions de calcul nommées DirectOperator, TangentOperator et AdjointOperator", ang="Waiting for a script file name, with or without the full path to find it, containing as internal variables three computation functions named DirectOperator, TangentOperator and AdjointOperator"), - ), - SCRIPTWITHONEFUNCTION_DATA = BLOC ( condition = " FROM in ( 'ScriptWithOneFunction', ) ", - SCRIPTWITHONEFUNCTION_FILE = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py'), FunctionVal(DirectOperatorInNS)], fr="En attente d'un nom de fichier script, avec ou sans le chemin complet pour le trouver, contenant en variable interne une seule fonction de calcul nommée DirectOperator", ang="Waiting for a script file name, with or without the full path to find it, containing as internal variable only one function named DirectOperator"), - DifferentialIncrement = SIMP(statut="o", typ = "R", val_min=0, val_max=1, defaut=0.01, fr="Incrément de la perturbation dX pour calculer la dérivée, construite en multipliant X par l'incrément en évitant les valeurs nulles", ang="Increment of dX perturbation to calculate the derivative, build multiplying X by the increment avoiding null values"), - CenteredFiniteDifference = SIMP(statut="o", typ = "I", into=(0, 1), defaut=0, fr="Formulation centrée (1) ou décentrée (0) pour la méthode des différences finies", ang="Centered (1) or uncentered (0) formulation for the finite differences method"), - EnableMultiProcessing = SIMP(statut="f", typ = "I", into=(0, 1), defaut=0, fr="Calculs élémentaires effectués en séquentiel (0) ou en parallèle (1) dans la méthode des différences finies", ang="Elementary calculations done sequentially (0) or in parallel (1) in the finite differences method"), - NumberOfProcesses = SIMP(statut="f", typ = "I", val_min=0, defaut=0, fr="Nombre de processus parallèles, 0 pour un contrôle automatique", ang="Number of parallel processes, 0 for automatic control"), - ), - SCRIPTWITHSWITCH_DATA = BLOC ( condition = " FROM in ( 'ScriptWithSwitch', ) ", - SCRIPTWITHSWITCH_FILE = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py')], fr="En attente d'un nom de fichier script, avec ou sans le chemin complet pour le trouver, contenant un switch pour les calculs direct, tangent et adjoint", ang="Waiting for a script file name, with or without the full path to find it, containing a switch for direct, tangent and adjoint computations"), - ), - TEMPLATE_DATA = BLOC (condition = " FROM in ( 'Template', ) ", - Template = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "AnalysisPrinter", into=("AnalysisPrinter", "AnalysisSaver", "AnalysisPrinterAndSaver")), - AnalysisPrinter = BLOC (condition = " Template == 'AnalysisPrinter' ", - ValueTemplate = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "import numpy\nxa=numpy.ravel(ADD.get('Analysis')[-1])\nprint 'Analysis:',xa" ), - ), - AnalysisSaver = BLOC (condition = " Template == 'AnalysisSaver' ", - ValueTemplate = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "import numpy\nxa=numpy.ravel(ADD.get('Analysis')[-1])\nf='/tmp/analysis.txt'\nprint 'Analysis saved in \"%s\"'%f\nnumpy.savetxt(f,xa)" ), - ), - AnalysisPrinterAndSaver = BLOC (condition = " Template == 'AnalysisPrinterAndSaver' ", - ValueTemplate = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "import numpy\nxa=numpy.ravel(ADD.get('Analysis')[-1])\nprint 'Analysis:',xa\nf='/tmp/analysis.txt'\nprint 'Analysis saved in \"%s\"'%f\nnumpy.savetxt(f,xa)" ), - ), - ), - ) - -def F_Matrix(statut, fv=NoCheckInNS) : return FACT( - statut = statut, - FROM = SIMP(statut = "o", typ = "TXM", into=("String", "Script", ), defaut="Script"), - SCRIPT_DATA = BLOC ( condition = " FROM in ( 'Script', ) ", - SCRIPT_FILE = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py'), FunctionVal(fv)], fr="En attente d'un nom de fichier script, avec ou sans le chemin complet pour le trouver, contenant si nécessaire la définition d'une variable interne de même nom que le concept parent", ang="Waiting for a script file name, with or without the full path to find it, containing if necessary the definition of an internal variable of the same name as the parent concept"), - ), - STRING_DATA = BLOC ( condition = " FROM in ( 'String', ) ", - STRING = SIMP(statut = "o", typ = "TXM", fr="En attente d'une chaine de caractères entre guillements. Pour construire un vecteur ou une matrice, ce doit être une suite de nombres, utilisant un espace ou une virgule pour séparer deux éléments et un point-virgule pour séparer deux lignes", ang="Waiting for a string in quotes. To build a vector or a matrix, it has to be a float serie, using a space or comma to separate two elements in a line, a semi-colon to separate rows"), - ), - SCRIPTWITHFUNCTIONS_DATA = BLOC ( condition = " FROM in ( 'ScriptWithFunctions', ) ", - SCRIPTWITHFUNCTIONS_FILE = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py'), FunctionVal(DirectOperatorInNS), FunctionVal(TangentOperatorInNS), FunctionVal(AdjointOperatorInNS)], fr="En attente d'un nom de fichier script, avec ou sans le chemin complet pour le trouver, contenant en variables internes trois fonctions de calcul nommées DirectOperator, TangentOperator et AdjointOperator", ang="Waiting for a script file name, with or without the full path to find it, containing as internal variables three computation functions named DirectOperator, TangentOperator and AdjointOperator"), - ), - SCRIPTWITHONEFUNCTION_DATA = BLOC ( condition = " FROM in ( 'ScriptWithOneFunction', ) ", - SCRIPTWITHONEFUNCTION_FILE = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py'), FunctionVal(DirectOperatorInNS)], fr="En attente d'un nom de fichier script, avec ou sans le chemin complet pour le trouver, contenant en variable interne une seule fonction de calcul nommée DirectOperator", ang="Waiting for a script file name, with or without the full path to find it, containing as internal variable only one function named DirectOperator"), - DifferentialIncrement = SIMP(statut="o", typ = "R", val_min=0, val_max=1, defaut=0.01, fr="Incrément de la perturbation dX pour calculer la dérivée, construite en multipliant X par l'incrément en évitant les valeurs nulles", ang="Increment of dX perturbation to calculate the derivative, build multiplying X by the increment avoiding null values"), - CenteredFiniteDifference = SIMP(statut="o", typ = "I", into=(0, 1), defaut=0, fr="Formulation centrée (1) ou décentrée (0) pour la méthode des différences finies", ang="Centered (1) or uncentered (0) formulation for the finite differences method"), - EnableMultiProcessing = SIMP(statut="f", typ = "I", into=(0, 1), defaut=0, fr="Calculs élémentaires effectués en séquentiel (0) ou en parallèle (1) dans la méthode des différences finies", ang="Elementary calculations done sequentially (0) or in parallel (1) in the finite differences method"), - NumberOfProcesses = SIMP(statut="f", typ = "I", val_min=0, defaut=0, fr="Nombre de processus parallèles, 0 pour un contrôle automatique", ang="Number of parallel processes, 0 for automatic control"), - ), - SCRIPTWITHSWITCH_DATA = BLOC ( condition = " FROM in ( 'ScriptWithSwitch', ) ", - SCRIPTWITHSWITCH_FILE = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py')], fr="En attente d'un nom de fichier script, avec ou sans le chemin complet pour le trouver, contenant un switch pour les calculs direct, tangent et adjoint", ang="Waiting for a script file name, with or without the full path to find it, containing a switch for direct, tangent and adjoint computations"), - ), - TEMPLATE_DATA = BLOC (condition = " FROM in ( 'Template', ) ", - Template = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "AnalysisPrinter", into=("AnalysisPrinter", "AnalysisSaver", "AnalysisPrinterAndSaver")), - AnalysisPrinter = BLOC (condition = " Template == 'AnalysisPrinter' ", - ValueTemplate = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "import numpy\nxa=numpy.ravel(ADD.get('Analysis')[-1])\nprint 'Analysis:',xa" ), - ), - AnalysisSaver = BLOC (condition = " Template == 'AnalysisSaver' ", - ValueTemplate = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "import numpy\nxa=numpy.ravel(ADD.get('Analysis')[-1])\nf='/tmp/analysis.txt'\nprint 'Analysis saved in \"%s\"'%f\nnumpy.savetxt(f,xa)" ), - ), - AnalysisPrinterAndSaver = BLOC (condition = " Template == 'AnalysisPrinterAndSaver' ", - ValueTemplate = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "import numpy\nxa=numpy.ravel(ADD.get('Analysis')[-1])\nprint 'Analysis:',xa\nf='/tmp/analysis.txt'\nprint 'Analysis saved in \"%s\"'%f\nnumpy.savetxt(f,xa)" ), - ), - ), - ) - -def F_DiagonalSparseMatrix(statut, fv=NoCheckInNS) : return FACT( - statut = statut, - FROM = SIMP(statut = "o", typ = "TXM", into=("String", "Script", ), defaut="String"), - SCRIPT_DATA = BLOC ( condition = " FROM in ( 'Script', ) ", - SCRIPT_FILE = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py'), FunctionVal(fv)], fr="En attente d'un nom de fichier script, avec ou sans le chemin complet pour le trouver, contenant si nécessaire la définition d'une variable interne de même nom que le concept parent", ang="Waiting for a script file name, with or without the full path to find it, containing if necessary the definition of an internal variable of the same name as the parent concept"), - ), - STRING_DATA = BLOC ( condition = " FROM in ( 'String', ) ", - STRING = SIMP(statut = "o", typ = "TXM", fr="En attente d'une chaine de caractères entre guillements. Pour construire un vecteur ou une matrice, ce doit être une suite de nombres, utilisant un espace ou une virgule pour séparer deux éléments et un point-virgule pour séparer deux lignes", ang="Waiting for a string in quotes. To build a vector or a matrix, it has to be a float serie, using a space or comma to separate two elements in a line, a semi-colon to separate rows"), - ), - SCRIPTWITHFUNCTIONS_DATA = BLOC ( condition = " FROM in ( 'ScriptWithFunctions', ) ", - SCRIPTWITHFUNCTIONS_FILE = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py'), FunctionVal(DirectOperatorInNS), FunctionVal(TangentOperatorInNS), FunctionVal(AdjointOperatorInNS)], fr="En attente d'un nom de fichier script, avec ou sans le chemin complet pour le trouver, contenant en variables internes trois fonctions de calcul nommées DirectOperator, TangentOperator et AdjointOperator", ang="Waiting for a script file name, with or without the full path to find it, containing as internal variables three computation functions named DirectOperator, TangentOperator and AdjointOperator"), - ), - SCRIPTWITHONEFUNCTION_DATA = BLOC ( condition = " FROM in ( 'ScriptWithOneFunction', ) ", - SCRIPTWITHONEFUNCTION_FILE = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py'), FunctionVal(DirectOperatorInNS)], fr="En attente d'un nom de fichier script, avec ou sans le chemin complet pour le trouver, contenant en variable interne une seule fonction de calcul nommée DirectOperator", ang="Waiting for a script file name, with or without the full path to find it, containing as internal variable only one function named DirectOperator"), - DifferentialIncrement = SIMP(statut="o", typ = "R", val_min=0, val_max=1, defaut=0.01, fr="Incrément de la perturbation dX pour calculer la dérivée, construite en multipliant X par l'incrément en évitant les valeurs nulles", ang="Increment of dX perturbation to calculate the derivative, build multiplying X by the increment avoiding null values"), - CenteredFiniteDifference = SIMP(statut="o", typ = "I", into=(0, 1), defaut=0, fr="Formulation centrée (1) ou décentrée (0) pour la méthode des différences finies", ang="Centered (1) or uncentered (0) formulation for the finite differences method"), - EnableMultiProcessing = SIMP(statut="f", typ = "I", into=(0, 1), defaut=0, fr="Calculs élémentaires effectués en séquentiel (0) ou en parallèle (1) dans la méthode des différences finies", ang="Elementary calculations done sequentially (0) or in parallel (1) in the finite differences method"), - NumberOfProcesses = SIMP(statut="f", typ = "I", val_min=0, defaut=0, fr="Nombre de processus parallèles, 0 pour un contrôle automatique", ang="Number of parallel processes, 0 for automatic control"), - ), - SCRIPTWITHSWITCH_DATA = BLOC ( condition = " FROM in ( 'ScriptWithSwitch', ) ", - SCRIPTWITHSWITCH_FILE = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py')], fr="En attente d'un nom de fichier script, avec ou sans le chemin complet pour le trouver, contenant un switch pour les calculs direct, tangent et adjoint", ang="Waiting for a script file name, with or without the full path to find it, containing a switch for direct, tangent and adjoint computations"), - ), - TEMPLATE_DATA = BLOC (condition = " FROM in ( 'Template', ) ", - Template = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "AnalysisPrinter", into=("AnalysisPrinter", "AnalysisSaver", "AnalysisPrinterAndSaver")), - AnalysisPrinter = BLOC (condition = " Template == 'AnalysisPrinter' ", - ValueTemplate = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "import numpy\nxa=numpy.ravel(ADD.get('Analysis')[-1])\nprint 'Analysis:',xa" ), - ), - AnalysisSaver = BLOC (condition = " Template == 'AnalysisSaver' ", - ValueTemplate = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "import numpy\nxa=numpy.ravel(ADD.get('Analysis')[-1])\nf='/tmp/analysis.txt'\nprint 'Analysis saved in \"%s\"'%f\nnumpy.savetxt(f,xa)" ), - ), - AnalysisPrinterAndSaver = BLOC (condition = " Template == 'AnalysisPrinterAndSaver' ", - ValueTemplate = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "import numpy\nxa=numpy.ravel(ADD.get('Analysis')[-1])\nprint 'Analysis:',xa\nf='/tmp/analysis.txt'\nprint 'Analysis saved in \"%s\"'%f\nnumpy.savetxt(f,xa)" ), - ), - ), - ) - -def F_Vector(statut, fv=NoCheckInNS) : return FACT( - statut = statut, - FROM = SIMP(statut = "o", typ = "TXM", into=("String", "Script", ), defaut="Script"), - SCRIPT_DATA = BLOC ( condition = " FROM in ( 'Script', ) ", - SCRIPT_FILE = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py'), FunctionVal(fv)], fr="En attente d'un nom de fichier script, avec ou sans le chemin complet pour le trouver, contenant si nécessaire la définition d'une variable interne de même nom que le concept parent", ang="Waiting for a script file name, with or without the full path to find it, containing if necessary the definition of an internal variable of the same name as the parent concept"), - ), - STRING_DATA = BLOC ( condition = " FROM in ( 'String', ) ", - STRING = SIMP(statut = "o", typ = "TXM", fr="En attente d'une chaine de caractères entre guillements. Pour construire un vecteur ou une matrice, ce doit être une suite de nombres, utilisant un espace ou une virgule pour séparer deux éléments et un point-virgule pour séparer deux lignes", ang="Waiting for a string in quotes. To build a vector or a matrix, it has to be a float serie, using a space or comma to separate two elements in a line, a semi-colon to separate rows"), - ), - SCRIPTWITHFUNCTIONS_DATA = BLOC ( condition = " FROM in ( 'ScriptWithFunctions', ) ", - SCRIPTWITHFUNCTIONS_FILE = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py'), FunctionVal(DirectOperatorInNS), FunctionVal(TangentOperatorInNS), FunctionVal(AdjointOperatorInNS)], fr="En attente d'un nom de fichier script, avec ou sans le chemin complet pour le trouver, contenant en variables internes trois fonctions de calcul nommées DirectOperator, TangentOperator et AdjointOperator", ang="Waiting for a script file name, with or without the full path to find it, containing as internal variables three computation functions named DirectOperator, TangentOperator and AdjointOperator"), - ), - SCRIPTWITHONEFUNCTION_DATA = BLOC ( condition = " FROM in ( 'ScriptWithOneFunction', ) ", - SCRIPTWITHONEFUNCTION_FILE = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py'), FunctionVal(DirectOperatorInNS)], fr="En attente d'un nom de fichier script, avec ou sans le chemin complet pour le trouver, contenant en variable interne une seule fonction de calcul nommée DirectOperator", ang="Waiting for a script file name, with or without the full path to find it, containing as internal variable only one function named DirectOperator"), - DifferentialIncrement = SIMP(statut="o", typ = "R", val_min=0, val_max=1, defaut=0.01, fr="Incrément de la perturbation dX pour calculer la dérivée, construite en multipliant X par l'incrément en évitant les valeurs nulles", ang="Increment of dX perturbation to calculate the derivative, build multiplying X by the increment avoiding null values"), - CenteredFiniteDifference = SIMP(statut="o", typ = "I", into=(0, 1), defaut=0, fr="Formulation centrée (1) ou décentrée (0) pour la méthode des différences finies", ang="Centered (1) or uncentered (0) formulation for the finite differences method"), - EnableMultiProcessing = SIMP(statut="f", typ = "I", into=(0, 1), defaut=0, fr="Calculs élémentaires effectués en séquentiel (0) ou en parallèle (1) dans la méthode des différences finies", ang="Elementary calculations done sequentially (0) or in parallel (1) in the finite differences method"), - NumberOfProcesses = SIMP(statut="f", typ = "I", val_min=0, defaut=0, fr="Nombre de processus parallèles, 0 pour un contrôle automatique", ang="Number of parallel processes, 0 for automatic control"), - ), - SCRIPTWITHSWITCH_DATA = BLOC ( condition = " FROM in ( 'ScriptWithSwitch', ) ", - SCRIPTWITHSWITCH_FILE = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py')], fr="En attente d'un nom de fichier script, avec ou sans le chemin complet pour le trouver, contenant un switch pour les calculs direct, tangent et adjoint", ang="Waiting for a script file name, with or without the full path to find it, containing a switch for direct, tangent and adjoint computations"), - ), - TEMPLATE_DATA = BLOC (condition = " FROM in ( 'Template', ) ", - Template = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "AnalysisPrinter", into=("AnalysisPrinter", "AnalysisSaver", "AnalysisPrinterAndSaver")), - AnalysisPrinter = BLOC (condition = " Template == 'AnalysisPrinter' ", - ValueTemplate = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "import numpy\nxa=numpy.ravel(ADD.get('Analysis')[-1])\nprint 'Analysis:',xa" ), - ), - AnalysisSaver = BLOC (condition = " Template == 'AnalysisSaver' ", - ValueTemplate = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "import numpy\nxa=numpy.ravel(ADD.get('Analysis')[-1])\nf='/tmp/analysis.txt'\nprint 'Analysis saved in \"%s\"'%f\nnumpy.savetxt(f,xa)" ), - ), - AnalysisPrinterAndSaver = BLOC (condition = " Template == 'AnalysisPrinterAndSaver' ", - ValueTemplate = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "import numpy\nxa=numpy.ravel(ADD.get('Analysis')[-1])\nprint 'Analysis:',xa\nf='/tmp/analysis.txt'\nprint 'Analysis saved in \"%s\"'%f\nnumpy.savetxt(f,xa)" ), - ), - ), - ) - -def F_Dict(statut, fv=NoCheckInNS) : return FACT( - statut = statut, - FROM = SIMP(statut = "o", typ = "TXM", into=("String", "Script", ), defaut="Script"), - SCRIPT_DATA = BLOC ( condition = " FROM in ( 'Script', ) ", - SCRIPT_FILE = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py'), FunctionVal(fv)], fr="En attente d'un nom de fichier script, avec ou sans le chemin complet pour le trouver, contenant si nécessaire la définition d'une variable interne de même nom que le concept parent", ang="Waiting for a script file name, with or without the full path to find it, containing if necessary the definition of an internal variable of the same name as the parent concept"), - ), - STRING_DATA = BLOC ( condition = " FROM in ( 'String', ) ", - STRING = SIMP(statut = "o", typ = "TXM", fr="En attente d'une chaine de caractères entre guillements. Pour construire un vecteur ou une matrice, ce doit être une suite de nombres, utilisant un espace ou une virgule pour séparer deux éléments et un point-virgule pour séparer deux lignes", ang="Waiting for a string in quotes. To build a vector or a matrix, it has to be a float serie, using a space or comma to separate two elements in a line, a semi-colon to separate rows"), - ), - SCRIPTWITHFUNCTIONS_DATA = BLOC ( condition = " FROM in ( 'ScriptWithFunctions', ) ", - SCRIPTWITHFUNCTIONS_FILE = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py'), FunctionVal(DirectOperatorInNS), FunctionVal(TangentOperatorInNS), FunctionVal(AdjointOperatorInNS)], fr="En attente d'un nom de fichier script, avec ou sans le chemin complet pour le trouver, contenant en variables internes trois fonctions de calcul nommées DirectOperator, TangentOperator et AdjointOperator", ang="Waiting for a script file name, with or without the full path to find it, containing as internal variables three computation functions named DirectOperator, TangentOperator and AdjointOperator"), - ), - SCRIPTWITHONEFUNCTION_DATA = BLOC ( condition = " FROM in ( 'ScriptWithOneFunction', ) ", - SCRIPTWITHONEFUNCTION_FILE = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py'), FunctionVal(DirectOperatorInNS)], fr="En attente d'un nom de fichier script, avec ou sans le chemin complet pour le trouver, contenant en variable interne une seule fonction de calcul nommée DirectOperator", ang="Waiting for a script file name, with or without the full path to find it, containing as internal variable only one function named DirectOperator"), - DifferentialIncrement = SIMP(statut="o", typ = "R", val_min=0, val_max=1, defaut=0.01, fr="Incrément de la perturbation dX pour calculer la dérivée, construite en multipliant X par l'incrément en évitant les valeurs nulles", ang="Increment of dX perturbation to calculate the derivative, build multiplying X by the increment avoiding null values"), - CenteredFiniteDifference = SIMP(statut="o", typ = "I", into=(0, 1), defaut=0, fr="Formulation centrée (1) ou décentrée (0) pour la méthode des différences finies", ang="Centered (1) or uncentered (0) formulation for the finite differences method"), - EnableMultiProcessing = SIMP(statut="f", typ = "I", into=(0, 1), defaut=0, fr="Calculs élémentaires effectués en séquentiel (0) ou en parallèle (1) dans la méthode des différences finies", ang="Elementary calculations done sequentially (0) or in parallel (1) in the finite differences method"), - NumberOfProcesses = SIMP(statut="f", typ = "I", val_min=0, defaut=0, fr="Nombre de processus parallèles, 0 pour un contrôle automatique", ang="Number of parallel processes, 0 for automatic control"), - ), - SCRIPTWITHSWITCH_DATA = BLOC ( condition = " FROM in ( 'ScriptWithSwitch', ) ", - SCRIPTWITHSWITCH_FILE = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py')], fr="En attente d'un nom de fichier script, avec ou sans le chemin complet pour le trouver, contenant un switch pour les calculs direct, tangent et adjoint", ang="Waiting for a script file name, with or without the full path to find it, containing a switch for direct, tangent and adjoint computations"), - ), - TEMPLATE_DATA = BLOC (condition = " FROM in ( 'Template', ) ", - Template = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "AnalysisPrinter", into=("AnalysisPrinter", "AnalysisSaver", "AnalysisPrinterAndSaver")), - AnalysisPrinter = BLOC (condition = " Template == 'AnalysisPrinter' ", - ValueTemplate = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "import numpy\nxa=numpy.ravel(ADD.get('Analysis')[-1])\nprint 'Analysis:',xa" ), - ), - AnalysisSaver = BLOC (condition = " Template == 'AnalysisSaver' ", - ValueTemplate = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "import numpy\nxa=numpy.ravel(ADD.get('Analysis')[-1])\nf='/tmp/analysis.txt'\nprint 'Analysis saved in \"%s\"'%f\nnumpy.savetxt(f,xa)" ), - ), - AnalysisPrinterAndSaver = BLOC (condition = " Template == 'AnalysisPrinterAndSaver' ", - ValueTemplate = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "import numpy\nxa=numpy.ravel(ADD.get('Analysis')[-1])\nprint 'Analysis:',xa\nf='/tmp/analysis.txt'\nprint 'Analysis saved in \"%s\"'%f\nnumpy.savetxt(f,xa)" ), - ), - ), - ) - -def F_ScalarSparseMatrix(statut, fv=NoCheckInNS) : return FACT( - statut = statut, - FROM = SIMP(statut = "o", typ = "TXM", into=("String", "Script", ), defaut="String"), - SCRIPT_DATA = BLOC ( condition = " FROM in ( 'Script', ) ", - SCRIPT_FILE = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py'), FunctionVal(fv)], fr="En attente d'un nom de fichier script, avec ou sans le chemin complet pour le trouver, contenant si nécessaire la définition d'une variable interne de même nom que le concept parent", ang="Waiting for a script file name, with or without the full path to find it, containing if necessary the definition of an internal variable of the same name as the parent concept"), - ), - STRING_DATA = BLOC ( condition = " FROM in ( 'String', ) ", - STRING = SIMP(statut = "o", typ = "TXM", defaut="1.", fr="En attente d'une chaine de caractères entre guillements. Pour construire un vecteur ou une matrice, ce doit être une suite de nombres, utilisant un espace ou une virgule pour séparer deux éléments et un point-virgule pour séparer deux lignes", ang="Waiting for a string in quotes. To build a vector or a matrix, it has to be a float serie, using a space or comma to separate two elements in a line, a semi-colon to separate rows"), - ), - SCRIPTWITHFUNCTIONS_DATA = BLOC ( condition = " FROM in ( 'ScriptWithFunctions', ) ", - SCRIPTWITHFUNCTIONS_FILE = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py'), FunctionVal(DirectOperatorInNS), FunctionVal(TangentOperatorInNS), FunctionVal(AdjointOperatorInNS)], fr="En attente d'un nom de fichier script, avec ou sans le chemin complet pour le trouver, contenant en variables internes trois fonctions de calcul nommées DirectOperator, TangentOperator et AdjointOperator", ang="Waiting for a script file name, with or without the full path to find it, containing as internal variables three computation functions named DirectOperator, TangentOperator and AdjointOperator"), - ), - SCRIPTWITHONEFUNCTION_DATA = BLOC ( condition = " FROM in ( 'ScriptWithOneFunction', ) ", - SCRIPTWITHONEFUNCTION_FILE = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py'), FunctionVal(DirectOperatorInNS)], fr="En attente d'un nom de fichier script, avec ou sans le chemin complet pour le trouver, contenant en variable interne une seule fonction de calcul nommée DirectOperator", ang="Waiting for a script file name, with or without the full path to find it, containing as internal variable only one function named DirectOperator"), - DifferentialIncrement = SIMP(statut="o", typ = "R", val_min=0, val_max=1, defaut=0.01, fr="Incrément de la perturbation dX pour calculer la dérivée, construite en multipliant X par l'incrément en évitant les valeurs nulles", ang="Increment of dX perturbation to calculate the derivative, build multiplying X by the increment avoiding null values"), - CenteredFiniteDifference = SIMP(statut="o", typ = "I", into=(0, 1), defaut=0, fr="Formulation centrée (1) ou décentrée (0) pour la méthode des différences finies", ang="Centered (1) or uncentered (0) formulation for the finite differences method"), - EnableMultiProcessing = SIMP(statut="f", typ = "I", into=(0, 1), defaut=0, fr="Calculs élémentaires effectués en séquentiel (0) ou en parallèle (1) dans la méthode des différences finies", ang="Elementary calculations done sequentially (0) or in parallel (1) in the finite differences method"), - NumberOfProcesses = SIMP(statut="f", typ = "I", val_min=0, defaut=0, fr="Nombre de processus parallèles, 0 pour un contrôle automatique", ang="Number of parallel processes, 0 for automatic control"), - ), - SCRIPTWITHSWITCH_DATA = BLOC ( condition = " FROM in ( 'ScriptWithSwitch', ) ", - SCRIPTWITHSWITCH_FILE = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py')], fr="En attente d'un nom de fichier script, avec ou sans le chemin complet pour le trouver, contenant un switch pour les calculs direct, tangent et adjoint", ang="Waiting for a script file name, with or without the full path to find it, containing a switch for direct, tangent and adjoint computations"), - ), - TEMPLATE_DATA = BLOC (condition = " FROM in ( 'Template', ) ", - Template = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "AnalysisPrinter", into=("AnalysisPrinter", "AnalysisSaver", "AnalysisPrinterAndSaver")), - AnalysisPrinter = BLOC (condition = " Template == 'AnalysisPrinter' ", - ValueTemplate = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "import numpy\nxa=numpy.ravel(ADD.get('Analysis')[-1])\nprint 'Analysis:',xa" ), - ), - AnalysisSaver = BLOC (condition = " Template == 'AnalysisSaver' ", - ValueTemplate = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "import numpy\nxa=numpy.ravel(ADD.get('Analysis')[-1])\nf='/tmp/analysis.txt'\nprint 'Analysis saved in \"%s\"'%f\nnumpy.savetxt(f,xa)" ), - ), - AnalysisPrinterAndSaver = BLOC (condition = " Template == 'AnalysisPrinterAndSaver' ", - ValueTemplate = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "import numpy\nxa=numpy.ravel(ADD.get('Analysis')[-1])\nprint 'Analysis:',xa\nf='/tmp/analysis.txt'\nprint 'Analysis saved in \"%s\"'%f\nnumpy.savetxt(f,xa)" ), - ), - ), - ) - -def ObservationErrorInNS(filename): - if os.path.exists(filename): - fc = open(filename, 'r').readlines() - cr = re.compile("^ObservationError[\s]*=") - for ln in fc: - if cr.match(ln): return 1 - return 0 -ObservationErrorInNS.info = u"The Python file has to contain explicitly a \"ObservationError\" variable." -def F_ObservationError(statut, fv=NoCheckInNS) : return FACT( - statut=statut, - Stored = SIMP(statut="f", typ = "I", into=(0, 1), defaut=0, fr="Choix de stockage interne ou non du concept parent", ang="Choice of the storage or not of the parent concept"), - INPUT_TYPE = SIMP(statut="o", typ = "TXM", into=("Matrix", "ScalarSparseMatrix", "DiagonalSparseMatrix", ), defaut="ScalarSparseMatrix"), - Matrix = BLOC ( condition = " INPUT_TYPE in ( 'Matrix', ) ", - data = F_Matrix("o", fv), - ), - ScalarSparseMatrix = BLOC ( condition = " INPUT_TYPE in ( 'ScalarSparseMatrix', ) ", - data = F_ScalarSparseMatrix("o", fv), - ), - DiagonalSparseMatrix = BLOC ( condition = " INPUT_TYPE in ( 'DiagonalSparseMatrix', ) ", - data = F_DiagonalSparseMatrix("o", fv), - ), - ) - -def ObservationInNS(filename): - if os.path.exists(filename): - fc = open(filename, 'r').readlines() - cr = re.compile("^Observation[\s]*=") - for ln in fc: - if cr.match(ln): return 1 - return 0 -ObservationInNS.info = u"The Python file has to contain explicitly a \"Observation\" variable." -def F_Observation(statut, fv=NoCheckInNS) : return FACT( - statut=statut, - Stored = SIMP(statut="f", typ = "I", into=(0, 1), defaut=0, fr="Choix de stockage interne ou non du concept parent", ang="Choice of the storage or not of the parent concept"), - INPUT_TYPE = SIMP(statut="o", typ = "TXM", into=("Vector", "VectorSerie", ), defaut="Vector"), - Vector = BLOC ( condition = " INPUT_TYPE in ( 'Vector', ) ", - data = F_Vector("o", fv), - ), - VectorSerie = BLOC ( condition = " INPUT_TYPE in ( 'VectorSerie', ) ", - data = F_VectorSerie("o", fv), - ), - ) - -def BackgroundErrorInNS(filename): - if os.path.exists(filename): - fc = open(filename, 'r').readlines() - cr = re.compile("^BackgroundError[\s]*=") - for ln in fc: - if cr.match(ln): return 1 - return 0 -BackgroundErrorInNS.info = u"The Python file has to contain explicitly a \"BackgroundError\" variable." -def F_BackgroundError(statut, fv=NoCheckInNS) : return FACT( - statut=statut, - Stored = SIMP(statut="f", typ = "I", into=(0, 1), defaut=0, fr="Choix de stockage interne ou non du concept parent", ang="Choice of the storage or not of the parent concept"), - INPUT_TYPE = SIMP(statut="o", typ = "TXM", into=("Matrix", "ScalarSparseMatrix", "DiagonalSparseMatrix", ), defaut="ScalarSparseMatrix"), - Matrix = BLOC ( condition = " INPUT_TYPE in ( 'Matrix', ) ", - data = F_Matrix("o", fv), - ), - ScalarSparseMatrix = BLOC ( condition = " INPUT_TYPE in ( 'ScalarSparseMatrix', ) ", - data = F_ScalarSparseMatrix("o", fv), - ), - DiagonalSparseMatrix = BLOC ( condition = " INPUT_TYPE in ( 'DiagonalSparseMatrix', ) ", - data = F_DiagonalSparseMatrix("o", fv), - ), - ) - -def ObservationOperatorInNS(filename): - if os.path.exists(filename): - fc = open(filename, 'r').readlines() - cr = re.compile("^ObservationOperator[\s]*=") - for ln in fc: - if cr.match(ln): return 1 - return 0 -ObservationOperatorInNS.info = u"The Python file has to contain explicitly a \"ObservationOperator\" variable." -def F_ObservationOperator(statut, fv=NoCheckInNS) : return FACT( - statut=statut, - Stored = SIMP(statut="f", typ = "I", into=(0, 1), defaut=0, fr="Choix de stockage interne ou non du concept parent", ang="Choice of the storage or not of the parent concept"), - INPUT_TYPE = SIMP(statut="o", typ = "TXM", into=("Matrix", "Function", ), defaut="Function"), - Matrix = BLOC ( condition = " INPUT_TYPE in ( 'Matrix', ) ", - data = F_Matrix("o", fv), - ), - Function = BLOC ( condition = " INPUT_TYPE in ( 'Function', ) ", - data = F_Function("o", fv), - ), - ) - -def CheckingPointInNS(filename): - if os.path.exists(filename): - fc = open(filename, 'r').readlines() - cr = re.compile("^CheckingPoint[\s]*=") - for ln in fc: - if cr.match(ln): return 1 - return 0 -CheckingPointInNS.info = u"The Python file has to contain explicitly a \"CheckingPoint\" variable." -def F_CheckingPoint(statut, fv=NoCheckInNS) : return FACT( - statut=statut, - Stored = SIMP(statut="f", typ = "I", into=(0, 1), defaut=0, fr="Choix de stockage interne ou non du concept parent", ang="Choice of the storage or not of the parent concept"), - INPUT_TYPE = SIMP(statut="o", typ = "TXM", into=("Vector", ), defaut="Vector"), - Vector = BLOC ( condition = " INPUT_TYPE in ( 'Vector', ) ", - data = F_Vector("o", fv), - ), - ) - -def ControlInputInNS(filename): - if os.path.exists(filename): - fc = open(filename, 'r').readlines() - cr = re.compile("^ControlInput[\s]*=") - for ln in fc: - if cr.match(ln): return 1 - return 0 -ControlInputInNS.info = u"The Python file has to contain explicitly a \"ControlInput\" variable." -def F_ControlInput(statut, fv=NoCheckInNS) : return FACT( - statut=statut, - Stored = SIMP(statut="f", typ = "I", into=(0, 1), defaut=0, fr="Choix de stockage interne ou non du concept parent", ang="Choice of the storage or not of the parent concept"), - INPUT_TYPE = SIMP(statut="o", typ = "TXM", into=("Vector", "VectorSerie", ), defaut="Vector"), - Vector = BLOC ( condition = " INPUT_TYPE in ( 'Vector', ) ", - data = F_Vector("o", fv), - ), - VectorSerie = BLOC ( condition = " INPUT_TYPE in ( 'VectorSerie', ) ", - data = F_VectorSerie("o", fv), - ), - ) - -def BackgroundInNS(filename): - if os.path.exists(filename): - fc = open(filename, 'r').readlines() - cr = re.compile("^Background[\s]*=") - for ln in fc: - if cr.match(ln): return 1 - return 0 -BackgroundInNS.info = u"The Python file has to contain explicitly a \"Background\" variable." -def F_Background(statut, fv=NoCheckInNS) : return FACT( - statut=statut, - Stored = SIMP(statut="f", typ = "I", into=(0, 1), defaut=0, fr="Choix de stockage interne ou non du concept parent", ang="Choice of the storage or not of the parent concept"), - INPUT_TYPE = SIMP(statut="o", typ = "TXM", into=("Vector", "VectorSerie", ), defaut="Vector"), - Vector = BLOC ( condition = " INPUT_TYPE in ( 'Vector', ) ", - data = F_Vector("o", fv), - ), - VectorSerie = BLOC ( condition = " INPUT_TYPE in ( 'VectorSerie', ) ", - data = F_VectorSerie("o", fv), - ), - ) - -def AlgorithmParametersInNS(filename): - if os.path.exists(filename): - fc = open(filename, 'r').readlines() - cr = re.compile("^AlgorithmParameters[\s]*=") - for ln in fc: - if cr.match(ln): return 1 - return 0 -AlgorithmParametersInNS.info = u"The Python file has to contain explicitly a \"AlgorithmParameters\" variable." -def F_AlgorithmParameters(statut, fv=NoCheckInNS) : return FACT( - statut=statut, - - INPUT_TYPE = SIMP(statut="o", typ = "TXM", into=("Dict", ), defaut="Dict"), - Dict = BLOC ( condition = " INPUT_TYPE in ( 'Dict', ) ", - data = F_Dict("o", fv), - ), - ) - -def EvolutionErrorInNS(filename): - if os.path.exists(filename): - fc = open(filename, 'r').readlines() - cr = re.compile("^EvolutionError[\s]*=") - for ln in fc: - if cr.match(ln): return 1 - return 0 -EvolutionErrorInNS.info = u"The Python file has to contain explicitly a \"EvolutionError\" variable." -def F_EvolutionError(statut, fv=NoCheckInNS) : return FACT( - statut=statut, - Stored = SIMP(statut="f", typ = "I", into=(0, 1), defaut=0, fr="Choix de stockage interne ou non du concept parent", ang="Choice of the storage or not of the parent concept"), - INPUT_TYPE = SIMP(statut="o", typ = "TXM", into=("Matrix", "ScalarSparseMatrix", "DiagonalSparseMatrix", ), defaut="ScalarSparseMatrix"), - Matrix = BLOC ( condition = " INPUT_TYPE in ( 'Matrix', ) ", - data = F_Matrix("o", fv), - ), - ScalarSparseMatrix = BLOC ( condition = " INPUT_TYPE in ( 'ScalarSparseMatrix', ) ", - data = F_ScalarSparseMatrix("o", fv), - ), - DiagonalSparseMatrix = BLOC ( condition = " INPUT_TYPE in ( 'DiagonalSparseMatrix', ) ", - data = F_DiagonalSparseMatrix("o", fv), - ), - ) - -def UserDataInitInNS(filename): - if os.path.exists(filename): - fc = open(filename, 'r').readlines() - cr = re.compile("^UserDataInit[\s]*=") - for ln in fc: - if cr.match(ln): return 1 - return 0 -UserDataInitInNS.info = u"The Python file has to contain explicitly a \"UserDataInit\" variable." -def F_UserDataInit(statut, fv=NoCheckInNS) : return FACT( - statut=statut, - - INPUT_TYPE = SIMP(statut="o", typ = "TXM", into=("Dict", ), defaut="Dict"), - Dict = BLOC ( condition = " INPUT_TYPE in ( 'Dict', ) ", - data = F_Dict("o", fv), - ), - ) - -def EvolutionModelInNS(filename): - if os.path.exists(filename): - fc = open(filename, 'r').readlines() - cr = re.compile("^EvolutionModel[\s]*=") - for ln in fc: - if cr.match(ln): return 1 - return 0 -EvolutionModelInNS.info = u"The Python file has to contain explicitly a \"EvolutionModel\" variable." -def F_EvolutionModel(statut, fv=NoCheckInNS) : return FACT( - statut=statut, - Stored = SIMP(statut="f", typ = "I", into=(0, 1), defaut=0, fr="Choix de stockage interne ou non du concept parent", ang="Choice of the storage or not of the parent concept"), - INPUT_TYPE = SIMP(statut="o", typ = "TXM", into=("Matrix", "Function", ), defaut="Function"), - Matrix = BLOC ( condition = " INPUT_TYPE in ( 'Matrix', ) ", - data = F_Matrix("o", fv), - ), - Function = BLOC ( condition = " INPUT_TYPE in ( 'Function', ) ", - data = F_Function("o", fv), - ), - ) - -def F_UserPostAnalysis(statut, fv=NoCheckInNS) : return FACT( - statut = statut, - FROM = SIMP(statut = "o", typ = "TXM", into=("String", "Script", "Template", ), defaut="Template"), - SCRIPT_DATA = BLOC ( condition = " FROM in ( 'Script', ) ", - SCRIPT_FILE = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py'), FunctionVal(fv)], fr="En attente d'un nom de fichier script, avec ou sans le chemin complet pour le trouver, contenant si nécessaire la définition d'une variable interne de même nom que le concept parent", ang="Waiting for a script file name, with or without the full path to find it, containing if necessary the definition of an internal variable of the same name as the parent concept"), - ), - STRING_DATA = BLOC ( condition = " FROM in ( 'String', ) ", - STRING = SIMP(statut = "o", typ = "TXM", fr="En attente d'une chaine de caractères entre guillements. Pour construire un vecteur ou une matrice, ce doit être une suite de nombres, utilisant un espace ou une virgule pour séparer deux éléments et un point-virgule pour séparer deux lignes", ang="Waiting for a string in quotes. To build a vector or a matrix, it has to be a float serie, using a space or comma to separate two elements in a line, a semi-colon to separate rows"), - ), - SCRIPTWITHFUNCTIONS_DATA = BLOC ( condition = " FROM in ( 'ScriptWithFunctions', ) ", - SCRIPTWITHFUNCTIONS_FILE = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py'), FunctionVal(DirectOperatorInNS), FunctionVal(TangentOperatorInNS), FunctionVal(AdjointOperatorInNS)], fr="En attente d'un nom de fichier script, avec ou sans le chemin complet pour le trouver, contenant en variables internes trois fonctions de calcul nommées DirectOperator, TangentOperator et AdjointOperator", ang="Waiting for a script file name, with or without the full path to find it, containing as internal variables three computation functions named DirectOperator, TangentOperator and AdjointOperator"), - ), - SCRIPTWITHONEFUNCTION_DATA = BLOC ( condition = " FROM in ( 'ScriptWithOneFunction', ) ", - SCRIPTWITHONEFUNCTION_FILE = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py'), FunctionVal(DirectOperatorInNS)], fr="En attente d'un nom de fichier script, avec ou sans le chemin complet pour le trouver, contenant en variable interne une seule fonction de calcul nommée DirectOperator", ang="Waiting for a script file name, with or without the full path to find it, containing as internal variable only one function named DirectOperator"), - DifferentialIncrement = SIMP(statut="o", typ = "R", val_min=0, val_max=1, defaut=0.01, fr="Incrément de la perturbation dX pour calculer la dérivée, construite en multipliant X par l'incrément en évitant les valeurs nulles", ang="Increment of dX perturbation to calculate the derivative, build multiplying X by the increment avoiding null values"), - CenteredFiniteDifference = SIMP(statut="o", typ = "I", into=(0, 1), defaut=0, fr="Formulation centrée (1) ou décentrée (0) pour la méthode des différences finies", ang="Centered (1) or uncentered (0) formulation for the finite differences method"), - EnableMultiProcessing = SIMP(statut="f", typ = "I", into=(0, 1), defaut=0, fr="Calculs élémentaires effectués en séquentiel (0) ou en parallèle (1) dans la méthode des différences finies", ang="Elementary calculations done sequentially (0) or in parallel (1) in the finite differences method"), - NumberOfProcesses = SIMP(statut="f", typ = "I", val_min=0, defaut=0, fr="Nombre de processus parallèles, 0 pour un contrôle automatique", ang="Number of parallel processes, 0 for automatic control"), - ), - SCRIPTWITHSWITCH_DATA = BLOC ( condition = " FROM in ( 'ScriptWithSwitch', ) ", - SCRIPTWITHSWITCH_FILE = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py')], fr="En attente d'un nom de fichier script, avec ou sans le chemin complet pour le trouver, contenant un switch pour les calculs direct, tangent et adjoint", ang="Waiting for a script file name, with or without the full path to find it, containing a switch for direct, tangent and adjoint computations"), - ), - TEMPLATE_DATA = BLOC (condition = " FROM in ( 'Template', ) ", - Template = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "AnalysisPrinter", into=("AnalysisPrinter", "AnalysisSaver", "AnalysisPrinterAndSaver")), - AnalysisPrinter = BLOC (condition = " Template == 'AnalysisPrinter' ", - ValueTemplate = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "import numpy\nxa=numpy.ravel(ADD.get('Analysis')[-1])\nprint 'Analysis:',xa" ), - ), - AnalysisSaver = BLOC (condition = " Template == 'AnalysisSaver' ", - ValueTemplate = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "import numpy\nxa=numpy.ravel(ADD.get('Analysis')[-1])\nf='/tmp/analysis.txt'\nprint 'Analysis saved in \"%s\"'%f\nnumpy.savetxt(f,xa)" ), - ), - AnalysisPrinterAndSaver = BLOC (condition = " Template == 'AnalysisPrinterAndSaver' ", - ValueTemplate = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "import numpy\nxa=numpy.ravel(ADD.get('Analysis')[-1])\nprint 'Analysis:',xa\nf='/tmp/analysis.txt'\nprint 'Analysis saved in \"%s\"'%f\nnumpy.savetxt(f,xa)" ), - ), - ), - ) - -def F_InitChoice() : return ("Background", - "BackgroundError", - "Observation", - "ObservationError", - "ObservationOperator", - "EvolutionModel", - "EvolutionError", - "AlgorithmParameters", - "UserPostAnalysis", - ) - -def F_Init(statut) : return FACT(statut = statut, - INIT_FILE = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py')]), - TARGET_LIST = SIMP(statut = "o", typ = "TXM", min=1, max="**", into=F_InitChoice(), validators=(VerifExiste(2))), - ) - -def F_ObserverTemplate() : return BLOC(condition = " NodeType == 'Template' ", - Template = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "ValuePrinter", into=("ValuePrinter", "ValueAndIndexPrinter", "ValueSeriePrinter", "ValueSaver", "ValueSerieSaver", "ValuePrinterAndSaver", "ValueIndexPrinterAndSaver", "ValueSeriePrinterAndSaver", "ValueGnuPlotter", "ValueSerieGnuPlotter", "ValuePrinterAndGnuPlotter", "ValueSeriePrinterAndGnuPlotter", "ValuePrinterSaverAndGnuPlotter", "ValueSeriePrinterSaverAndGnuPlotter", "ValueMean", "ValueStandardError", "ValueVariance", "ValueL2Norm", "ValueRMS")), - ValuePrinter = BLOC (condition = " Template == 'ValuePrinter' ", - ValueTemplate = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "print(str(info)+\" \"+str(var[-1]))", fr="Imprime sur la sortie standard la valeur courante de la variable", ang="Print on standard output the current value of the variable" ), - ), - ValueAndIndexPrinter = BLOC (condition = " Template == 'ValueAndIndexPrinter' ", - ValueTemplate = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "print(str(info)+(\" index %i:\"%(len(var)-1))+\" \"+str(var[-1]))", fr="Imprime sur la sortie standard la valeur courante de la variable, en ajoutant son index", ang="Print on standard output the current value of the variable, adding its index" ), - ), - ValueSeriePrinter = BLOC (condition = " Template == 'ValueSeriePrinter' ", - ValueTemplate = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "print(str(info)+\" \"+str(var[:]))", fr="Imprime sur la sortie standard la série des valeurs de la variable", ang="Print on standard output the value series of the variable" ), - ), - ValueSaver = BLOC (condition = " Template == 'ValueSaver' ", - ValueTemplate = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "import numpy, re\nv=numpy.array(var[-1], ndmin=1)\nglobal istep\ntry:\n istep += 1\nexcept:\n istep = 0\nf='/tmp/value_%s_%05i.txt'%(info,istep)\nf=re.sub('\s','_',f)\nprint('Value saved in \"%s\"'%f)\nnumpy.savetxt(f,v)", fr="Enregistre la valeur courante de la variable dans un fichier du répertoire '/tmp' nommé 'value...txt' selon le nom de la variable et l'étape d'enregistrement", ang="Save the current value of the variable in a file of the '/tmp' directory named 'value...txt' from the variable name and the saving step" ), - ), - ValueSerieSaver = BLOC (condition = " Template == 'ValueSerieSaver' ", - ValueTemplate = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "import numpy, re\nv=numpy.array(var[:], ndmin=1)\nglobal istep\ntry:\n istep += 1\nexcept:\n istep = 0\nf='/tmp/value_%s_%05i.txt'%(info,istep)\nf=re.sub('\s','_',f)\nprint('Value saved in \"%s\"'%f)\nnumpy.savetxt(f,v)", fr="Enregistre la série des valeurs de la variable dans un fichier du répertoire '/tmp' nommé 'value...txt' selon le nom de la variable et l'étape", ang="Save the value series of the variable in a file of the '/tmp' directory named 'value...txt' from the variable name and the saving step" ), - ), - ValuePrinterAndSaver = BLOC (condition = " Template == 'ValuePrinterAndSaver' ", - ValueTemplate = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "import numpy, re\nv=numpy.array(var[-1], ndmin=1)\nprint(str(info)+\" \"+str(v))\nglobal istep\ntry:\n istep += 1\nexcept:\n istep = 0\nf='/tmp/value_%s_%05i.txt'%(info,istep)\nf=re.sub('\s','_',f)\nprint('Value saved in \"%s\"'%f)\nnumpy.savetxt(f,v)", fr="Imprime sur la sortie standard et, en même temps enregistre dans un fichier, la valeur courante de la variable", ang="Print on standard output and, in the same time save in a file, the current value of the variable" ), - ), - ValueIndexPrinterAndSaver = BLOC (condition = " Template == 'ValueIndexPrinterAndSaver' ", - ValueTemplate = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "import numpy, re\nv=numpy.array(var[-1], ndmin=1)\nprint(str(info)+(\" index %i:\"%(len(var)-1))+\" \"+str(v))\nglobal istep\ntry:\n istep += 1\nexcept:\n istep = 0\nf='/tmp/value_%s_%05i.txt'%(info,istep)\nf=re.sub('\s','_',f)\nprint('Value saved in \"%s\"'%f)\nnumpy.savetxt(f,v)", fr="Imprime sur la sortie standard et, en même temps enregistre dans un fichier, la valeur courante de la variable, en ajoutant son index", ang="Print on standard output and, in the same time save in a file, the current value of the variable, adding its index" ), - ), - ValueSeriePrinterAndSaver = BLOC (condition = " Template == 'ValueSeriePrinterAndSaver' ", - ValueTemplate = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "import numpy, re\nv=numpy.array(var[:], ndmin=1)\nprint(str(info)+\" \"+str(v))\nglobal istep\ntry:\n istep += 1\nexcept:\n istep = 0\nf='/tmp/value_%s_%05i.txt'%(info,istep)\nf=re.sub('\s','_',f)\nprint('Value saved in \"%s\"'%f)\nnumpy.savetxt(f,v)", fr="Imprime sur la sortie standard et, en même temps, enregistre dans un fichier la série des valeurs de la variable", ang="Print on standard output and, in the same time, save in a file the value series of the variable" ), - ), - ValueGnuPlotter = BLOC (condition = " Template == 'ValueGnuPlotter' ", - ValueTemplate = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "import numpy, Gnuplot\nv=numpy.array(var[-1], ndmin=1)\nglobal ifig, gp\ntry:\n ifig += 1\n gp(' set style data lines')\nexcept:\n ifig = 0\n gp = Gnuplot.Gnuplot(persist=1)\n gp(' set style data lines')\ngp('set title \"%s (Figure %i)\"'%(info,ifig))\ngp.plot( Gnuplot.Data( v, with_='lines lw 2' ) )", fr="Affiche graphiquement avec Gnuplot la valeur courante de la variable", ang="Graphically plot with Gnuplot the current value of the variable" ), - ), - ValueSerieGnuPlotter = BLOC (condition = " Template == 'ValueSerieGnuPlotter' ", - ValueTemplate = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "import numpy, Gnuplot\nv=numpy.array(var[:], ndmin=1)\nglobal ifig, gp\ntry:\n ifig += 1\n gp(' set style data lines')\nexcept:\n ifig = 0\n gp = Gnuplot.Gnuplot(persist=1)\n gp(' set style data lines')\ngp('set title \"%s (Figure %i)\"'%(info,ifig))\ngp.plot( Gnuplot.Data( v, with_='lines lw 2' ) )", fr="Affiche graphiquement avec Gnuplot la série des valeurs de la variable", ang="Graphically plot with Gnuplot the value series of the variable" ), - ), - ValuePrinterAndGnuPlotter = BLOC (condition = " Template == 'ValuePrinterAndGnuPlotter' ", - ValueTemplate = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "print(str(info)+\" \"+str(var[-1]))\nimport numpy, Gnuplot\nv=numpy.array(var[-1], ndmin=1)\nglobal ifig,gp\ntry:\n ifig += 1\n gp(' set style data lines')\nexcept:\n ifig = 0\n gp = Gnuplot.Gnuplot(persist=1)\n gp(' set style data lines')\ngp('set title \"%s (Figure %i)\"'%(info,ifig))\ngp.plot( Gnuplot.Data( v, with_='lines lw 2' ) )", fr="Imprime sur la sortie standard et, en même temps, affiche graphiquement avec Gnuplot la valeur courante de la variable", ang="Print on standard output and, in the same time, graphically plot with Gnuplot the current value of the variable" ), - ), - ValueSeriePrinterAndGnuPlotter = BLOC (condition = " Template == 'ValueSeriePrinterAndGnuPlotter' ", - ValueTemplate = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "print(str(info)+\" \"+str(var[:]))\nimport numpy, Gnuplot\nv=numpy.array(var[:], ndmin=1)\nglobal ifig,gp\ntry:\n ifig += 1\n gp(' set style data lines')\nexcept:\n ifig = 0\n gp = Gnuplot.Gnuplot(persist=1)\n gp(' set style data lines')\ngp('set title \"%s (Figure %i)\"'%(info,ifig))\ngp.plot( Gnuplot.Data( v, with_='lines lw 2' ) )", fr="Imprime sur la sortie standard et, en même temps, affiche graphiquement avec Gnuplot la série des valeurs de la variable", ang="Print on standard output and, in the same time, graphically plot with Gnuplot the value series of the variable" ), - ), - ValuePrinterSaverAndGnuPlotter = BLOC (condition = " Template == 'ValuePrinterSaverAndGnuPlotter' ", - ValueTemplate = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "print(str(info)+\" \"+str(var[-1]))\nimport numpy, re\nv=numpy.array(var[-1], ndmin=1)\nglobal istep\ntry:\n istep += 1\nexcept:\n istep = 0\nf='/tmp/value_%s_%05i.txt'%(info,istep)\nf=re.sub('\s','_',f)\nprint('Value saved in \"%s\"'%f)\nnumpy.savetxt(f,v)\nimport Gnuplot\nglobal ifig,gp\ntry:\n ifig += 1\n gp(' set style data lines')\nexcept:\n ifig = 0\n gp = Gnuplot.Gnuplot(persist=1)\n gp(' set style data lines')\ngp('set title \"%s (Figure %i)\"'%(info,ifig))\ngp.plot( Gnuplot.Data( v, with_='lines lw 2' ) )", fr="Imprime sur la sortie standard et, en même temps, enregistre dans un fichier et affiche graphiquement la valeur courante de la variable ", ang="Print on standard output and, in the same, time save in a file and graphically plot the current value of the variable" ), - ), - ValueSeriePrinterSaverAndGnuPlotter = BLOC (condition = " Template == 'ValueSeriePrinterSaverAndGnuPlotter' ", - ValueTemplate = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "print(str(info)+\" \"+str(var[:]))\nimport numpy, re\nv=numpy.array(var[:], ndmin=1)\nglobal istep\ntry:\n istep += 1\nexcept:\n istep = 0\nf='/tmp/value_%s_%05i.txt'%(info,istep)\nf=re.sub('\s','_',f)\nprint('Value saved in \"%s\"'%f)\nnumpy.savetxt(f,v)\nimport Gnuplot\nglobal ifig,gp\ntry:\n ifig += 1\n gp(' set style data lines')\nexcept:\n ifig = 0\n gp = Gnuplot.Gnuplot(persist=1)\n gp(' set style data lines')\ngp('set title \"%s (Figure %i)\"'%(info,ifig))\ngp.plot( Gnuplot.Data( v, with_='lines lw 2' ) )", fr="Imprime sur la sortie standard et, en même temps, enregistre dans un fichier et affiche graphiquement la série des valeurs de la variable", ang="Print on standard output and, in the same, time save in a file and graphically plot the value series of the variable" ), - ), - ValueMean = BLOC (condition = " Template == 'ValueMean' ", - ValueTemplate = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "import numpy\nprint(str(info)+\" \"+str(numpy.nanmean(var[-1])))", fr="Imprime sur la sortie standard la moyenne de la valeur courante de la variable", ang="Print on standard output the mean of the current value of the variable" ), - ), - ValueStandardError = BLOC (condition = " Template == 'ValueStandardError' ", - ValueTemplate = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "import numpy\nprint(str(info)+\" \"+str(numpy.nanstd(var[-1])))", fr="Imprime sur la sortie standard l'écart-type de la valeur courante de la variable", ang="Print on standard output the standard error of the current value of the variable" ), - ), - ValueVariance = BLOC (condition = " Template == 'ValueVariance' ", - ValueTemplate = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "import numpy\nprint(str(info)+\" \"+str(numpy.nanvar(var[-1])))", fr="Imprime sur la sortie standard la variance de la valeur courante de la variable", ang="Print on standard output the variance of the current value of the variable" ), - ), - ValueL2Norm = BLOC (condition = " Template == 'ValueL2Norm' ", - ValueTemplate = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "import numpy\nv = numpy.matrix( numpy.ravel( var[-1] ) )\nprint(str(info)+\" \"+str(float( numpy.linalg.norm(v) )))", fr="Imprime sur la sortie standard la norme L2 de la valeur courante de la variable", ang="Print on standard output the L2 norm of the current value of the variable" ), - ), - ValueRMS = BLOC (condition = " Template == 'ValueRMS' ", - ValueTemplate = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "import numpy\nv = numpy.matrix( numpy.ravel( var[-1] ) )\nprint(str(info)+\" \"+str(float( numpy.sqrt((1./v.size)*(v*v.T)) )))", fr="Imprime sur la sortie standard la racine de la moyenne des carrés (RMS), ou moyenne quadratique, de la valeur courante de la variable", ang="Print on standard output the root mean square (RMS), or quadratic mean, of the current value of the variable" ), - ), - ) - -def F_Observers(statut) : return FACT( - statut=statut, - SELECTION = SIMP(statut="o", defaut=[], typ="TXM", min=0, max="**",homo="SansOrdreNiDoublon", validators=NoRepeat(), into=(['Analysis', 'Innovation', 'InnovationAtCurrentState', 'CurrentState', 'CurrentOptimum', 'IndexOfOptimum', 'SimulatedObservationAtBackground', 'SimulatedObservationAtCurrentState', 'SimulatedObservationAtOptimum', 'SimulatedObservationAtCurrentOptimum', 'BMA', 'OMA', 'OMB', 'CostFunctionJ', 'CostFunctionJb', 'CostFunctionJo', 'GradientOfCostFunctionJ', 'GradientOfCostFunctionJb', 'GradientOfCostFunctionJo', 'SigmaObs2', 'SigmaBck2', 'APosterioriCorrelations', 'APosterioriCovariance', 'APosterioriStandardDeviations', 'APosterioriVariances', 'Residu'])), - #SELECTION = SIMP(statut="o", defaut=[], typ="TXM", min=0, max="**", validators=NoRepeat(), into=(['Analysis', 'Innovation', 'InnovationAtCurrentState', 'CurrentState', 'CurrentOptimum', 'IndexOfOptimum', 'SimulatedObservationAtBackground', 'SimulatedObservationAtCurrentState', 'SimulatedObservationAtOptimum', 'SimulatedObservationAtCurrentOptimum', 'BMA', 'OMA', 'OMB', 'CostFunctionJ', 'CostFunctionJb', 'CostFunctionJo', 'GradientOfCostFunctionJ', 'GradientOfCostFunctionJb', 'GradientOfCostFunctionJo', 'SigmaObs2', 'SigmaBck2', 'APosterioriCorrelations', 'APosterioriCovariance', 'APosterioriStandardDeviations', 'APosterioriVariances', 'Residu'])), - Analysis = BLOC (condition=" 'Analysis' in set(SELECTION) ", - Analysis_data = FACT(statut = "o", - Scheduler = SIMP(statut = "f", typ = "TXM"), - Info = SIMP(statut = "o", typ = "TXM", defaut = "Analysis"), - NodeType = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "Template", into=("String", "Script", "Template")), - PythonScript = BLOC (condition = " NodeType == 'String' ", - Value = SIMP(statut = "o", typ = "TXM") - ), - UserFile = BLOC (condition = " NodeType == 'Script' ", - Value = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py')]) - ), - ObserverTemplate = F_ObserverTemplate(), - ), - ), - Innovation = BLOC (condition=" 'Innovation' in set(SELECTION) ", - Innovation_data = FACT(statut = "o", - Scheduler = SIMP(statut = "f", typ = "TXM"), - Info = SIMP(statut = "o", typ = "TXM", defaut = "Innovation"), - NodeType = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "Template", into=("String", "Script", "Template")), - PythonScript = BLOC (condition = " NodeType == 'String' ", - Value = SIMP(statut = "o", typ = "TXM") - ), - UserFile = BLOC (condition = " NodeType == 'Script' ", - Value = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py')]) - ), - ObserverTemplate = F_ObserverTemplate(), - ), - ), - InnovationAtCurrentState = BLOC (condition=" 'InnovationAtCurrentState' in set(SELECTION) ", - InnovationAtCurrentState_data = FACT(statut = "o", - Scheduler = SIMP(statut = "f", typ = "TXM"), - Info = SIMP(statut = "o", typ = "TXM", defaut = "InnovationAtCurrentState"), - NodeType = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "Template", into=("String", "Script", "Template")), - PythonScript = BLOC (condition = " NodeType == 'String' ", - Value = SIMP(statut = "o", typ = "TXM") - ), - UserFile = BLOC (condition = " NodeType == 'Script' ", - Value = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py')]) - ), - ObserverTemplate = F_ObserverTemplate(), - ), - ), - CurrentState = BLOC (condition=" 'CurrentState' in set(SELECTION) ", - CurrentState_data = FACT(statut = "o", - Scheduler = SIMP(statut = "f", typ = "TXM"), - Info = SIMP(statut = "o", typ = "TXM", defaut = "CurrentState"), - NodeType = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "Template", into=("String", "Script", "Template")), - PythonScript = BLOC (condition = " NodeType == 'String' ", - Value = SIMP(statut = "o", typ = "TXM") - ), - UserFile = BLOC (condition = " NodeType == 'Script' ", - Value = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py')]) - ), - ObserverTemplate = F_ObserverTemplate(), - ), - ), - CurrentOptimum = BLOC (condition=" 'CurrentOptimum' in set(SELECTION) ", - CurrentOptimum_data = FACT(statut = "o", - Scheduler = SIMP(statut = "f", typ = "TXM"), - Info = SIMP(statut = "o", typ = "TXM", defaut = "CurrentOptimum"), - NodeType = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "Template", into=("String", "Script", "Template")), - PythonScript = BLOC (condition = " NodeType == 'String' ", - Value = SIMP(statut = "o", typ = "TXM") - ), - UserFile = BLOC (condition = " NodeType == 'Script' ", - Value = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py')]) - ), - ObserverTemplate = F_ObserverTemplate(), - ), - ), - IndexOfOptimum = BLOC (condition=" 'IndexOfOptimum' in set(SELECTION) ", - IndexOfOptimum_data = FACT(statut = "o", - Scheduler = SIMP(statut = "f", typ = "TXM"), - Info = SIMP(statut = "o", typ = "TXM", defaut = "IndexOfOptimum"), - NodeType = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "Template", into=("String", "Script", "Template")), - PythonScript = BLOC (condition = " NodeType == 'String' ", - Value = SIMP(statut = "o", typ = "TXM") - ), - UserFile = BLOC (condition = " NodeType == 'Script' ", - Value = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py')]) - ), - ObserverTemplate = F_ObserverTemplate(), - ), - ), - SimulatedObservationAtBackground = BLOC (condition=" 'SimulatedObservationAtBackground' in set(SELECTION) ", - SimulatedObservationAtBackground_data = FACT(statut = "o", - Scheduler = SIMP(statut = "f", typ = "TXM"), - Info = SIMP(statut = "o", typ = "TXM", defaut = "SimulatedObservationAtBackground"), - NodeType = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "Template", into=("String", "Script", "Template")), - PythonScript = BLOC (condition = " NodeType == 'String' ", - Value = SIMP(statut = "o", typ = "TXM") - ), - UserFile = BLOC (condition = " NodeType == 'Script' ", - Value = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py')]) - ), - ObserverTemplate = F_ObserverTemplate(), - ), - ), - SimulatedObservationAtCurrentState = BLOC (condition=" 'SimulatedObservationAtCurrentState' in set(SELECTION) ", - SimulatedObservationAtCurrentState_data = FACT(statut = "o", - Scheduler = SIMP(statut = "f", typ = "TXM"), - Info = SIMP(statut = "o", typ = "TXM", defaut = "SimulatedObservationAtCurrentState"), - NodeType = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "Template", into=("String", "Script", "Template")), - PythonScript = BLOC (condition = " NodeType == 'String' ", - Value = SIMP(statut = "o", typ = "TXM") - ), - UserFile = BLOC (condition = " NodeType == 'Script' ", - Value = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py')]) - ), - ObserverTemplate = F_ObserverTemplate(), - ), - ), - SimulatedObservationAtOptimum = BLOC (condition=" 'SimulatedObservationAtOptimum' in set(SELECTION) ", - SimulatedObservationAtOptimum_data = FACT(statut = "o", - Scheduler = SIMP(statut = "f", typ = "TXM"), - Info = SIMP(statut = "o", typ = "TXM", defaut = "SimulatedObservationAtOptimum"), - NodeType = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "Template", into=("String", "Script", "Template")), - PythonScript = BLOC (condition = " NodeType == 'String' ", - Value = SIMP(statut = "o", typ = "TXM") - ), - UserFile = BLOC (condition = " NodeType == 'Script' ", - Value = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py')]) - ), - ObserverTemplate = F_ObserverTemplate(), - ), - ), - SimulatedObservationAtCurrentOptimum = BLOC (condition=" 'SimulatedObservationAtCurrentOptimum' in set(SELECTION) ", - SimulatedObservationAtCurrentOptimum_data = FACT(statut = "o", - Scheduler = SIMP(statut = "f", typ = "TXM"), - Info = SIMP(statut = "o", typ = "TXM", defaut = "SimulatedObservationAtCurrentOptimum"), - NodeType = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "Template", into=("String", "Script", "Template")), - PythonScript = BLOC (condition = " NodeType == 'String' ", - Value = SIMP(statut = "o", typ = "TXM") - ), - UserFile = BLOC (condition = " NodeType == 'Script' ", - Value = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py')]) - ), - ObserverTemplate = F_ObserverTemplate(), - ), - ), - BMA = BLOC (condition=" 'BMA' in set(SELECTION) ", - BMA_data = FACT(statut = "o", - Scheduler = SIMP(statut = "f", typ = "TXM"), - Info = SIMP(statut = "o", typ = "TXM", defaut = "BMA"), - NodeType = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "Template", into=("String", "Script", "Template")), - PythonScript = BLOC (condition = " NodeType == 'String' ", - Value = SIMP(statut = "o", typ = "TXM") - ), - UserFile = BLOC (condition = " NodeType == 'Script' ", - Value = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py')]) - ), - ObserverTemplate = F_ObserverTemplate(), - ), - ), - OMA = BLOC (condition=" 'OMA' in set(SELECTION) ", - OMA_data = FACT(statut = "o", - Scheduler = SIMP(statut = "f", typ = "TXM"), - Info = SIMP(statut = "o", typ = "TXM", defaut = "OMA"), - NodeType = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "Template", into=("String", "Script", "Template")), - PythonScript = BLOC (condition = " NodeType == 'String' ", - Value = SIMP(statut = "o", typ = "TXM") - ), - UserFile = BLOC (condition = " NodeType == 'Script' ", - Value = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py')]) - ), - ObserverTemplate = F_ObserverTemplate(), - ), - ), - OMB = BLOC (condition=" 'OMB' in set(SELECTION) ", - OMB_data = FACT(statut = "o", - Scheduler = SIMP(statut = "f", typ = "TXM"), - Info = SIMP(statut = "o", typ = "TXM", defaut = "OMB"), - NodeType = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "Template", into=("String", "Script", "Template")), - PythonScript = BLOC (condition = " NodeType == 'String' ", - Value = SIMP(statut = "o", typ = "TXM") - ), - UserFile = BLOC (condition = " NodeType == 'Script' ", - Value = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py')]) - ), - ObserverTemplate = F_ObserverTemplate(), - ), - ), - CostFunctionJ = BLOC (condition=" 'CostFunctionJ' in set(SELECTION) ", - CostFunctionJ_data = FACT(statut = "o", - Scheduler = SIMP(statut = "f", typ = "TXM"), - Info = SIMP(statut = "o", typ = "TXM", defaut = "CostFunctionJ"), - NodeType = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "Template", into=("String", "Script", "Template")), - PythonScript = BLOC (condition = " NodeType == 'String' ", - Value = SIMP(statut = "o", typ = "TXM") - ), - UserFile = BLOC (condition = " NodeType == 'Script' ", - Value = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py')]) - ), - ObserverTemplate = F_ObserverTemplate(), - ), - ), - CostFunctionJb = BLOC (condition=" 'CostFunctionJb' in set(SELECTION) ", - CostFunctionJb_data = FACT(statut = "o", - Scheduler = SIMP(statut = "f", typ = "TXM"), - Info = SIMP(statut = "o", typ = "TXM", defaut = "CostFunctionJb"), - NodeType = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "Template", into=("String", "Script", "Template")), - PythonScript = BLOC (condition = " NodeType == 'String' ", - Value = SIMP(statut = "o", typ = "TXM") - ), - UserFile = BLOC (condition = " NodeType == 'Script' ", - Value = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py')]) - ), - ObserverTemplate = F_ObserverTemplate(), - ), - ), - CostFunctionJo = BLOC (condition=" 'CostFunctionJo' in set(SELECTION) ", - CostFunctionJo_data = FACT(statut = "o", - Scheduler = SIMP(statut = "f", typ = "TXM"), - Info = SIMP(statut = "o", typ = "TXM", defaut = "CostFunctionJo"), - NodeType = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "Template", into=("String", "Script", "Template")), - PythonScript = BLOC (condition = " NodeType == 'String' ", - Value = SIMP(statut = "o", typ = "TXM") - ), - UserFile = BLOC (condition = " NodeType == 'Script' ", - Value = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py')]) - ), - ObserverTemplate = F_ObserverTemplate(), - ), - ), - GradientOfCostFunctionJ = BLOC (condition=" 'GradientOfCostFunctionJ' in set(SELECTION) ", - GradientOfCostFunctionJ_data = FACT(statut = "o", - Scheduler = SIMP(statut = "f", typ = "TXM"), - Info = SIMP(statut = "o", typ = "TXM", defaut = "GradientOfCostFunctionJ"), - NodeType = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "Template", into=("String", "Script", "Template")), - PythonScript = BLOC (condition = " NodeType == 'String' ", - Value = SIMP(statut = "o", typ = "TXM") - ), - UserFile = BLOC (condition = " NodeType == 'Script' ", - Value = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py')]) - ), - ObserverTemplate = F_ObserverTemplate(), - ), - ), - GradientOfCostFunctionJb = BLOC (condition=" 'GradientOfCostFunctionJb' in set(SELECTION) ", - GradientOfCostFunctionJb_data = FACT(statut = "o", - Scheduler = SIMP(statut = "f", typ = "TXM"), - Info = SIMP(statut = "o", typ = "TXM", defaut = "GradientOfCostFunctionJb"), - NodeType = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "Template", into=("String", "Script", "Template")), - PythonScript = BLOC (condition = " NodeType == 'String' ", - Value = SIMP(statut = "o", typ = "TXM") - ), - UserFile = BLOC (condition = " NodeType == 'Script' ", - Value = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py')]) - ), - ObserverTemplate = F_ObserverTemplate(), - ), - ), - GradientOfCostFunctionJo = BLOC (condition=" 'GradientOfCostFunctionJo' in set(SELECTION) ", - GradientOfCostFunctionJo_data = FACT(statut = "o", - Scheduler = SIMP(statut = "f", typ = "TXM"), - Info = SIMP(statut = "o", typ = "TXM", defaut = "GradientOfCostFunctionJo"), - NodeType = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "Template", into=("String", "Script", "Template")), - PythonScript = BLOC (condition = " NodeType == 'String' ", - Value = SIMP(statut = "o", typ = "TXM") - ), - UserFile = BLOC (condition = " NodeType == 'Script' ", - Value = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py')]) - ), - ObserverTemplate = F_ObserverTemplate(), - ), - ), - SigmaObs2 = BLOC (condition=" 'SigmaObs2' in set(SELECTION) ", - SigmaObs2_data = FACT(statut = "o", - Scheduler = SIMP(statut = "f", typ = "TXM"), - Info = SIMP(statut = "o", typ = "TXM", defaut = "SigmaObs2"), - NodeType = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "Template", into=("String", "Script", "Template")), - PythonScript = BLOC (condition = " NodeType == 'String' ", - Value = SIMP(statut = "o", typ = "TXM") - ), - UserFile = BLOC (condition = " NodeType == 'Script' ", - Value = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py')]) - ), - ObserverTemplate = F_ObserverTemplate(), - ), - ), - SigmaBck2 = BLOC (condition=" 'SigmaBck2' in set(SELECTION) ", - SigmaBck2_data = FACT(statut = "o", - Scheduler = SIMP(statut = "f", typ = "TXM"), - Info = SIMP(statut = "o", typ = "TXM", defaut = "SigmaBck2"), - NodeType = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "Template", into=("String", "Script", "Template")), - PythonScript = BLOC (condition = " NodeType == 'String' ", - Value = SIMP(statut = "o", typ = "TXM") - ), - UserFile = BLOC (condition = " NodeType == 'Script' ", - Value = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py')]) - ), - ObserverTemplate = F_ObserverTemplate(), - ), - ), - APosterioriCorrelations = BLOC (condition=" 'APosterioriCorrelations' in set(SELECTION) ", - APosterioriCorrelations_data = FACT(statut = "o", - Scheduler = SIMP(statut = "f", typ = "TXM"), - Info = SIMP(statut = "o", typ = "TXM", defaut = "APosterioriCorrelations"), - NodeType = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "Template", into=("String", "Script", "Template")), - PythonScript = BLOC (condition = " NodeType == 'String' ", - Value = SIMP(statut = "o", typ = "TXM") - ), - UserFile = BLOC (condition = " NodeType == 'Script' ", - Value = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py')]) - ), - ObserverTemplate = F_ObserverTemplate(), - ), - ), - APosterioriCovariance = BLOC (condition=" 'APosterioriCovariance' in set(SELECTION) ", - APosterioriCovariance_data = FACT(statut = "o", - Scheduler = SIMP(statut = "f", typ = "TXM"), - Info = SIMP(statut = "o", typ = "TXM", defaut = "APosterioriCovariance"), - NodeType = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "Template", into=("String", "Script", "Template")), - PythonScript = BLOC (condition = " NodeType == 'String' ", - Value = SIMP(statut = "o", typ = "TXM") - ), - UserFile = BLOC (condition = " NodeType == 'Script' ", - Value = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py')]) - ), - ObserverTemplate = F_ObserverTemplate(), - ), - ), - APosterioriStandardDeviations = BLOC (condition=" 'APosterioriStandardDeviations' in set(SELECTION) ", - APosterioriStandardDeviations_data = FACT(statut = "o", - Scheduler = SIMP(statut = "f", typ = "TXM"), - Info = SIMP(statut = "o", typ = "TXM", defaut = "APosterioriStandardDeviations"), - NodeType = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "Template", into=("String", "Script", "Template")), - PythonScript = BLOC (condition = " NodeType == 'String' ", - Value = SIMP(statut = "o", typ = "TXM") - ), - UserFile = BLOC (condition = " NodeType == 'Script' ", - Value = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py')]) - ), - ObserverTemplate = F_ObserverTemplate(), - ), - ), - APosterioriVariances = BLOC (condition=" 'APosterioriVariances' in set(SELECTION) ", - APosterioriVariances_data = FACT(statut = "o", - Scheduler = SIMP(statut = "f", typ = "TXM"), - Info = SIMP(statut = "o", typ = "TXM", defaut = "APosterioriVariances"), - NodeType = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "Template", into=("String", "Script", "Template")), - PythonScript = BLOC (condition = " NodeType == 'String' ", - Value = SIMP(statut = "o", typ = "TXM") - ), - UserFile = BLOC (condition = " NodeType == 'Script' ", - Value = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py')]) - ), - ObserverTemplate = F_ObserverTemplate(), - ), - ), - Residu = BLOC (condition=" 'Residu' in set(SELECTION) ", - Residu_data = FACT(statut = "o", - Scheduler = SIMP(statut = "f", typ = "TXM"), - Info = SIMP(statut = "o", typ = "TXM", defaut = "Residu"), - NodeType = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "Template", into=("String", "Script", "Template")), - PythonScript = BLOC (condition = " NodeType == 'String' ", - Value = SIMP(statut = "o", typ = "TXM") - ), - UserFile = BLOC (condition = " NodeType == 'Script' ", - Value = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py')]) - ), - ObserverTemplate = F_ObserverTemplate(), - ), - ), - ) - -def AlgorithmParametersInNS(filename): - if os.path.exists(filename): - fc = open(filename, 'r').readlines() - cr = re.compile("^AlgorithmParameters[\s]*=") - for ln in fc: - if cr.match(ln): return 1 - return 0 -AlgorithmParametersInNS.info = u"The Python file has to contain explicitly an \"AlgorithmParameters\" variable." -def F_AlgorithmParameters(statut, algos_names, fv=NoCheckInNS) : return FACT( - statut = statut, - Algorithm = SIMP(statut="o", typ = "TXM", into = algos_names ), - Parameters = SIMP(statut="f", typ = "TXM", into=("Defaults", "Dict") ), - Dict = BLOC ( condition = " Parameters == 'Dict' ", - statut="f", - data = F_Dict("o", fv), - ), - Parameters3DVAR = BLOC (condition = " (Parameters == 'Defaults') and (Algorithm == '3DVAR') ", - statut="f", - Bounds = SIMP(statut="f", typ="TXM", fr="Liste des valeurs de bornes"), - CostDecrementTolerance = SIMP(statut="f", typ="R", min=1, max=1, defaut=1e-07, fr="Diminution relative minimale du cout lors de l'arrêt"), - GradientNormTolerance = SIMP(statut="f", typ="R", min=1, max=1, defaut=1e-05, fr="Maximum des composantes du gradient lors de l'arrêt"), - MaximumNumberOfSteps = SIMP(statut="f", typ="I", val_min=-1, min=1, max=1, defaut=15000, fr="Nombre maximal de pas d'optimisation"), - Minimizer = SIMP(statut="f", typ="TXM", min=1, max=1, defaut="LBFGSB", into=['LBFGSB', 'TNC', 'CG', 'NCG', 'BFGS'], fr="Minimiseur utilisé"), - NumberOfSamplesForQuantiles = SIMP(statut="f", typ="I", val_min=1, min=1, max=1, defaut=100, fr="Nombre d'échantillons simulés pour le calcul des quantiles"), - ProjectedGradientTolerance = SIMP(statut="f", typ="R", val_min=-1, min=1, max=1, defaut=-1.0, fr="Maximum des composantes du gradient projeté lors de l'arrêt"), - Quantiles = SIMP(statut="f", typ="TXM", max="**", into=None, fr="Liste des valeurs de quantiles"), - SetSeed = SIMP(statut="f", typ="TXM", fr="Graine fixée pour le générateur aléatoire"), - SimulationForQuantiles = SIMP(statut="f", typ="TXM", min=1, max=1, defaut="Linear", into=['Linear', 'NonLinear'], fr="Type de simulation pour l'estimation des quantiles"), - StoreSupplementaryCalculations = SIMP(statut="f", typ="TXM", max="**", into=['APosterioriCorrelations', 'APosterioriCovariance', 'APosterioriStandardDeviations', 'APosterioriVariances', 'BMA', 'OMA', 'OMB', 'CostFunctionJ', 'CostFunctionJb', 'CostFunctionJo', 'CurrentState', 'CurrentOptimum', 'IndexOfOptimum', 'Innovation', 'InnovationAtCurrentState', 'CostFunctionJAtCurrentOptimum', 'SigmaObs2', 'MahalanobisConsistency', 'SimulationQuantiles', 'SimulatedObservationAtBackground', 'SimulatedObservationAtCurrentState', 'SimulatedObservationAtOptimum', 'SimulatedObservationAtCurrentOptimum'], fr="Liste de calculs supplémentaires à stocker et/ou effectuer"), - ), - Parameters4DVAR = BLOC (condition = " (Parameters == 'Defaults') and (Algorithm == '4DVAR') ", - statut="f", - Bounds = SIMP(statut="f", typ="TXM", fr="Liste des valeurs de bornes"), - ConstrainedBy = SIMP(statut="f", typ="TXM", min=1, max=1, defaut="EstimateProjection", into=['EstimateProjection'], fr="Prise en compte des contraintes"), - CostDecrementTolerance = SIMP(statut="f", typ="R", min=1, max=1, defaut=1e-07, fr="Diminution relative minimale du cout lors de l'arrêt"), - EstimationOf = SIMP(statut="f", typ="TXM", min=1, max=1, defaut="State", into=['State', 'Parameters'], fr="Estimation d'etat ou de parametres"), - GradientNormTolerance = SIMP(statut="f", typ="R", min=1, max=1, defaut=1e-05, fr="Maximum des composantes du gradient lors de l'arrêt"), - MaximumNumberOfSteps = SIMP(statut="f", typ="I", val_min=-1, min=1, max=1, defaut=15000, fr="Nombre maximal de pas d'optimisation"), - Minimizer = SIMP(statut="f", typ="TXM", min=1, max=1, defaut="LBFGSB", into=['LBFGSB', 'TNC', 'CG', 'NCG', 'BFGS'], fr="Minimiseur utilisé"), - ProjectedGradientTolerance = SIMP(statut="f", typ="R", val_min=-1, min=1, max=1, defaut=-1.0, fr="Maximum des composantes du gradient projeté lors de l'arrêt"), - StoreSupplementaryCalculations = SIMP(statut="f", typ="TXM", max="**", into=['BMA', 'CurrentState', 'CostFunctionJ', 'CostFunctionJb', 'CostFunctionJo', 'IndexOfOptimum', 'CurrentOptimum', 'CostFunctionJAtCurrentOptimum'], fr="Liste de calculs supplémentaires à stocker et/ou effectuer"), - ), - ParametersBlue = BLOC (condition = " (Parameters == 'Defaults') and (Algorithm == 'Blue') ", - statut="f", - NumberOfSamplesForQuantiles = SIMP(statut="f", typ="I", val_min=1, min=1, max=1, defaut=100, fr="Nombre d'échantillons simulés pour le calcul des quantiles"), - Quantiles = SIMP(statut="f", typ="TXM", max="**", into=None, fr="Liste des valeurs de quantiles"), - SetSeed = SIMP(statut="f", typ="TXM", fr="Graine fixée pour le générateur aléatoire"), - SimulationForQuantiles = SIMP(statut="f", typ="TXM", min=1, max=1, defaut="Linear", into=['Linear', 'NonLinear'], fr="Type de simulation pour l'estimation des quantiles"), - StoreSupplementaryCalculations = SIMP(statut="f", typ="TXM", max="**", into=['APosterioriCorrelations', 'APosterioriCovariance', 'APosterioriStandardDeviations', 'APosterioriVariances', 'BMA', 'OMA', 'OMB', 'CurrentState', 'CostFunctionJ', 'CostFunctionJb', 'CostFunctionJo', 'Innovation', 'SigmaBck2', 'SigmaObs2', 'MahalanobisConsistency', 'SimulationQuantiles', 'SimulatedObservationAtBackground', 'SimulatedObservationAtCurrentState', 'SimulatedObservationAtOptimum'], fr="Liste de calculs supplémentaires à stocker et/ou effectuer"), - ), - ParametersDerivativeFreeOptimization = BLOC (condition = " (Parameters == 'Defaults') and (Algorithm == 'DerivativeFreeOptimization') ", - statut="f", - Bounds = SIMP(statut="f", typ="TXM", fr="Liste des valeurs de bornes"), - CostDecrementTolerance = SIMP(statut="f", typ="R", min=1, max=1, defaut=1e-07, fr="Diminution relative minimale du cout lors de l'arrêt"), - MaximumNumberOfFunctionEvaluations = SIMP(statut="f", typ="I", val_min=-1, min=1, max=1, defaut=15000, fr="Nombre maximal d'évaluations de la fonction"), - MaximumNumberOfSteps = SIMP(statut="f", typ="I", val_min=-1, min=1, max=1, defaut=15000, fr="Nombre maximal de pas d'optimisation"), - Minimizer = SIMP(statut="f", typ="TXM", min=1, max=1, defaut="BOBYQA", into=['BOBYQA', 'COBYLA', 'NEWUOA', 'POWELL', 'SIMPLEX', 'SUBPLEX'], fr="Minimiseur utilisé"), - QualityCriterion = SIMP(statut="f", typ="TXM", min=1, max=1, defaut="AugmentedWeightedLeastSquares", into=['AugmentedWeightedLeastSquares', 'AWLS', 'DA', 'WeightedLeastSquares', 'WLS', 'LeastSquares', 'LS', 'L2', 'AbsoluteValue', 'L1', 'MaximumError', 'ME'], fr="Critère de qualité utilisé"), - StateVariationTolerance = SIMP(statut="f", typ="R", min=1, max=1, defaut=0.0001, fr="Variation relative maximale de l'état lors de l'arrêt"), - StoreSupplementaryCalculations = SIMP(statut="f", typ="TXM", max="**", into=['CurrentState', 'CostFunctionJ', 'CostFunctionJb', 'CostFunctionJo', 'CostFunctionJAtCurrentOptimum', 'CurrentOptimum', 'IndexOfOptimum', 'InnovationAtCurrentState', 'BMA', 'OMA', 'OMB', 'SimulatedObservationAtBackground', 'SimulatedObservationAtCurrentOptimum', 'SimulatedObservationAtCurrentState', 'SimulatedObservationAtOptimum'], fr="Liste de calculs supplémentaires à stocker et/ou effectuer"), - ), - ParametersEnsembleBlue = BLOC (condition = " (Parameters == 'Defaults') and (Algorithm == 'EnsembleBlue') ", - statut="f", - SetSeed = SIMP(statut="f", typ="TXM", fr="Graine fixée pour le générateur aléatoire"), - StoreSupplementaryCalculations = SIMP(statut="f", typ="TXM", max="**", into=['CurrentState', 'Innovation', 'SimulatedObservationAtBackground', 'SimulatedObservationAtCurrentState', 'SimulatedObservationAtOptimum'], fr="Liste de calculs supplémentaires à stocker et/ou effectuer"), - ), - ParametersExtendedBlue = BLOC (condition = " (Parameters == 'Defaults') and (Algorithm == 'ExtendedBlue') ", - statut="f", - NumberOfSamplesForQuantiles = SIMP(statut="f", typ="I", val_min=1, min=1, max=1, defaut=100, fr="Nombre d'échantillons simulés pour le calcul des quantiles"), - Quantiles = SIMP(statut="f", typ="TXM", max="**", into=None, fr="Liste des valeurs de quantiles"), - SetSeed = SIMP(statut="f", typ="TXM", fr="Graine fixée pour le générateur aléatoire"), - SimulationForQuantiles = SIMP(statut="f", typ="TXM", min=1, max=1, defaut="Linear", into=['Linear', 'NonLinear'], fr="Type de simulation pour l'estimation des quantiles"), - StoreSupplementaryCalculations = SIMP(statut="f", typ="TXM", max="**", into=['APosterioriCorrelations', 'APosterioriCovariance', 'APosterioriStandardDeviations', 'APosterioriVariances', 'BMA', 'OMA', 'OMB', 'CurrentState', 'CostFunctionJ', 'CostFunctionJb', 'CostFunctionJo', 'Innovation', 'SigmaBck2', 'SigmaObs2', 'MahalanobisConsistency', 'SimulationQuantiles', 'SimulatedObservationAtBackground', 'SimulatedObservationAtCurrentState', 'SimulatedObservationAtOptimum'], fr="Liste de calculs supplémentaires à stocker et/ou effectuer"), - ), - ParametersExtendedKalmanFilter = BLOC (condition = " (Parameters == 'Defaults') and (Algorithm == 'ExtendedKalmanFilter') ", - statut="f", - Bounds = SIMP(statut="f", typ="TXM", fr="Liste des valeurs de bornes"), - ConstrainedBy = SIMP(statut="f", typ="TXM", min=1, max=1, defaut="EstimateProjection", into=['EstimateProjection'], fr="Prise en compte des contraintes"), - EstimationOf = SIMP(statut="f", typ="TXM", min=1, max=1, defaut="State", into=['State', 'Parameters'], fr="Estimation d'etat ou de parametres"), - StoreSupplementaryCalculations = SIMP(statut="f", typ="TXM", max="**", into=['APosterioriCorrelations', 'APosterioriCovariance', 'APosterioriStandardDeviations', 'APosterioriVariances', 'BMA', 'CurrentState', 'CostFunctionJ', 'CostFunctionJb', 'CostFunctionJo', 'Innovation'], fr="Liste de calculs supplémentaires à stocker et/ou effectuer"), - ), - ParametersKalmanFilter = BLOC (condition = " (Parameters == 'Defaults') and (Algorithm == 'KalmanFilter') ", - statut="f", - EstimationOf = SIMP(statut="f", typ="TXM", min=1, max=1, defaut="State", into=['State', 'Parameters'], fr="Estimation d'etat ou de parametres"), - StoreSupplementaryCalculations = SIMP(statut="f", typ="TXM", max="**", into=['APosterioriCorrelations', 'APosterioriCovariance', 'APosterioriStandardDeviations', 'APosterioriVariances', 'BMA', 'CurrentState', 'CostFunctionJ', 'CostFunctionJb', 'CostFunctionJo', 'Innovation'], fr="Liste de calculs supplémentaires à stocker et/ou effectuer"), - ), - ParametersLinearLeastSquares = BLOC (condition = " (Parameters == 'Defaults') and (Algorithm == 'LinearLeastSquares') ", - statut="f", - StoreSupplementaryCalculations = SIMP(statut="f", typ="TXM", max="**", into=['OMA', 'CurrentState', 'CostFunctionJ', 'CostFunctionJb', 'CostFunctionJo', 'SimulatedObservationAtCurrentState', 'SimulatedObservationAtOptimum'], fr="Liste de calculs supplémentaires à stocker et/ou effectuer"), - ), - ParametersNonLinearLeastSquares = BLOC (condition = " (Parameters == 'Defaults') and (Algorithm == 'NonLinearLeastSquares') ", - statut="f", - Bounds = SIMP(statut="f", typ="TXM", fr="Liste des valeurs de bornes"), - CostDecrementTolerance = SIMP(statut="f", typ="R", min=1, max=1, defaut=1e-07, fr="Diminution relative minimale du cout lors de l'arrêt"), - GradientNormTolerance = SIMP(statut="f", typ="R", min=1, max=1, defaut=1e-05, fr="Maximum des composantes du gradient lors de l'arrêt"), - MaximumNumberOfSteps = SIMP(statut="f", typ="I", val_min=-1, min=1, max=1, defaut=15000, fr="Nombre maximal de pas d'optimisation"), - Minimizer = SIMP(statut="f", typ="TXM", min=1, max=1, defaut="LBFGSB", into=['LBFGSB', 'TNC', 'CG', 'NCG', 'BFGS', 'LM'], fr="Minimiseur utilisé"), - ProjectedGradientTolerance = SIMP(statut="f", typ="R", val_min=-1, min=1, max=1, defaut=-1.0, fr="Maximum des composantes du gradient projeté lors de l'arrêt"), - StoreSupplementaryCalculations = SIMP(statut="f", typ="TXM", max="**", into=['BMA', 'OMA', 'OMB', 'CurrentState', 'CostFunctionJ', 'CostFunctionJb', 'CostFunctionJo', 'Innovation', 'SimulatedObservationAtCurrentState', 'SimulatedObservationAtOptimum'], fr="Liste de calculs supplémentaires à stocker et/ou effectuer"), - ), - ParametersParticleSwarmOptimization = BLOC (condition = " (Parameters == 'Defaults') and (Algorithm == 'ParticleSwarmOptimization') ", - statut="f", - BoxBounds = SIMP(statut="f", typ="TXM", fr="Liste des valeurs de bornes d'incréments de paramètres"), - GroupRecallRate = SIMP(statut="f", typ="R", val_min=0.0, val_max=1.0, min=1, max=1, defaut=0.5, fr="Taux de rappel au meilleur insecte du groupe (entre 0 et 1)"), - MaximumNumberOfFunctionEvaluations = SIMP(statut="f", typ="I", val_min=-1, min=1, max=1, defaut=15000, fr="Nombre maximal d'évaluations de la fonction"), - MaximumNumberOfSteps = SIMP(statut="f", typ="I", val_min=0, min=1, max=1, defaut=50, fr="Nombre maximal de pas d'optimisation"), - NumberOfInsects = SIMP(statut="f", typ="I", val_min=-1, min=1, max=1, defaut=100, fr="Nombre d'insectes dans l'essaim"), - QualityCriterion = SIMP(statut="f", typ="TXM", min=1, max=1, defaut="AugmentedWeightedLeastSquares", into=['AugmentedWeightedLeastSquares', 'AWLS', 'AugmentedPonderatedLeastSquares', 'APLS', 'DA', 'WeightedLeastSquares', 'WLS', 'PonderatedLeastSquares', 'PLS', 'LeastSquares', 'LS', 'L2', 'AbsoluteValue', 'L1', 'MaximumError', 'ME'], fr="Critère de qualité utilisé"), - SetSeed = SIMP(statut="f", typ="TXM", fr="Graine fixée pour le générateur aléatoire"), - StoreSupplementaryCalculations = SIMP(statut="f", typ="TXM", max="**", into=['BMA', 'OMA', 'OMB', 'CurrentState', 'CostFunctionJ', 'CostFunctionJb', 'CostFunctionJo', 'Innovation', 'SimulatedObservationAtBackground', 'SimulatedObservationAtCurrentState', 'SimulatedObservationAtOptimum'], fr="Liste de calculs supplémentaires à stocker et/ou effectuer"), - SwarmVelocity = SIMP(statut="f", typ="R", val_min=0.0, min=1, max=1, defaut=1.0, fr="Vitesse de groupe imposée par l'essaim"), - ), - ParametersQuantileRegression = BLOC (condition = " (Parameters == 'Defaults') and (Algorithm == 'QuantileRegression') ", - statut="f", - Bounds = SIMP(statut="f", typ="TXM", fr="Liste des valeurs de bornes"), - CostDecrementTolerance = SIMP(statut="f", typ="R", min=1, max=1, defaut=1e-06, fr="Maximum de variation de la fonction d'estimation lors de l'arrêt"), - MaximumNumberOfSteps = SIMP(statut="f", typ="I", val_min=1, min=1, max=1, defaut=15000, fr="Nombre maximal de pas d'optimisation"), - Minimizer = SIMP(statut="f", typ="TXM", min=1, max=1, defaut="MMQR", into=['MMQR'], fr="Minimiseur utilisé"), - Quantile = SIMP(statut="f", typ="R", val_min=0.0, val_max=1.0, min=1, max=1, defaut=0.5, fr="Quantile pour la regression de quantile"), - StoreSupplementaryCalculations = SIMP(statut="f", typ="TXM", max="**", into=['BMA', 'OMA', 'OMB', 'CurrentState', 'CostFunctionJ', 'CostFunctionJb', 'CostFunctionJo', 'Innovation', 'SimulatedObservationAtBackground', 'SimulatedObservationAtCurrentState', 'SimulatedObservationAtOptimum'], fr="Liste de calculs supplémentaires à stocker et/ou effectuer"), - ), - ParametersUnscentedKalmanFilter = BLOC (condition = " (Parameters == 'Defaults') and (Algorithm == 'UnscentedKalmanFilter') ", - statut="f", - Alpha = SIMP(statut="f", typ="R", val_min=0.0001, val_max=1.0, min=1, max=1, defaut=1.0, fr=""), - Beta = SIMP(statut="f", typ="R", min=1, max=1, defaut=2.0, fr=""), - Bounds = SIMP(statut="f", typ="TXM", fr="Liste des valeurs de bornes"), - ConstrainedBy = SIMP(statut="f", typ="TXM", min=1, max=1, defaut="EstimateProjection", into=['EstimateProjection'], fr="Prise en compte des contraintes"), - EstimationOf = SIMP(statut="f", typ="TXM", min=1, max=1, defaut="State", into=['State', 'Parameters'], fr="Estimation d'etat ou de parametres"), - Kappa = SIMP(statut="f", typ="I", val_max=2, min=1, max=1, defaut=0, fr=""), - Reconditioner = SIMP(statut="f", typ="R", val_min=0.001, val_max=10.0, min=1, max=1, defaut=1.0, fr=""), - StoreSupplementaryCalculations = SIMP(statut="f", typ="TXM", max="**", into=['APosterioriCorrelations', 'APosterioriCovariance', 'APosterioriStandardDeviations', 'APosterioriVariances', 'BMA', 'CurrentState', 'CostFunctionJ', 'CostFunctionJb', 'CostFunctionJo', 'Innovation'], fr="Liste de calculs supplémentaires à stocker et/ou effectuer"), - ), - ParametersAdjointTest = BLOC (condition = " (Parameters == 'Defaults') and (Algorithm == 'AdjointTest') ", - statut="f", - AmplitudeOfInitialDirection = SIMP(statut="f", typ="R", min=1, max=1, defaut=1.0, fr="Amplitude de la direction initiale de la dérivée directionnelle autour du point nominal"), - EpsilonMinimumExponent = SIMP(statut="f", typ="I", val_min=-20, val_max=0, min=1, max=1, defaut=-8, fr="Exposant minimal en puissance de 10 pour le multiplicateur d'incrément"), - InitialDirection = SIMP(statut="f", typ="TXM", fr="Direction initiale de la dérivée directionnelle autour du point nominal"), - ResiduFormula = SIMP(statut="f", typ="TXM", min=1, max=1, defaut="ScalarProduct", into=['ScalarProduct'], fr="Formule de résidu utilisée"), - SetSeed = SIMP(statut="f", typ="TXM", fr="Graine fixée pour le générateur aléatoire"), - StoreSupplementaryCalculations = SIMP(statut="f", typ="TXM", max="**", into=['CurrentState', 'Residu', 'SimulatedObservationAtCurrentState'], fr="Liste de calculs supplémentaires à stocker et/ou effectuer"), - ), - ParametersFunctionTest = BLOC (condition = " (Parameters == 'Defaults') and (Algorithm == 'FunctionTest') ", - statut="f", - NumberOfPrintedDigits = SIMP(statut="f", typ="I", val_min=0, min=1, max=1, defaut=5, fr="Nombre de chiffres affichés pour les impressions de réels"), - NumberOfRepetition = SIMP(statut="f", typ="I", val_min=1, min=1, max=1, defaut=1, fr="Nombre de fois où l'exécution de la fonction est répétée"), - SetDebug = SIMP(statut="f", typ="I", min=1, max=1, defaut=0, fr="Activation du mode debug lors de l'exécution"), - StoreSupplementaryCalculations = SIMP(statut="f", typ="TXM", max="**", into=['CurrentState', 'SimulatedObservationAtCurrentState'], fr="Liste de calculs supplémentaires à stocker et/ou effectuer"), - ), - ParametersGradientTest = BLOC (condition = " (Parameters == 'Defaults') and (Algorithm == 'GradientTest') ", - statut="f", - AmplitudeOfInitialDirection = SIMP(statut="f", typ="R", min=1, max=1, defaut=1.0, fr="Amplitude de la direction initiale de la dérivée directionnelle autour du point nominal"), - AmplitudeOfTangentPerturbation = SIMP(statut="f", typ="R", val_min=1e-10, val_max=1.0, min=1, max=1, defaut=0.01, fr="Amplitude de la perturbation pour le calcul de la forme tangente"), - EpsilonMinimumExponent = SIMP(statut="f", typ="I", val_min=-20, val_max=0, min=1, max=1, defaut=-8, fr="Exposant minimal en puissance de 10 pour le multiplicateur d'incrément"), - InitialDirection = SIMP(statut="f", typ="TXM", fr="Direction initiale de la dérivée directionnelle autour du point nominal"), - ResiduFormula = SIMP(statut="f", typ="TXM", min=1, max=1, defaut="Taylor", into=['Norm', 'TaylorOnNorm', 'Taylor'], fr="Formule de résidu utilisée"), - SetSeed = SIMP(statut="f", typ="TXM", fr="Graine fixée pour le générateur aléatoire"), - StoreSupplementaryCalculations = SIMP(statut="f", typ="TXM", max="**", into=['CurrentState', 'Residu', 'SimulatedObservationAtCurrentState'], fr="Liste de calculs supplémentaires à stocker et/ou effectuer"), - ), - ParametersLinearityTest = BLOC (condition = " (Parameters == 'Defaults') and (Algorithm == 'LinearityTest') ", - statut="f", - AmplitudeOfInitialDirection = SIMP(statut="f", typ="R", min=1, max=1, defaut=1.0, fr="Amplitude de la direction initiale de la dérivée directionnelle autour du point nominal"), - AmplitudeOfTangentPerturbation = SIMP(statut="f", typ="R", val_min=1e-10, val_max=1.0, min=1, max=1, defaut=0.01, fr="Amplitude de la perturbation pour le calcul de la forme tangente"), - EpsilonMinimumExponent = SIMP(statut="f", typ="I", val_min=-20, val_max=0, min=1, max=1, defaut=-8, fr="Exposant minimal en puissance de 10 pour le multiplicateur d'incrément"), - InitialDirection = SIMP(statut="f", typ="TXM", fr="Direction initiale de la dérivée directionnelle autour du point nominal"), - ResiduFormula = SIMP(statut="f", typ="TXM", min=1, max=1, defaut="CenteredDL", into=['CenteredDL', 'Taylor', 'NominalTaylor', 'NominalTaylorRMS'], fr="Formule de résidu utilisée"), - SetSeed = SIMP(statut="f", typ="TXM", fr="Graine fixée pour le générateur aléatoire"), - StoreSupplementaryCalculations = SIMP(statut="f", typ="TXM", max="**", into=['CurrentState', 'Residu', 'SimulatedObservationAtCurrentState'], fr="Liste de calculs supplémentaires à stocker et/ou effectuer"), - ), - ParametersSamplingTest = BLOC (condition = " (Parameters == 'Defaults') and (Algorithm == 'SamplingTest') ", - statut="f", - QualityCriterion = SIMP(statut="f", typ="TXM", min=1, max=1, defaut="AugmentedWeightedLeastSquares", into=['AugmentedWeightedLeastSquares', 'AWLS', 'AugmentedPonderatedLeastSquares', 'APLS', 'DA', 'WeightedLeastSquares', 'WLS', 'PonderatedLeastSquares', 'PLS', 'LeastSquares', 'LS', 'L2', 'AbsoluteValue', 'L1', 'MaximumError', 'ME'], fr="Critère de qualité utilisé"), - SampleAsExplicitHyperCube = SIMP(statut="f", typ="TXM", max="**", into=None, fr="Points de calcul définis par un hyper-cube dont on donne la liste des échantillonages de chaque variable comme une liste"), - SampleAsIndependantRandomVariables = SIMP(statut="f", typ="TXM", max="**", into=None, fr="Points de calcul définis par un hyper-cube dont les points sur chaque axe proviennent de l'échantillonage indépendant de la variable selon la spécification ['distribution',[parametres],nombre]"), - SampleAsMinMaxStepHyperCube = SIMP(statut="f", typ="TXM", max="**", into=None, fr="Points de calcul définis par un hyper-cube dont on donne la liste des échantillonages de chaque variable par un triplet [min,max,step]"), - SampleAsnUplet = SIMP(statut="f", typ="TXM", max="**", into=None, fr="Points de calcul définis par une liste de n-uplet"), - SetDebug = SIMP(statut="f", typ="I", min=1, max=1, defaut=0, fr="Activation du mode debug lors de l'exécution"), - SetSeed = SIMP(statut="f", typ="TXM", fr="Graine fixée pour le générateur aléatoire"), - StoreSupplementaryCalculations = SIMP(statut="f", typ="TXM", max="**", into=['CostFunctionJ', 'CostFunctionJb', 'CostFunctionJo', 'CurrentState', 'InnovationAtCurrentState', 'SimulatedObservationAtCurrentState'], fr="Liste de calculs supplémentaires à stocker et/ou effectuer"), - ), - ParametersTangentTest = BLOC (condition = " (Parameters == 'Defaults') and (Algorithm == 'TangentTest') ", - statut="f", - AmplitudeOfInitialDirection = SIMP(statut="f", typ="R", min=1, max=1, defaut=1.0, fr="Amplitude de la direction initiale de la dérivée directionnelle autour du point nominal"), - AmplitudeOfTangentPerturbation = SIMP(statut="f", typ="R", val_min=1e-10, val_max=1.0, min=1, max=1, defaut=0.01, fr="Amplitude de la perturbation pour le calcul de la forme tangente"), - EpsilonMinimumExponent = SIMP(statut="f", typ="I", val_min=-20, val_max=0, min=1, max=1, defaut=-8, fr="Exposant minimal en puissance de 10 pour le multiplicateur d'incrément"), - InitialDirection = SIMP(statut="f", typ="TXM", fr="Direction initiale de la dérivée directionnelle autour du point nominal"), - ResiduFormula = SIMP(statut="f", typ="TXM", min=1, max=1, defaut="Taylor", into=['Taylor'], fr="Formule de résidu utilisée"), - SetSeed = SIMP(statut="f", typ="TXM", fr="Graine fixée pour le générateur aléatoire"), - StoreSupplementaryCalculations = SIMP(statut="f", typ="TXM", max="**", into=['CurrentState', 'Residu', 'SimulatedObservationAtCurrentState'], fr="Liste de calculs supplémentaires à stocker et/ou effectuer"), - ), - ) - -def F_variables(statut) : return FACT( - statut=statut, - regles = ( MEME_NOMBRE ('NAMES', 'SIZES')), - NAMES = SIMP(statut="o", typ="TXM", max="**", validators=NoRepeat()), - SIZES = SIMP(statut="o", typ="I", val_min=1, max="**") - ) -def ChDir(dirname): - os.chdir(os.path.abspath(dirname)) - return 1 -ChDir.info = u"This has to be a regular directory path." - -ASSIMILATION_STUDY = PROC(nom="ASSIMILATION_STUDY", - op=None, - repetable = "n", - StudyName = SIMP(statut="o", typ = "TXM", defaut="ADAO Calculation Case"), - StudyRepertory = SIMP(statut="f", typ = "Repertoire", validators=FunctionVal(ChDir), min=1, max=1), - Debug = SIMP(statut="f", typ = "I", into=(0, 1), defaut=0), - AlgorithmParameters = F_AlgorithmParameters("o",("3DVAR", "4DVAR", "Blue", "DerivativeFreeOptimization", "EnsembleBlue", "ExtendedBlue", "ExtendedKalmanFilter", "KalmanFilter", "LinearLeastSquares", "NonLinearLeastSquares", "ParticleSwarmOptimization", "QuantileRegression", "UnscentedKalmanFilter", ), AlgorithmParametersInNS), - Background = F_Background("o", BackgroundInNS), - BackgroundError = F_BackgroundError("o", BackgroundErrorInNS), - Observation = F_Observation("o", ObservationInNS), - ObservationError = F_ObservationError("o", ObservationErrorInNS), - ObservationOperator = F_ObservationOperator("o"), - EvolutionModel = F_EvolutionModel("f"), - EvolutionError = F_EvolutionError("f", EvolutionErrorInNS), - ControlInput = F_ControlInput("f"), - UserDataInit = F_Init("f"), - UserPostAnalysis = F_UserPostAnalysis("o"), - InputVariables = F_variables("f"), - OutputVariables = F_variables("f"), - Observers = F_Observers("f") - ) - -CHECKING_STUDY = PROC(nom="CHECKING_STUDY", - op=None, - repetable = "n", - StudyName = SIMP(statut="o", typ = "TXM", defaut="ADAO Checking Case"), - StudyRepertory = SIMP(statut="f", typ = "Repertoire", validators=FunctionVal(ChDir), min=1, max=1), - Debug = SIMP(statut="f", typ = "I", into=(0, 1), defaut=0), - AlgorithmParameters = F_AlgorithmParameters("o", ("AdjointTest", "FunctionTest", "GradientTest", "LinearityTest", "ObserverTest", "SamplingTest", "TangentTest", ), AlgorithmParametersInNS), - CheckingPoint = F_CheckingPoint("o", CheckingPointInNS), - BackgroundError = F_BackgroundError("f", BackgroundErrorInNS), - Observation = F_Observation("f", ObservationInNS), - ObservationError = F_ObservationError("f", ObservationErrorInNS), - ObservationOperator = F_ObservationOperator("o"), - UserDataInit = F_Init("f"), - Observers = F_Observers("f") - ) diff --git a/Adao/README_CATALOGUE.txt b/Adao/README_CATALOGUE.txt deleted file mode 100644 index f4d3dbd0..00000000 --- a/Adao/README_CATALOGUE.txt +++ /dev/null @@ -1,4 +0,0 @@ -#-*-coding:iso-8859-1-*- -# -Les catalogues presents dans cette directory sont des catalogues de tests. -Le catalogue final utilisé dans le module Adao de Salome peut être différent diff --git a/Adao/configuration_Adao.py b/Adao/configuration_Adao.py deleted file mode 100644 index 735905fb..00000000 --- a/Adao/configuration_Adao.py +++ /dev/null @@ -1,64 +0,0 @@ -# -*- coding: utf-8 -*- -# -# Copyright (C) 2008-2016 EDF R&D -# -# This file is part of SALOME ADAO module -# -# 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 -# - -""" -""" -# Modules Python -# print "passage dans la surcharge de configuration pour Adao" -import os, sys, string, types, re - - -# Modules Eficas - - -#from Editeur import Eficas_utils -from InterfaceQT4 import configuration - -# Classe de base permettant de lire, afficher -# et sauvegarder les fichiers utilisateurs -class CONFIG(configuration.configBase): - - def __init__(self,appli,repIni): - - self.labels_eficas=['lang','rep_cata','catalogues','closeAutreCommande','closeFrameRechercheCommande','closeEntete','taille'] - configuration.configBase.__init__(self,appli,repIni) - - #self.rep_user = os.environ["HOME"] - self.rep_user = os.path.expanduser("~") - self.appli = appli - self.code = appli.code - # self.lang = "fr" - self.rep_ini = repIni - self.rep_mat=" " # Compatbilite Aster - self.savedir = self.rep_user - self.generator_module = "generator_adao" - self.convert_module = "convert_adao" - - # Format des catalogues... - # (code, version, catalogue, formatIn, formatOut) - # Il faut les mettre dans un tuple - #self.catalogues = (("ADAO", "V0", os.path.join(self.rep_ini, 'ADAO_Cata_V0.py'), "adao"),) - -def make_config(appli,rep): - return CONFIG(appli,rep) - diff --git a/Adao/monCode_Cata.py b/Adao/monCode_Cata.py deleted file mode 100644 index 2f370716..00000000 --- a/Adao/monCode_Cata.py +++ /dev/null @@ -1,25 +0,0 @@ -# -*- coding: utf-8 -*- -from Accas import * - -JdC = JDC_CATA (code = 'ADAO', - execmodul = None, - ) -JdC = JDC_CATA (code = 'ADAO', - execmodul = None, - regles = ( AU_MOINS_UN ('ASSIMILATION_STUDY','CHECKING_STUDY'), AU_PLUS_UN ('ASSIMILATION_STUDY','CHECKING_STUDY')), - ) - - -ASSIMILATION_STUDY = PROC(nom="ASSIMILATION_STUDY", op=None, repetable = "n", - Study_name = SIMP(statut="o", typ = "TXM"), - Study_repertory = SIMP(statut="f", typ = "Repertoire", min=1, max=1), - Debug = SIMP(statut="o", typ = "I", into=(0, 1), defaut=0), - Algorithm = SIMP(statut="o", typ = "TXM", into=("3DVAR", "Blue", "EnsembleBlue", "KalmanFilter", "LinearLeastSquares", "NonLinearLeastSquares", "ParticleSwarmOptimization", "QuantileRegression", )), - Background = FACT(statut="o", - regles=(UN_PARMI('SCRIPT_DATA_FILE','VECTOR_STRING'),), - Stored = SIMP(statut="o", typ = "I", into=(0, 1), defaut=0, fr="Choix de stockage interne ou non du concept parent", ang="Choice of the storage or not of the parent concept"), - SCRIPT_DATA_FILE = SIMP(statut = "f", typ = "FichierNoAbs", validators=(OnlyStr()), fr="En attente d'un nom de fichier script, avec ou sans le chemin complet pour le trouver, contenant la définition d'une variable interne de même nom que le concept parent", ang="Waiting for a script file name, with or without the full path to find it, containing the definition of an internal variable of the same name as the parent concept"), - VECTOR_STRING = SIMP(statut = "f", typ = "TXM", fr="En attente d'une chaine de caractères entre guillements. Pour construire un vecteur, ce doit être une suite de nombres, utilisant un espace ou une virgule pour séparer deux éléments et un point-virgule pour séparer deux lignes", ang="Waiting for a string in quotes. To build a vector, it has to be a float serie, using a space or comma to separate two elements in a line, a semi-colon to separate rows"), - ), - -) diff --git a/Adao/prefs.py b/Adao/prefs.py deleted file mode 100644 index 5cbdc263..00000000 --- a/Adao/prefs.py +++ /dev/null @@ -1,22 +0,0 @@ -# Copyright (C) 2007-2017 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 -# -code="Adao" -import sys, os -if os.path.dirname(os.path.abspath(__file__)) not in sys.path : - sys.path.insert(0,os.path.dirname(os.path.abspath(__file__))) diff --git a/Adao/prefs_Adao.py b/Adao/prefs_Adao.py deleted file mode 100644 index 4e758db6..00000000 --- a/Adao/prefs_Adao.py +++ /dev/null @@ -1,36 +0,0 @@ -# -*- coding: utf-8 -*- -import os,sys - -# repIni sert a localiser le fichier editeur.ini - -repIni=os.path.dirname(os.path.abspath(__file__)) -INSTALLDIR=os.path.join(repIni,'..') -sys.path[:0]=[INSTALLDIR] - - -# Codage des strings qui accepte les accents (en remplacement de 'ascii') -encoding='iso-8859-1' - -# Choix des catalogues -# format du Tuple (code,version,catalogue,formatOut, finit par defaut eventuellement) -catalogues = ( -# ('Adao','V1',os.path.join(repIni,'ADAO_Cata_V1.py'),'python','python'), -# ('Adao','V770',os.path.join(repIni,'ADAO_Cata_V0_V7_7_0.py'),'python','python'), -# ('Adao','V83',os.path.join(repIni,'ADAO_Cata_V0_V8_3_0_DEV.py'),'dicoImbrique','dico'), -# ('Adao','dico',os.path.join(repIni,'ADAO_Cata_V0_V8_3_0_DEV.py'),'dico','dico'), - ('Adao','V83',os.path.join(repIni,'ADAO_Cata_V0_V8_3_0_DEV.py'),'python','python'), -# ('Adao','V83',os.path.join(repIni,'ADAO_Cata_PN.py'),'python','python'), -# ('Adao','V751',os.path.join(repIni,'ADAO_Cata_V0_V7_5_1.py'),'python','python'), -) - -# lang indique la langue utilisee pour les chaines d'aide : fr ou ang - -lang='fr' -closeAutreCommande = True -closeFrameRechercheCommande = True -#closeEntete = True -closeArbre = True -translatorFichier = os.path.join(repIni,'Adao') -nombreDeBoutonParLigne=1 -#dumpXSD=True - diff --git a/Adao/properties.py b/Adao/properties.py deleted file mode 100644 index f8ee7110..00000000 --- a/Adao/properties.py +++ /dev/null @@ -1,5 +0,0 @@ -# ====================================================================== -# VERSION DU CODE -#---------------------------------------------------------------------- -version = "6.6" -date = "19/09/2012" diff --git a/Adao/qtDico.py b/Adao/qtDico.py deleted file mode 100755 index 51156caa..00000000 --- a/Adao/qtDico.py +++ /dev/null @@ -1,37 +0,0 @@ -#!/usr/bin/env python -# -*- coding: utf-8 -*- -# Copyright (C) 2007-2017 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 -# -""" - Ce module sert à lancer EFICAS configuré pour Code_Aster -""" -# Modules Python - -# Modules Eficas -import prefs -name='prefs_'+prefs.code -__import__(name) - -from InterfaceQT4 import eficas_go - -dico=eficas_go.lanceEficas_param(code=prefs.code,fichier="/local00/home/A96028/GitEficas/eficas/Adao/exemple01.comm",version="V760",macro="ASSIMILATION_STUDY") -#print dico - -import pprint -pprint.pprint(dico) diff --git a/Adao/qtEficas_Adao.py b/Adao/qtEficas_Adao.py deleted file mode 100755 index 43605163..00000000 --- a/Adao/qtEficas_Adao.py +++ /dev/null @@ -1,35 +0,0 @@ -#!/usr/bin/env python -# -*- coding: utf-8 -*- -# Copyright (C) 2007-2017 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 -# -""" -""" -# Modules Python - -# Modules Eficas -import prefs -name='prefs_'+prefs.code -__import__(name) - -#import sys -#reload(sys) -#sys.setdefaultencoding('latin1') - -from InterfaceQT4 import eficas_go -eficas_go.lanceEficas(code=prefs.code) diff --git a/Aide/CMakeLists.txt b/Aide/CMakeLists.txt deleted file mode 100644 index 00d42795..00000000 --- a/Aide/CMakeLists.txt +++ /dev/null @@ -1,39 +0,0 @@ -# -*- coding: utf-8 -*- -# CONFIGURATION MANAGEMENT OF EDF VERSION -# ====================================================================== -# COPYRIGHT (C) 2007 - 2012 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM 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 -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# -# -# ====================================================================== - -# Installation des fichiers d'aide : Open TURNS -if (WITH_OPENTURNS) - install ( FILES eficas_OPENTURNS_STUDY.adp - DESTINATION ${CMAKE_INSTALL_PREFIX}/Aide - ) - add_subdirectory ( fichiers_OPENTURNS_STUDY ) -endif (WITH_OPENTURNS) - - -install ( - DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/fichiers_EFICAS - DESTINATION ${CMAKE_INSTALL_PREFIX}/Aide -) - - -### Local Variables: -### mode: cmake -### End: diff --git a/Aide/eficas_OPENTURNS_STUDY.adp b/Aide/eficas_OPENTURNS_STUDY.adp deleted file mode 100644 index db67cb4e..00000000 --- a/Aide/eficas_OPENTURNS_STUDY.adp +++ /dev/null @@ -1,5 +0,0 @@ - - - - diff --git a/Aide/fichiers_ASTER/CMakeLists.txt b/Aide/fichiers_ASTER/CMakeLists.txt deleted file mode 100644 index b9b71c94..00000000 --- a/Aide/fichiers_ASTER/CMakeLists.txt +++ /dev/null @@ -1,34 +0,0 @@ -# -*- coding: utf-8 -*- -# CONFIGURATION MANAGEMENT OF EDF VERSION -# ====================================================================== -# COPYRIGHT (C) 2007 - 2012 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM 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 -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# -# -# ====================================================================== - -# Installation des fichiers d'aide : Aster -if (WITH_ASTER) - install ( DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} - DESTINATION ${CMAKE_INSTALL_PREFIX}/Aide - FILES_MATCHING PATTERN *.txt PATTERN *.html - PATTERN CMakeLists.txt EXCLUDE - PATTERN CVS EXCLUDE - ) -endif (WITH_ASTER) - -### Local Variables: -### mode: cmake -### End: diff --git a/Aide/fichiers_ASTER/INSTALL.txt b/Aide/fichiers_ASTER/INSTALL.txt deleted file mode 100644 index eb759325..00000000 --- a/Aide/fichiers_ASTER/INSTALL.txt +++ /dev/null @@ -1,52 +0,0 @@ - - - - - Installation Standard d Eficas - - - - -

-1- Installation standard -

- -Pour installer EFICAS a partir de la distribution : .tgz
-faire :
-
tar xzvf .tgz

- -ce qui a pour effet de créer un répertoire de nom V1EficasV1_16a4AsterSTA9. -

- -Pour modifier l'emplacement de la doc, le chemin d'accès à Acrobat Reader, -les catalogues, il faut modifier le fichier -
editeur.ini
-dans le répertoire Aster ou utiliser le sous-menu "Parametres Eficas" du men Options . -

-ATTENTION :
-Si Eficas est installé dans un répertoire particulier d'administration -dans lequel les utilisateurs n'ont pas le droit d'écriture,
- il faut que l'administrateur lance Eficas pour générer -les fichiers et catalogues compilés .pyc -

- - -2- Utilisation d'Eficas -
-
-Pour utiliser Eficas, aller dans le répertoire Aster et faire : -
python eficas_aster.py -
-
-3- Installation avec un noyau pré-installé -
-
-Aller dans le répertoire Aster du répertoire Eficas -et modifier le fichier prefs.py comme suit : -Mettre dans la variable CODE_PATH le chemin absolu vers -le répertoire contenant les deux répertoires Noyau et Validation que vous voulez -utiliser à la place de ceux fournis dans la livraison d'Eficas -
-Pour changer les catalogues, modifier le fichier editeur.ini dans le répertoire Aster - - diff --git a/Aide/fichiers_ASTER/NEWS.txt b/Aide/fichiers_ASTER/NEWS.txt deleted file mode 100644 index 43eadb0e..00000000 --- a/Aide/fichiers_ASTER/NEWS.txt +++ /dev/null @@ -1,107 +0,0 @@ -Version 6.5 (05/2012): -
- Comptabible avec la version 6.5 de Salome -

-Version 6.4 (12/2011): -
- Le numero de version d Eficas est celui de Salome. Ainsi la version 6.4 d Eficas est livree avec Salome 6.4 et tourne -dans cette version. -

-Version 2.O (12/2009): - fusion des versions d Eficas pour Code_Aster, Outils Metiers et OpenTURNS -

-Version 1.17 (12/2009): -
- Mise en synchronisation avec la version 10.0 de Code_Aster de decembre 2009. -

- Version en QT4 -
- La version TK est figee -

- -Version 1.16 (6/2009): -
- Mise en synchronisation avec la version 9.3 de Code_Aster de mai 2007. -

- - -Version 1.13 (6/2008): -
- Mise en synchronisation avec la version 9.2 de Code_Aster de mai 2007. -

- -Version 1.12 (6/2007): -
- Mise en synchronisation avec la version 9.1 de Code_Aster de mai 2007. -

- -Version 1.11 (12/2006): -
- Mise en synchronisation avec la version 8.4 de Code_Aster de decembre 2006. - Première version du Traducteur de V7 en V8 -

- -Version 1.10 (6/2006): -
- Mise en synchronisation avec la version 8.3 de Code_Aster de juin 2006. -

- -Version 1.9 (12/2005): -
- Mise en synchronisation avec la version 8.2 de Code_Aster de decembre 2005. -

- -Version 1.8 (6/2005): -
- Mise en synchronisation avec la version 8.1 de Code_Aster de mai 2005. - Les includes et poursuites peuvent etre édités. Introduction de la notation - scientifique pour les flottants. -

- -Version 1.7 : (12/2004) -
- Mise en synchronisation avec la version STA7 de Code_Aster (7.4). - Les formules changent et deviennent des formules au sens python. - Disparition des PARAMETRE-EVAL - Les touches raccourcis (CtrlC par exple) sont activées et paramétrables dans prefs.py. -

- -Version 1.6 : (05/2004) -
- Mise en synchronisation avec la version STA7 de Code_Aster (7.2.26) - Evolution de la saisie des valeurs pour definir une fonction (EO2003-241) : - - Saisie des valeurs sous forme de tuple. - - Si une valeur est selectionnée, l'insertion se fera après cette valeur - et non en fin de liste -

- -Version 1.5 (10/2003): -
- Mise en synchronisation avec la version STA7 de Code_Aster d'octobre 2003 (7.2) - Introduction des validateurs de mots cles simples -

- -Version 1.4 (5/2003): -
- Mise en synchronisation avec la version STA7 de Code_Aster de mai 2003 (7.1) - Possibilité de donner un nom de fichier en argument lors de l'ouverture d'EFICAS (EO2003-060) - Correction d'une anomalie dans la fonctionnalité de commentarisation des commandes (AO2003-041) - Ajout du bouton de documentation dans le panneau FORMULE (AO2002-447) - Selection automatique du concept quand il n'en existe qu'un (EO2002-162) -

- -Version 1.3 (11/2002): -
- Mise en synchronisation avec la version STA6 de Code_Aster de septembre 2002 - Ajout de la possibilité de visualiser les INCLUDE, INCLUDE_MATERIAU et POURSUITE (popup - sur click droit de la souris sur l'icone de la commande) - Possibilité d'afficher la liste des commandes par groupe (menu option->affichage commandes) - Reprise profonde du mécanisme de gestion des fichiers inclus (voir menus d'AIDE pour plus de détails) - Corrections diverses -

- -Version 1.2 (5/2002): -
- Reconception de la version 1.1 : décomposition en packages Python - Mise en synchronisation avec la version STA6 de Code_Aster de fevrier 2002 -

diff --git a/Aide/fichiers_ASTER/cata.txt b/Aide/fichiers_ASTER/cata.txt deleted file mode 100644 index 0973bf9b..00000000 --- a/Aide/fichiers_ASTER/cata.txt +++ /dev/null @@ -1,29 +0,0 @@ - - - - - -Personnaliser Eficas - - - - - -
-sous la directory $HOME/.eficas_install, dans le fichier editeur_salome.ini, l'utilisateur peut redefinir les variables suivantes : -:
-
exec_acrobat
Cette variable contient le chemin d 'acces au lecteur pdf. -
elle contient par exemple exec_acrobat = 'acroread'
-
savedir
Cette variable contient la directory initiale pour l ouverture de fichiers. -
elle contient par exemple savedir = '/local/noyret/Eficas_ASTER'
-
catalogue
-Cette variable permet de surcharger la liste des catalogues accessibles ou de changer le catalogue par defaut.
-C'est une liste de tuples (code,version,catalogue,formatOut avec éventuellement "defaut) -
Pour Code_Aster, elle sera par exemple de la forme :
-catalogues=[('ASTER','STA9.8', '/local/noyret/Eficas/Aster/Cata/cataSTA9', 'python'),
- ('ASTER','STA10.3', '/local/noyret/Eficas/Aster/Cata/cataSTA10', 'python'),
- ('ASTER','STA11', '/local/noyret/Eficas/Aster/Cata/cataSTA11', 'python', 'defaut')] -
-Attention : il est possible certes d ajouter un catalogue a la liste mais il est necessaire que la directory contienne -l'ensemble des elements constitutifs du catalogue ASTER : ops.py, macro, sd ... - diff --git a/Aide/fichiers_ASTER/faqs.txt b/Aide/fichiers_ASTER/faqs.txt deleted file mode 100644 index cb1a82d5..00000000 --- a/Aide/fichiers_ASTER/faqs.txt +++ /dev/null @@ -1,59 +0,0 @@ -
-------------------------------------------------------------------------------------------------------------- - FAQs et Limitations d'EFICAS -------------------------------------------------------------------------------------------------------------- - -
-
- -1. Mots réservés : -
- - Tous les mots du langage Python sont des mots réservés. - On ne peut donc pas appeler une variable ou un concept 'fin' ou 'dir' - Pour la liste complète de ces mots-clés, veuillez vous référer à la - documentation Python -
-
- -2. Concepts réentrants : -
- - Ne pas indiquer par un '&' devant son nom qu'un concept est utilisé comme - concept réentrant. En effet EFICAS le sait ! -

- -3. Carte commentaire : -
- - La carte commentaire est désormais le '#' (dièse) au lieu du '%' (pourcent) - Les commentaires sont gérés comme des objets de même niveau que les - commandes ; il n'est plus possible de placer des commentaires "dans" - une commande. Attention, lors de la traduction d'un fichier de version 5 - en 6, les commentaires "dans" les commandes seront perdus. - -

-4. Nommer le concept produit par un opérateur : -
- - Vous ne pouvez nommer le concept produit d'un opérateur que lorsque - celui-ci aura été entièrement et correctement rempli. - -

-5. Règle de rémanence dans les mots-clés facteurs répétés : - - La règle de rémanence qui permettait pour certains mots-clés facteurs - et pour certains de leurs mots-clés simples de ne pas répeter la valeur - de ces derniers dans toutes les occurrences du mot-clé facteur n'est pas - connue d'EFICAS. - En conséquence, vous devez répéter les mots-clés simples concernés dans - toutes les occurrences des mots-clés facteurs. - -

-6. Besoin d'aide ? -
- - La documentation d'utilisation d'EFICAS a pris un peu de retard sur le produit ... - Néanmoins, vous disposez sur la plupart des panneaux contextuels ( les panneaux à - droite de l'arbre) d'une aide en ligne que vous pouvez activer en maintenant le - bouton droit de votre souris enfoncé. diff --git a/Aide/fichiers_ASTER/includes.txt b/Aide/fichiers_ASTER/includes.txt deleted file mode 100644 index aadbb81d..00000000 --- a/Aide/fichiers_ASTER/includes.txt +++ /dev/null @@ -1,49 +0,0 @@ -Les macros INCLUDE, INCLUDE_MATERIAU et POURSUITE ont un fonctionnement spécial.
-Les concepts produits par ces macros sont obtenus par une interpretation séparée -du fichier de commandes correspondant. Les concepts produits sont ensuite inclus -dans le contexte du jeu de commandes principal.
-La mise à jour du jeu de commandes et de ses includes et poursuites -est presque complètement automatique. Cependant dans quelques cas particuliers -le mécanisme de mise à jour peut être pris en défaut. - -

-Les principes retenus sont les suivants : -

- -1- Un fichier invalide n'est pas du tout pris en compte meme si quelques -commandes de ce fichier sont valides -

- -2- Il est possible de visualiser (bouton droit de la souris sur l'icone de -la macro -> menu View) le contenu de ces types de macros. Le bouton (icone -loupe) permet de visualiser le source du fichier inclus. -

- -3- Les fichiers inclus sont mémorisés en fonction de leur UNITE -pour les INCLUDE, du nom de matériau pour les INCLUDE_MATERIAU et comme poursuite -pour une POURSUITE (il n'est pas possible d'avoir plus d'une POURSUITE par fichier). -ATTENTION : comme on s'appuie sur l'UNITE pour memoriser les fichers inclus il est -conseillé d'utiliser des numéros d'UNITE différents sinon la reactualisation sera -faite avec le meme fichier pour des INCLUDE différents. -

- -4- Pour changer les fichiers inclus, il faut passer par l'onglet FICHIER, modifier -le nom du fichier et appuyer sur le bouton Valider. Il est possible en passant par -cet onglet de forcer la prise en compte d'un fichier include partiellement valide -ce qui n'est pas possible lors de l'import initial. Pour changer un fichier INCLUDE -contenu dans un INCLUDE ou dans une POURSUITE, il faut editer l'INCLUDE ou la POURSUITE -englobante (voir 6.) et passer par l'onglet FICHIER. -

- -5- Le nom d'un fichier INCLUDE_MATERIAU est construit à partir des valeurs des mots-clés -de la commande, il n'est donc jamais demandé explicitement à l'utilisateur. - -

-6- Il est possible d'editer un fichier include ou poursuite. Pour cela, il suffit d'utiliser -l'entrée "Edit" du menu contextuel de l'étape en question (bouton droit de la souris). -Le fichier include ou poursuite en cours d'edition apparaitra dans un onglet distinct. -Les modifications dans un fichier include ou poursuite sont normalement propagées au fichier -principal et aux autres includes et poursuites. Il est cependant possible que quelques cas -tordus ne soient pas correctement traités. Dans le doute, une demande de rapport de validation -peut permettre de réactualiser l'état des différents fichiers. - diff --git a/Aide/fichiers_ASTER/index.html b/Aide/fichiers_ASTER/index.html deleted file mode 100644 index 500c7531..00000000 --- a/Aide/fichiers_ASTER/index.html +++ /dev/null @@ -1,19 +0,0 @@ - - - - -EFICAS - - - - -

EFICAS

-
- -

Evolution des versions -

Personnaliser Eficas -

FAQ -

Macros INCLUDE, INCLUDE_MATERIAU et POURSUITE - - - diff --git a/Aide/fichiers_OPENTURNS_STUDY/CMakeLists.txt b/Aide/fichiers_OPENTURNS_STUDY/CMakeLists.txt deleted file mode 100644 index f5e9dc02..00000000 --- a/Aide/fichiers_OPENTURNS_STUDY/CMakeLists.txt +++ /dev/null @@ -1,34 +0,0 @@ -# -*- coding: utf-8 -*- -# CONFIGURATION MANAGEMENT OF EDF VERSION -# ====================================================================== -# COPYRIGHT (C) 2007 - 2012 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM 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 -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# -# -# ====================================================================== - -# Installation des fichiers d'aide : Open TURNS -if (WITH_OPENTURNS) - install ( DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} - DESTINATION ${CMAKE_INSTALL_PREFIX}/Aide - FILES_MATCHING PATTERN *.txt PATTERN *.html - PATTERN CMakeLists.txt EXCLUDE - PATTERN CVS EXCLUDE - ) -endif (WITH_OPENTURNS) - -### Local Variables: -### mode: cmake -### End: diff --git a/Aide/fichiers_OPENTURNS_STUDY/EficasGui.txt b/Aide/fichiers_OPENTURNS_STUDY/EficasGui.txt deleted file mode 100644 index b6a6ad18..00000000 --- a/Aide/fichiers_OPENTURNS_STUDY/EficasGui.txt +++ /dev/null @@ -1,38 +0,0 @@ - - - - What is the EFICAS Graphical User Interface? - - -

- What is the EFICAS Graphical User Interface? -

- -
-EFICAS is an open source software which proposes a graphical user interface to OpenTURNS.
-EFICAS enables to the User to lead an uncertainty study without having to learn the python statements.
-
-Eficas is structured in two parts :
-
    -
  • 1. Part 1 defines the calculus function (the wrapper definition);
  • -
  • 2. Part 2 defines the uncertainty study using a previously defined model.
  • -
-note that Part 1 must be fulfilled before Part 2.
-
-
-It has been made with the following objectives : -
    -
  • 1. to ease the use of Open TURNS, avoiding to the User writing the python statements;
  • -
  • 2. to ease the learning of the python statements by generating the python script after the study has been graphically defined.
  • -
-
-
-When used, the EFICAS GUI generates :
- -
  • 1. the file.comm which contains all the information declared in the EFICAS GUI.
  • -
  • 2. the file.py which is the python script associated to the study and that can be launched through a python session.
  • - - - - - diff --git a/Aide/fichiers_OPENTURNS_STUDY/UncertaintyStudy.txt b/Aide/fichiers_OPENTURNS_STUDY/UncertaintyStudy.txt deleted file mode 100644 index e3635625..00000000 --- a/Aide/fichiers_OPENTURNS_STUDY/UncertaintyStudy.txt +++ /dev/null @@ -1,190 +0,0 @@ - - - - DEFINITION OF THE UNCERTAINTY STUDY - - - - -

    - DEFINITION OF THE UNCERTAINTY STUDY -

    - - -

    -Limitations of the EFICAS GUI
    -

    -EFICAS version 2.0 has the following limitations : -