From 8776f8aad1f0b96793454b3d11c18d214d787a0e Mon Sep 17 00:00:00 2001 From: "pascale.noyret" Date: Tue, 23 Oct 2018 13:58:44 +0200 Subject: [PATCH] menage --- Adao/README_CATALOGUE.txt | 4 - CMakeLists.txt | 157 --- CMakeModules/FindOpenTURNS.cmake | 235 ---- CMakeModules/FindSphinx.cmake | 11 - MAP/CMakeLists.txt | 35 - Telemac/.monCode_Cata.py.swp | Bin 12288 -> 0 bytes Telemac/CMakeLists.txt | 31 - 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/transforme/ReadMe | 10 - VirtualPolymer/VP | 5 - VirtualPolymer/editor.py.ssVP | 1879 ---------------------------- boundary_conditions/CMakeLists.txt | 32 - mascaret/CMakeLists.txt | 31 - 16 files changed, 5006 deletions(-) delete mode 100644 Adao/README_CATALOGUE.txt delete mode 100644 CMakeLists.txt delete mode 100644 CMakeModules/FindOpenTURNS.cmake delete mode 100644 CMakeModules/FindSphinx.cmake delete mode 100644 MAP/CMakeLists.txt delete mode 100644 Telemac/.monCode_Cata.py.swp delete mode 100644 Telemac/CMakeLists.txt 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/transforme/ReadMe delete mode 100644 VirtualPolymer/VP delete mode 100755 VirtualPolymer/editor.py.ssVP delete mode 100644 boundary_conditions/CMakeLists.txt delete mode 100644 mascaret/CMakeLists.txt 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/CMakeLists.txt b/CMakeLists.txt deleted file mode 100644 index 164af95d..00000000 --- a/CMakeLists.txt +++ /dev/null @@ -1,157 +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. -# -# -# ====================================================================== - -cmake_minimum_required ( VERSION 2.8 ) - -project ( Eficas CXX C ) - -# Definition du chemin d'acces aux modules additionnels -set ( CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/CMakeModules" ) - -# Detection de Python -find_package ( PythonInterp REQUIRED ) -if (PYTHONINTERP_FOUND) - string ( RANDOM tmpPyScript ) - set ( tmpPyScript "${tmpPyScript}.py" ) - file ( WRITE ${tmpPyScript} -"# Automaticaly generated by CMake. Do NOT edit. Changes will be lost -import sys -print ('%d.%d' % ( sys.version_info[0], sys.version_info[1] )) -" ) - get_source_file_property ( PYSCRIPT_LOC ${tmpPyScript} LOCATION ) - execute_process ( COMMAND ${PYTHON_EXECUTABLE} ${PYSCRIPT_LOC} - OUTPUT_VARIABLE PYTHON_VERSION - #ERROR_QUIET - OUTPUT_STRIP_TRAILING_WHITESPACE ) - file ( REMOVE ${tmpPyScript} ) -endif (PYTHONINTERP_FOUND) -message ( STATUS "Using Python version ${PYTHON_VERSION}" ) -# Detection de QT5 -find_package ( Qt5 COMPONENTS Core REQUIRED ) - -FIND_PACKAGE(Qt5LinguistTools) -GET_TARGET_PROPERTY(QT_LRELEASE_EXECUTABLE Qt5::lrelease LOCATION) -MARK_AS_ADVANCED(QT_LRELEASE_EXECUTABLE) - -# Detection de PyQt5 -if (NOT PYQT5_FOUND) - execute_process ( COMMAND ${PYTHON_EXECUTABLE} -c "\"import PyQt5\"" - RESULT_VARIABLE _res - OUTPUT_VARIABLE _trashout - ERROR_VARIABLE _trasherr - ) - if (NOT _res) - message ( STATUS "Looking for Python package PyQt5 - found" ) - set ( PYQT5_FOUND 1 CACHE INTERNAL "True if Python package PyQt5 is here" ) - else (NOT _res) - message ( STATUS "Looking for Python package PyQt5 - not found" ) - set ( PYQT5_FOUND 0 CACHE INTERNAL "True if Python package PyQt5 is here" ) - endif (NOT _res) -endif (NOT PYQT5_FOUND) - -if (NOT PYQT5_FOUND) - message ( FATAL_ERROR "Python package PyQt5 is REQUIRED" ) -endif (NOT PYQT5_FOUND) - -# Detection de PYUIC5 -find_program ( PYUIC5 NAMES pyuic5 - DOC "Path to the pyuic5 compilation tool" - ) -if (NOT PYUIC5) - message ( FATAL_ERROR "pyuic5 tool is REQUIRED" ) -endif (NOT PYUIC5) - -# Definition des options de CMake -option ( WITH_ALL_PACKAGES "Install all package files" OFF ) -option ( WITH_CARMEL "Install CARMEL files" OFF ) -option ( WITH_SEP "Install SEP files" OFF ) -option ( WITH_ZCRACKS "Install ZCRACKS files" OFF ) -option ( WITH_TELEMAC_CATA "Install TELEMAC files" OFF ) -option ( IN_SALOME_CONTEXT "Configure Eficas for use in Salome" OFF ) - -set ( _OPTIONLIST - WITH_CARMEL - WITH_TELEMAC_CATA - ) - -if (WITH_ALL_PACKAGES) - foreach ( _opt ${_OPTIONLIST} ) - set ( ${_opt} ON ) - endforeach ( _opt ) -endif (WITH_ALL_PACKAGES) - - -# Verification: au moins une option doit etre selectionnee -set ( _VALIDOPT FALSE ) -foreach ( _opt ${_OPTIONLIST} ) - if ( ${_opt} ) - set ( _VALIDOPT TRUE ) - string ( REPLACE WITH_ "" _opt2 ${_opt} ) - message ( STATUS "Will install package ${_opt2}" ) - endif ( ${_opt} ) -endforeach ( _opt ) -if ( NOT ${_VALIDOPT} ) - message ( FATAL_ERROR "At least one option within ${_OPTIONLIST} must be selected" ) -endif ( NOT ${_VALIDOPT} ) - - - -# Parcours recursif des sous-repertoires -add_subdirectory ( Accas ) -add_subdirectory ( Aide ) -add_subdirectory ( Editeur ) -add_subdirectory ( Efi2Xsd ) -add_subdirectory ( Extensions ) -add_subdirectory ( Ihm ) -install ( DIRECTORY InterfaceQT4 DESTINATION ${CMAKE_INSTALL_PREFIX} ) -add_subdirectory ( Noyau ) -add_subdirectory ( UiQT5 ) -add_subdirectory ( Validation ) -add_subdirectory ( convert ) -add_subdirectory ( generator ) -add_subdirectory ( Traducteur ) - - -# Installation des fichiers : CARMEL -if (WITH_CARMEL) - add_subdirectory ( Carmel3D ) - add_subdirectory ( CarmelCND ) - add_subdirectory ( CarmelCS ) -endif (WITH_CARMEL) - - -# Installation des fichiers : ZCracks -if (WITH_ZCRACKS) - add_subdirectory ( ZCracks ) -endif (WITH_ZCRACKS) - -# Installation des fichiers : Telemac -if (WITH_TELEMAC_CATA) - add_subdirectory ( Telemac ) -endif (WITH_TELEMAC_CATA) - -if (BUILD_DOC) - add_subdirectory ( Doc ) -endif (BUILD_DOC) - -### Local Variables: -### mode: cmake -### End: diff --git a/CMakeModules/FindOpenTURNS.cmake b/CMakeModules/FindOpenTURNS.cmake deleted file mode 100644 index c16a56e6..00000000 --- a/CMakeModules/FindOpenTURNS.cmake +++ /dev/null @@ -1,235 +0,0 @@ -# - Try to find OpenTURNS -# Once done this will define -# -# OpenTURNS_FOUND - system has OT -# OpenTURNS_INCLUDE_DIR - the OT include directory -# OpenTURNS_INCLUDE_DIRS - the OT include directory and dependencies include directories -# OpenTURNS_LIBRARY - Where to find the OT library -# OpenTURNS_LIBRARIES - Link these to use OT -# OpenTURNS_WRAPPER_DIR - Wrappers directory -# OpenTURNS_WRAPPER_DEFINITIONS - Compiler switches required for using OT wrapper -# OpenTURNS_MODULE_DIR - OT module directory -# OpenTURNS_MODULE_DEFINITIONS - Compiler switches required for using OT module -# OpenTURNS_SWIG_INCLUDE_DIR - the OT include directory to swig interface -# -# Copyright (c) 2009 Mathieu Lapointe -# Copyright (c) 2010 Julien Schueller -# -# Redistribution and use is allowed according to the terms of the New -# BSD license. -# For details see the accompanying COPYING-CMAKE-SCRIPTS file. -# - -include (CheckFunctionExists) -include (CheckIncludeFile) -include (CheckIncludeFileCXX) -include (FindPackageHandleStandardArgs) - -# check dependencies -find_package(LibXml2 2.6.27) -find_package(PythonLibs ${PYTHON_VERSION}) - -# test if variables are not already in cache -if (NOT (OpenTURNS_INCLUDE_DIR - AND OpenTURNS_SWIG_INCLUDE_DIR - AND OpenTURNS_INCLUDE_DIRS - AND OpenTURNS_LIBRARY - AND OpenTURNS_LIBRARIES - AND OpenTURNS_WRAPPER_DIR - AND OpenTURNS_PYTHON_MODULE_DIR - AND OpenTURNS_MODULE_DIR)) - - # set include dir - if (NOT OpenTURNS_INCLUDE_DIR) - find_path (OpenTURNS_INCLUDE_DIR - NAMES - OT.hxx - HINTS - ${OPENTURNS_DIR} - /usr - /usr/local - /opt - PATH_SUFFIXES - include/openturns - DOC - "OpenTURNS include directory" - ) - endif () - - # set swig include dir - if (NOT OpenTURNS_SWIG_INCLUDE_DIR) - set(OpenTURNS_SWIG_INCLUDE_DIR "${OpenTURNS_INCLUDE_DIR}/swig") - endif () - - # dependencies includes - if (NOT OpenTURNS_INCLUDE_DIRS) - set (OpenTURNS_INCLUDE_DIRS ${OpenTURNS_INCLUDE_DIR}) - list (APPEND OpenTURNS_INCLUDE_DIRS ${LIBXML2_INCLUDE_DIR}) - list (APPEND OpenTURNS_INCLUDE_DIRS ${PYTHON_INCLUDE_DIRS}) - endif () - - # check for library directory - if (NOT OpenTURNS_LIBRARY) - find_library (OpenTURNS_LIBRARY - NAMES - OT - HINTS - ${OPENTURNS_DIR} - /usr - /usr/local - /opt - PATH_SUFFIXES - lib/openturns - DOC - "OpenTURNS library location" - ) - endif () - - # find dependent libraries - if (NOT OpenTURNS_LIBRARIES) - set (OpenTURNS_LIBRARIES ${OpenTURNS_LIBRARY} ${LIBXML2_LIBRARIES} ${PYTHON_LIBRARIES}) - list (APPEND OpenTURNS_LIBRARIES ${LIBXML2_LIBRARIES}) - list (APPEND OpenTURNS_LIBRARIES ${PYTHON_LIBRARIES}) - endif () - - # retrieve path to lib - get_filename_component (OpenTURNS_LIBRARY_PATH ${OpenTURNS_LIBRARY} PATH) - - # retrieve install path - set (OpenTURNS_INSTALL_PATH "${OpenTURNS_LIBRARY_PATH}/../..") - - # find wrappers dir - if (NOT OpenTURNS_WRAPPER_DIR) - find_path (OpenTURNS_WRAPPER_DIR - NAMES - wrapper.xml wrapper.dtd - HINTS - ${OPENTURNS_DIR} - ${OpenTURNS_INSTALL_PATH} - /usr - /usr/local - /opt - PATH_SUFFIXES - share/openturns/wrappers - DOC - "OpenTURNS wrappers location" - ) - endif () - - # set wrapper definitions - if (NOT OpenTURNS_WRAPPER_DEFINITIONS) - set(OpenTURNS_WRAPPER_DEFINITIONS) - check_include_file_cxx (pthread.h HAVE_PTHREAD_H) - if (HAVE_PTHREAD_H) - list (APPEND OpenTURNS_WRAPPER_DEFINITIONS -DHAVE_PTHREAD_H) - endif () - endif () - - # find python module dir - if (NOT OpenTURNS_PYTHON_MODULE_DIR) - find_path (OpenTURNS_PYTHON_MODULE_DIR - NAMES - openturns.pth - HINTS - ${OPENTURNS_DIR} - ${OpenTURNS_INSTALL_PATH} - /usr - /usr/local - /opt - PATH_SUFFIXES - lib/python${PYTHON_VERSION}/site-packages - DOC - "OpenTURNS python module location" - ) - endif () - - - # find module directory - if (NOT OpenTURNS_MODULE_DIR) - set (OpenTURNS_MODULE_DIR - ${OpenTURNS_LIBRARY_PATH}/module - ) - endif () - - # set module definitions - if (NOT OpenTURNS_MODULE_DEFINITIONS) - set (OpenTURNS_MODULE_DEFINITIONS) - - # check for STDC_HEADERS - check_include_file (stdlib.h HAVE_STDLIB_H) - check_include_file (stdarg.h HAVE_STDARG_H) - check_include_file (string.h HAVE_STRING_H) - check_include_file (float.h HAVE_FLOAT_H) - check_function_exists (memchr HAVE_MEMCHR) - check_function_exists (free HAVE_FREE) - check_include_file (ctype.h HAVE_CTYPE_H) - if(HAVE_STDLIB_H AND HAVE_STDARG_H AND HAVE_STRING_H AND HAVE_FLOAT_H AND HAVE_MEMCHR AND HAVE_FREE AND HAVE_CTYPE_H) - list (APPEND OpenTURNS_MODULE_DEFINITIONS -DSTDC_HEADERS_H=1) - else () - list (APPEND OpenTURNS_MODULE_DEFINITIONS -DSTDC_HEADERS_H=0) - endif () - - # this macro checks a header and defines the corresponding macro - macro(check_include_files_define_macro header_file) - # get macro name from header_file - string(TOUPPER ${header_file} macro_name) - string(REGEX REPLACE "[/.]" "_" macro_name ${macro_name}) - set(macro_name HAVE_${macro_name}) - # check for header - check_include_file(${header_file} ${macro_name}) - # define macro - if(${macro_name}) - list (APPEND OpenTURNS_MODULE_DEFINITIONS -D${macro_name}=1) - else() - list (APPEND OpenTURNS_MODULE_DEFINITIONS -D${macro_name}=0) - endif() - endmacro() - - # check for some headers - check_include_files_define_macro(sys/types.h) - check_include_files_define_macro(sys/stat.h) - check_include_files_define_macro(stdlib.h) - check_include_files_define_macro(string.h) - check_include_files_define_macro(memory.h) - check_include_files_define_macro(strings.h) - check_include_files_define_macro(inttypes.h) - check_include_files_define_macro(stdint.h) - check_include_files_define_macro(unistd.h) - check_include_files_define_macro(dlfcn.h) - check_include_files_define_macro(stdbool.h) - check_include_files_define_macro(regex.h) - - endif () - -endif () - -# handle the QUIETLY and REQUIRED arguments and set OpenTURNS_FOUND to TRUE if -# all listed variables are TRUE -find_package_handle_standard_args (OpenTURNS DEFAULT_MSG - OpenTURNS_LIBRARY - OpenTURNS_INCLUDE_DIR - OpenTURNS_SWIG_INCLUDE_DIR - OpenTURNS_INCLUDE_DIRS - OpenTURNS_LIBRARIES - OpenTURNS_WRAPPER_DIR - OpenTURNS_PYTHON_MODULE_DIR - OpenTURNS_MODULE_DIR -) - -mark_as_advanced ( - OpenTURNS_LIBRARY - OpenTURNS_INCLUDE_DIR - OpenTURNS_SWIG_INCLUDE_DIR - OpenTURNS_INCLUDE_DIRS - OpenTURNS_LIBRARIES - OpenTURNS_WRAPPER_DIR - OpenTURNS_WRAPPER_DEFINITIONS - OpenTURNS_MODULE_DIR - OpenTURNS_PYTHON_MODULE_DIR - OpenTURNS_MODULE_DEFINITIONS -) - - -### Local Variables: -### mode: cmake -### End: diff --git a/CMakeModules/FindSphinx.cmake b/CMakeModules/FindSphinx.cmake deleted file mode 100644 index fa0bc8e9..00000000 --- a/CMakeModules/FindSphinx.cmake +++ /dev/null @@ -1,11 +0,0 @@ -find_program(SPHINX_EXECUTABLE NAMES sphinx-build - HINTS - $ENV{SPHINX_DIR} - PATH_SUFFIXES bin - DOC "Sphinx documentation generator" -) -include(FindPackageHandleStandardArgs) -find_package_handle_standard_args(Sphinx DEFAULT_MSG - SPHINX_EXECUTABLE -) -mark_as_advanced(SPHINX_EXECUTABLE) diff --git a/MAP/CMakeLists.txt b/MAP/CMakeLists.txt deleted file mode 100644 index f65a4429..00000000 --- a/MAP/CMakeLists.txt +++ /dev/null @@ -1,35 +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. -# -# -# ====================================================================== - - -install ( FILES qtEficas_map.py - prefs.py - style.py - prefs_MAP.py - configuration_MAP.py - mapcata.py - DESTINATION ${CMAKE_INSTALL_PREFIX}/MAP - ) - - -### Local Variables: -### mode: cmake -### End: diff --git a/Telemac/.monCode_Cata.py.swp b/Telemac/.monCode_Cata.py.swp deleted file mode 100644 index 6d2dd1817ae229751d6ee06384a204b4edb5fe83..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 12288 zcmeHN&5zqe6rTbu6eu8y)ax__*;$!(la-)sWmKh#5vRf6X!LVo^iyLIgPHS*4BLX?+YSgxYn?{VU=QmHI2XEGKHesd`Bl;+2Y z?RggK_BwWav2tou=?A_VIPR&uv{XB>Plh`SWb!V~0B7J{88|{#s+Hw*^oi1Odi3e` zy-wugI0Kvk&H!hCGr$?(3~&ZG1Dt{X0Ru^RfZT!|59GF}d3j)}%wKuI8Q=_X1~>zp z0nPwtfHS}u;0$mEI0Kvk&cJ_=0ox(u!v_hu^AMEB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0>Y1Zm@el@e zBSG_p>?J^=ZS44L{AKYx&Zt$SR9HQ=L3HMBG)z=7YqVH>t;XOG6?g)xravpf%y9RH z+vx|+z{?Mf^NtGj&#$YNs+bCHAr7u#b)|_r3z@pVVcg_>ZY(@xZ}?(j{^NS4XGkZ?Dop J(tZ9k`5P+$Bvk+a diff --git a/Telemac/CMakeLists.txt b/Telemac/CMakeLists.txt deleted file mode 100644 index 3247b3c2..00000000 --- a/Telemac/CMakeLists.txt +++ /dev/null @@ -1,31 +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. -# -# -# ====================================================================== - - -install ( FILES aideAuxConvertisseurs.py configuration_TELEMAC.py dicoCasEnToCata.py dicoCasFrToCata.py enum_Telemac2d_auto.py prefs.py prefs_TELEMAC.py properties.py qtEficas_Telemac.py Telemac2d_Cata_auto.py labelCataToIhm_en.qm labelCataToIhm_fr.qm - DESTINATION ${CMAKE_INSTALL_PREFIX}/Telemac - ) - - - -### Local Variables: -### mode: cmake -### End: diff --git a/Telemac/labelCataToIhm_en.qm b/Telemac/labelCataToIhm_en.qm deleted file mode 100644 index 05ca84d2043681de86f6b9584318831d69dc94c4..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 33465 zcmb__3wT`Bb?(;tHIi&SELnaa%d#yCTNq=Ed4w>U8A*djGh!aHTF6I8Zn$Ym(&lAI373*w2$ui}x&OcSIs2TM zv(L;JKp!4yG-s`~*Iw_n_SPAX?CAXNZ*M*Fy(J5uxZo?__|HKh>h2a*kM|03>42zu zWuFj-nnmEchlCh7D&|%{CB%iRMf)vx3bF4wF|Y3tAy%#uU0XgO#O~+BinHDmV(+iT zn%e>Alz$cB%65GIVKF?rU5LoNA~k%C5NDn$HvgsypT9$F-MvhRd6$S!ANQaTV}B5z zc_ku5dtBVz{hAQjXT?Lm!q4NUi0?dnix5i&#j|CA7g!>my&^2cn!gnP@yG*0Our$1 zdEfsOV%e5GVYg?BFfaLM*+j?8?`l7vkiavcLK1tPqW_m3=X^Rfx&fvai-u2(fx)+1Kii z;Q4pT9{RyqLhSnYvacUW3GuNP%bsYsOo$cNmVNh=6GEKSQ1+9jmk7~yd)X_$$bhca zvj5)ED#Y?Y`8)wW49zR=z8Lh^eXe}z<@ouc+sgZ216>EsD?jOU@Nx9?@{z08Vcowe zzu<)DglO4WzWrx!fRC4!?-VbAkJ0kkTb~r-U`P4EE2e}L~SpJn?e@}>>N6H_+`D!7~d#?P6c09LxPWcmkSa;un^5?#N zCq8#x`KzDBx;x)1|9?#<3sLcJ6;*NI>zS-*Kkc_d^iNgHd!R~)hR;^a`^|T-Z!Hxa zHQ3LPcV`7PL&?Qc{r>WBR8 zn5jJRHvF9Ver4oc(7ET?%Dv(3kgtEQJb2^~=y|>JFTRG)ZTV*9U#|c^!+)+k+=cyG zeNpA%RW}K7{NBo&A3q?(IgeG|^XfA~%>Py8>ze^@XS(wD-`EYfiORQscoO9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KTn6qalFkr0w}C(=6kvLj9Fm zK$6jw-myw^b%J|ihhgNL;~%&;X6xTBgE4Iyd@X+IupP^8gl(|qwPFjXMWx+Yp!u4$ zHhho{OsRD~C+p?kmhdS!oTVSlpHCsjR1u=Ii(R{k#=c|(!B~-dUa!HQB`z;3`~Pl0 Bpojnf diff --git a/Telemac/labelCataToIhm_en.ts b/Telemac/labelCataToIhm_en.ts deleted file mode 100644 index 6f244f81..00000000 --- a/Telemac/labelCataToIhm_en.ts +++ /dev/null @@ -1,1240 +0,0 @@ - - @default - - COEFFICIENT_TO_CALIBRATE_TIDAL_VELOCITIES - Coefficient to calibrate tidal velocities - - - COST_FUNCTION - Cost function - - - BOTTOM_TOPOGRAPHY_FILE - Bottom topography file - - - DENSITY_OF_ALGAE - Density of algae - - - STEERING_FILE - Steering file - - - NUMBER_OF_CORRECTIONS_OF_DISTRIBUTIVE_SCHEMES - Number of corrections of distributive schemes - - - LONGITUDE_OF_ORIGIN_POINT - Longitude of origin point - - - PREVIOUS_COMPUTATION_FILE - Previous computation file - - - DIAMETER_OF_ROUGHNESS_ELEMENTS - Diameter of roughness elements - - - THICKNESS_OF_ALGAE - Thickness of algae - - - CORIOLIS - Coriolis - - - OPTION_FOR_TIDAL_BOUNDARY_CONDITIONS - Option for tidal boundary conditions - - - NUMBER_OF_TIME_STEPS - Number of time steps - - - ADVECTION - Advection - - - NEWMARK_TIME_INTEGRATION_COEFFICIENT - Newmark time integration coefficient - - - TIME_STEP - Time step - - - VALUE_OF_ATMOSPHERIC_PRESSURE - Value of atmospheric pressure - - - LISTING_FOR_PRINTOUT_PERIOD - Listing for printout period - - - BINARY_DATABASE_2_FOR_TIDE - Binary database 2 for tide - - - VOLUMES_DELWAQ_FILE - Volumes DELWAQ file - - - DESCRIPTION_OF_LIBRARIES - Description of libraries - - - STOP_IF_A_STEADY_STATE_IS_REACHED - Stop if a steady state is reached - - - SALINITY_DELWAQ_FILE - Salinity DELWAQ file - - - IMPLICITATION_FOR_DEPTH - Implicitation for depth - - - DROGUES_FILE - Drogues file - - - TEMPERATURE_FOR_DELWAQ - Temperature for DELWAQ - - - BLOBAL_NUMBERS_OF_SOURCE_NODES - Blobal numbers of source nodes - - - INITIAL_DEPTH - Initial depth - - - IDENTIFICATION_METHOD - Identification method - - - COEFFICIENT_FOR_DIFFUSION_OF_TRACERS - Coefficient for diffusion of tracers - - - VELOCITY_DIFFUSIVITY - Velocity diffusivity - - - VECTOR_LENGTH - Vector length - - - GRAPHIC_PRINTOUT_PERIOD - Graphic printout period - - - LINEARIZED_PROPAGATION - Linearized propagation - - - PRECONDITIONING - Preconditioning - - - MANNING_DEFAULT_VALUE_FOR_COLEBROOK_WHITE_LAW - Manning default value for colebrook-white law - - - PRINTOUT_PERIOD_FOR_DROGUES - Printout period for drogues - - - DURATION_OF_RAIN_OR_EVAPORATION_IN_HOURS - Duration of rain or evaporation in hours - - - DEBUGGER - Debugger - - - DICTIONARY - Dictionary - - - SIPHONS_DATA_FILE - Siphons data file - - - WATER_DISCHARGE_OF_SOURCES - Water discharge of sources - - - ADVECTION_OF_U_AND_V - Advection of U and V - - - ANTECEDENT_MOISTURE_CONDITIONS - Antecedent moisture conditions - - - DIFFUSION_OF_VELOCITY - Diffusion of velocity - - - WATER_DENSITY - Water density - - - ORIGIN_COORDINATES - Origin coordinates - - - LATITUDE_OF_ORIGIN_POINT - Latitude of origin point - - - PRESCRIBED_TRACERS_VALUES - Prescribed tracers values - - - MAXIMUM_NUMBER_OF_ITERATIONS_FOR_SOLVER - Maximum number of iterations for solver - - - FLUXLINE - Fluxline - - - TIDE_GENERATING_FORCE - Tide generating force - - - VELOCITY_FOR_DELWAQ - Velocity for DELWAQ - - - PARALLEL_PROCESSORS - Parallel processors - - - ROUGHNESS_COEFFICIENT_OF_BOUNDARIES - Roughness coefficient of boundaries - - - RAINFALL_RUNOFF_MODEL - Rainfall-runoff model - - - PSI_SCHEME_OPTION - Psi scheme option - - - SCHEME_OPTION_FOR_ADVECTION_OF_VELOCITIES - Scheme option for advection of velocities - - - INITIAL_CONDITIONS - Initial conditions - - - INITIAL_TIME_SET_TO_ZERO - Initial time set to zero - - - NUMBER_OF_SUB_ITERATIONS_FOR_NON_LINEARITIES - Number of sub-iterations for non-linearities - - - OPTION_FOR_THE_DIFFUSION_OF_TRACERS - Option for the diffusion of tracers - - - CULVERTS_DATA_FILE - Culverts data file - - - ACCURACY_OF_EPSILON - Accuracy of epsilon - - - MAXIMUM_NUMBER_OF_ITERATIONS_FOR_DIFFUSION_OF_TRACERS - Maximum number of iterations for diffusion of tracers - - - MASS_LUMPING_ON_VELOCITY - Mass-lumping on velocity - - - FRICTION_DATA_FILE - Friction data file - - - SCHEME_FOR_ADVECTION_OF_K_EPSILON - Scheme for advection of K-epsilon - - - SOLVER_ACCURACY - Solver accuracy - - - NAMES_OF_POINTS - Names of points - - - TOMAWAC_STEERING_FILE - TOMAWAC steering file - - - BOUNDARY_CONDITIONS_FILE - Boundary conditions file - - - STOP_CRITERIA - Stop criteria - - - BINARY_RESULTS_FILE_FORMAT - Binary results file format - - - TEMPERATURE_DELWAQ_FILE - Temperature DELWAQ file - - - PROPAGATION - Propagation - - - FINITE_VOLUME_SCHEME - Finite volume scheme - - - IMPLICITATION_COEFFICIENT_OF_TRACERS - Implicitation coefficient of tracers - - - CORIOLIS_COEFFICIENT - Coriolis coefficient - - - PRESCRIBED_FLOWRATES - Prescribed flowrates - - - TURBULENCE_MODEL - Turbulence model - - - NUMBER_OF_FIRST_TIME_STEP_FOR_LISTING_PRINTOUTS - Number of first time step for listing printouts - - - PRINTING_CUMULATED_FLOWRATES - Printing cumulated flowrates - - - NUMBER_OF_FIRST_TIME_STEP_FOR_GRAPHIC_PRINTOUTS - Number of first time step for graphic printouts - - - PHYSICAL_CHARACTERISTICS_OF_THE_TSUNAMI - Physical characteristics of the tsunami - - - MASS_BALANCE - Mass-balance - - - BINARY_DATABASE_1_FOR_TIDE - Binary database 1 for tide - - - SOURCES_FILE - Sources file - - - LAW_OF_TRACERS_DEGRADATION - Law of tracers degradation - - - SECTIONS_INPUT_FILE - Sections input file - - - CONTROL_SECTIONS - Control sections - - - SOLVER_FOR_DIFFUSION_OF_TRACERS - Solver for diffusion of tracers - - - RESULTS_FILE_FORMAT - Results file format - - - SECONDARY_CURRENTS - Secondary currents - - - OPTION_FOR_INITIAL_ABSTRACTION_RATIO - Option for initial abstraction ratio - - - TYPE_OF_WEIRS - Type of weirs - - - NUMBER_OF_SUB_STEPS_OF_DISTRIBUTIVE_SCHEMES - Number of sub-steps of distributive schemes - - - SPACING_OF_ROUGHNESS_ELEMENTS - Spacing of roughness elements - - - SCHEME_OPTION_FOR_ADVECTION_OF_K_EPSILON - Scheme option for advection of K-epsilon - - - COUPLING_WITH - Coupling with - - - LISTING_PRINTOUT_PERIOD - Listing printout period - - - THRESHOLD_DEPTH_FOR_WIND - Threshold depth for wind - - - VELOCITY_PROFILES - Velocity profiles - - - ALGAE_TYPE - Algae type - - - TREATMENT_OF_FLUXES_AT_THE_BOUNDARIES - Treatment of fluxes at the boundaries - - - MINOR_CONSTITUENTS_INFERENCE - Minor constituents inference - - - STAGE_DISCHARGE_CURVES - Stage-discharge curves - - - GLOBAL_NUMBER_OF_THE_POINT_TO_CALIBRATE_HIGH_WATER - Global number of the point to calibrate high water - - - RAIN_OR_EVAPORATION_IN_MM_PER_DAY - Rain or evaporation in mm per day - - - REFERENCE_FILE_FORMAT - Reference file format - - - SALINITY_FOR_DELWAQ - Salinity for DELWAQ - - - DIFFUSIVITY_FOR_DELWAQ - Diffusivity for DELWAQ - - - BOTTOM_SURFACES_DELWAQ_FILE - Bottom surfaces DELWAQ file - - - FORMATTED_DATA_FILE_1 - Formatted data file 1 - - - FORMATTED_DATA_FILE_2 - Formatted data file 2 - - - COMPUTATION_CONTINUED - Computation continued - - - RECORD_NUMBER_IN_WAVE_FILE - Record number in wave file - - - C_U_PRECONDITIONING - C-U preconditioning - - - LIST_OF_POINTS - List of points - - - TYPE_OF_ADVECTION - Type of advection - - - WIND_VELOCITY_ALONG_X - Wind velocity along X - - - WIND_VELOCITY_ALONG_Y - Wind velocity along Y - - - TOLERANCES_FOR_IDENTIFICATION - Tolerances for identification - - - PREVIOUS_COMPUTATION_FILE_FORMAT - Previous computation file format - - - DISCRETIZATIONS_IN_SPACE - Discretizations in space - - - BINARY_ATMOSPHERIC_DATA_FILE - Binary atmospheric data file - - - BINARY_RESULTS_FILE - Binary results file - - - EXCHANGES_BETWEEN_NODES_DELWAQ_FILE - Exchanges between nodes DELWAQ file - - - CONTINUITY_CORRECTION - Continuity correction - - - SCHEME_FOR_ADVECTION_OF_VELOCITIES - Scheme for advection of velocities - - - EXCHANGE_AREAS_DELWAQ_FILE - Exchange areas DELWAQ file - - - SISYPHE_STEERING_FILE - Sisyphe steering file - - - IMPLICITATION_FOR_DIFFUSION_OF_VELOCITY - Implicitation for diffusion of velocity - - - ADVECTION_OF_K_AND_EPSILON - Advection of K and epsilon - - - FREE_SURFACE_GRADIENT_COMPATIBILITY - Free surface gradient compatibility - - - VALUES_OF_THE_TRACERS_AT_THE_SOURCES - Values of the tracers at the sources - - - NUMBER_OF_CULVERTS - Number of culverts - - - RELEASE - Release - - - AD_NAMES_OF_DERIVATIVES - Ad names of derivatives - - - LANGUAGE - Language - - - NAMES_OF_PRIVATE_VARIABLES - Names of private variables - - - PRECONDITIONING_FOR_DIFFUSION_OF_TRACERS - Preconditioning for diffusion of tracers - - - VALIDATION - Validation - - - NUMBER_OF_SIPHONS - Number of siphons - - - BINARY_ATMOSPHERIC_DATA_FILE_FORMAT - Binary atmospheric data file format - - - WEIRS_DATA_FILE - Weirs data file - - - IMPLICITATION_FOR_VELOCITY - Implicitation for velocity - - - DEFINITION_OF_ZONES - Definition of zones - - - LISTING_PRINTOUT - Listing printout - - - MEAN_DEPTH_FOR_LINEARIZATION - Mean depth for linearization - - - COUPLING_PERIOD_FOR_TOMAWAC - Coupling period for TOMAWAC - - - WAVE_ENHANCED_FRICTION_FACTOR - Wave enhanced friction factor - - - VARIABLES_FOR_GRAPHIC_PRINTOUTS - Variables for graphic printouts - - - DEPTH_IN_FRICTION_TERMS - Depth in friction terms - - - MASS_LUMPING_ON_H - Mass-lumping on H - - - NUMBER_OF_LAGRANGIAN_DRIFTS - Number of lagrangian drifts - - - NON_DIMENSIONAL_DISPERSION_COEFFICIENTS - Non-dimensional dispersion coefficients - - - FOURIER_ANALYSIS_PERIODS - Fourier analysis periods - - - VARIABLES_TO_BE_PRINTED - Variables to be printed - - - EQUATIONS - Equations - - - MAXIMUM_NUMBER_OF_ITERATIONS_FOR_IDENTIFICATION - Maximum number of iterations for identification - - - WIND - Wind - - - SPEED_AND_DIRECTION_OF_WIND - Speed and direction of wind - - - NAMES_OF_CLANDESTINE_VARIABLES - Names of clandestine variables - - - GEOMETRY_FILE_FORMAT - Geometry file format - - - NON_SUBMERGED_VEGETATION_FRICTION - Non-submerged vegetation friction - - - TYPE_OF_SOURCES - Type of sources - - - TIDAL_FLATS - Tidal flats - - - TITLE - Title - - - ORIGINAL_HOUR_OF_TIME - Original hour of time - - - LAW_OF_FRICTION_ON_LATERAL_BOUNDARIES - Law of friction on lateral boundaries - - - STAGE_DISCHARGE_CURVES_FILE - Stage-discharge curves file - - - DESIRED_COURANT_NUMBER - Desired courant number - - - DISSIPATION_COEFFICIENT_FOR_SECONDARY_CURRENTS - Dissipation coefficient for secondary currents - - - COUPLING_PERIOD_FOR_SISYPHE - Coupling period for sisyphe - - - ALGAE_TRANSPORT_MODEL - Algae transport model - - - ABSCISSAE_OF_SOURCES - Abscissae of sources - - - LIQUID_BOUNDARIES_FILE - Liquid boundaries file - - - VELOCITIES_OF_THE_SOURCES_ALONG_X - Velocities of the sources along X - - - VELOCITIES_OF_THE_SOURCES_ALONG_Y - Velocities of the sources along Y - - - MAXIMUM_NUMBER_OF_SOURCES - Maximum number of sources - - - SOLVER_OPTION_FOR_TRACERS_DIFFUSION - Solver option for tracers diffusion - - - INFORMATION_ABOUT_SOLVER - Information about solver - - - BINARY_DATA_FILE_1_FORMAT - Binary data file 1 format - - - DIAMETRE_OF_ALGAE - Diametre of algae - - - COUPLING_DIRECTORY - Coupling directory - - - DELWAQ_PRINTOUT_PERIOD - DELWAQ printout period - - - BOTTOM_SMOOTHINGS - Bottom smoothings - - - AIR_PRESSURE - Air pressure - - - PRESCRIBED_ELEVATIONS - Prescribed elevations - - - MASS_LUMPING_FOR_WEAK_CHARACTERISTICS - Mass-lumping for weak characteristics - - - GRAVITY_ACCELERATION - Gravity acceleration - - - LIMIT_VALUES - Limit values - - - RESULTS_FILE - Results file - - - SCHEME_OPTION_FOR_ADVECTION_OF_TRACERS - Scheme option for advection of tracers - - - OPTION_FOR_CHARACTERISTICS - Option for characteristics - - - OPTION_FOR_THE_TREATMENT_OF_TIDAL_FLATS - Option for the treatment of tidal flats - - - TIME_RANGE_FOR_FOURIER_ANALYSIS - Time range for fourier analysis - - - VERTICAL_FLUXES_DELWAQ_FILE - Vertical fluxes DELWAQ file - - - ORDINATES_OF_SOURCES - Ordinates of sources - - - MAXIMUM_NUMBER_OF_TRACERS - Maximum number of tracers - - - TURBULENCE_REGIME_FOR_SOLID_BOUNDARIES - Turbulence regime for solid boundaries - - - LOCAL_NUMBER_OF_THE_POINT_TO_CALIBRATE_HIGH_WATER - Local number of the point to calibrate high water - - - NODES_DISTANCES_DELWAQ_FILE - Nodes distances DELWAQ file - - - NUMBER_OF_DROGUES - Number of drogues - - - SOLVER_FOR_K_EPSILON_MODEL - Solver for K-Epsilon model - - - SECTIONS_OUTPUT_FILE - Sections output file - - - HARMONIC_CONSTANTS_FILE - Harmonic constants file - - - OPTION_FOR_CULVERTS - Option for culverts - - - ASCII_ATMOSPHERIC_DATA_FILE - ASCII atmospheric data file - - - INITIAL_ELEVATION - Initial elevation - - - ZERO - Zero - - - BREACHES_DATA_FILE - Breaches data file - - - OPTION_FOR_WIND - Option for wind - - - OPTION_OF_THE_HYDROSTATIC_RECONSTRUCTION - Option of the hydrostatic reconstruction - - - NUMBER_OF_TRACERS - Number of tracers - - - DIFFUSIVITY_DELWAQ_FILE - Diffusivity DELWAQ file - - - ADVECTION_OF_TRACERS - Advection of tracers - - - SOLVER_OPTION - Solver option - - - MATRIX_STORAGE - Matrix storage - - - COEFFICIENT_TO_CALIBRATE_TIDAL_RANGE - Coefficient to calibrate tidal range - - - BINARY_DATA_FILE_1 - Binary data file 1 - - - BINARY_DATA_FILE_2 - Binary data file 2 - - - CONTROL_OF_LIMITS - Control of limits - - - RECORD_NUMBER_FOR_RESTART - Record number for restart - - - NUMBER_OF_GAUSS_POINTS_FOR_WEAK_CHARACTERISTICS - Number of Gauss points for weak characteristics - - - COEFFICIENT_OF_WIND_INFLUENCE - Coefficient of wind influence - - - PRECONDITIONING_FOR_K_EPSILON_MODEL - Preconditioning for K-Epsilon model - - - PRODUCTION_COEFFICIENT_FOR_SECONDARY_CURRENTS - Production coefficient for secondary currents - - - MINIMUM_VALUE_OF_DEPTH - Minimum value of depth - - - ELEMENTS_MASKED_BY_USER - Elements masked by user - - - FRICTION_COEFFICIENT - Friction coefficient - - - PRESCRIBED_VELOCITIES - Prescribed velocities - - - NAMES_OF_TRACERS - Names of tracers - - - VELOCITY_DELWAQ_FILE - Velocity DELWAQ file - - - H_CLIPPING - H clipping - - - ZONE_NUMBER_IN_GEOGRAPHIC_SYSTEM - Zone number in geographic system - - - SUPG_OPTION - SUPG option - - - PARAMETER_ESTIMATION - Parameter estimation - - - CHECKING_THE_MESH - Checking the mesh - - - AD_NUMBER_OF_DERIVATIVES - Ad number of derivatives - - - COMPATIBLE_COMPUTATION_OF_FLUXES - Compatible computation of fluxes - - - LIST_OF_FILES - List of files - - - NUMBER_OF_PRIVATE_ARRAYS - Number of private arrays - - - MAXIMUM_NUMBER_OF_FRICTION_DOMAINS - Maximum number of friction domains - - - DURATION - Duration - - - DELWAQ_STEERING_FILE - DELWAQ steering file - - - COEFFICIENT_1_FOR_LAW_OF_TRACERS_DEGRADATION - Coefficient 1 for law of tracers degradation - - - ACCURACY_OF_K - Accuracy of K - - - WATER_QUALITY_PROCESS - Water quality process - - - ADVECTION_OF_H - Advection of H - - - SCHEME_FOR_ADVECTION_OF_TRACERS - Scheme for advection of tracers - - - BINARY_DATA_FILE_2_FORMAT - Binary data file 2 format - - - COEFFICIENT_TO_CALIBRATE_SEA_LEVEL - Coefficient to calibrate sea level - - - OPTION_FOR_THE_DIFFUSION_OF_VELOCITIES - Option for the diffusion of velocities - - - INITIAL_GUESS_FOR_H - Initial guess for H - - - MASS_LUMPING_ON_TRACERS - Mass-lumping on tracers - - - OPTION_FOR_LIQUID_BOUNDARIES - Option for liquid boundaries - - - GEOMETRY_FILE - Geometry file - - - WAQTEL_STEERING_FILE - Waqtel steering file - - - MAXIMUM_NUMBER_OF_ITERATIONS_FOR_ADVECTION_SCHEMES - Maximum number of iterations for advection schemes - - - FLUXLINE_INPUT_FILE - Fluxline input file - - - RAIN_OR_EVAPORATION - Rain or evaporation - - - LAW_OF_BOTTOM_FRICTION - Law of bottom friction - - - MATRIX_VECTOR_PRODUCT - Matrix-vector product - - - ACCURACY_FOR_DIFFUSION_OF_TRACERS - Accuracy for diffusion of tracers - - - MEAN_TEMPERATURE - Mean temperature - - - PARTITIONING_TOOL - Partitioning tool - - - MAXIMUM_NUMBER_OF_BOUNDARIES - Maximum number of boundaries - - - OPTION_FOR_THE_SOLVER_FOR_K_EPSILON_MODEL - Option for the solver for K-Epsilon model - - - SPATIAL_PROJECTION_TYPE - Spatial projection type - - - THRESHOLD_FOR_NEGATIVE_DEPTHS - Threshold for negative depths - - - DEFAULT_PARALLEL_EXECUTABLE - Default parallel executable - - - INITIAL_GUESS_FOR_U - Initial guess for U - - - DIFFUSION_OF_TRACERS - Diffusion of tracers - - - DEFAULT_EXECUTABLE - Default executable - - - FORMATTED_RESULTS_FILE - Formatted results file - - - VALUES_OF_TRACERS_IN_THE_RAIN - Values of tracers in the rain - - - VERTICAL_STRUCTURES - Vertical structures - - - MAXIMUM_NUMBER_OF_ITERATIONS_FOR_K_AND_EPSILON - Maximum number of iterations for K and Epsilon - - - UPWIND_COEFFICIENTS - Upwind coefficients - - - FRICTION_DATA - Friction data - - - NUMBER_OF_WEIRS - Number of weirs - - - OPTION_FOR_TSUNAMI_GENERATION - Option for tsunami generation - - - VARIABLE_TIME_STEP - Variable time-step - - - WAVE_DRIVEN_CURRENTS - Wave driven currents - - - INFORMATION_ABOUT_K_EPSILON_MODEL - Information about K-Epsilon model - - - ZONES_FILE - Zones file - - - SPHERICAL_COORDINATES - Spherical coordinates - - - NORTH - North - - - TREATMENT_OF_THE_LINEAR_SYSTEM - Treatment of the linear system - - - REFERENCE_FILE - Reference file - - - DENSITY_EFFECTS - Density effects - - - ASCII_DATABASE_FOR_TIDE - ASCII database for tide - - - THRESHOLD_DEPTH_FOR_RECEDING_PROCEDURE - Threshold depth for receding procedure - - - OIL_SPILL_MODEL - Oil spill model - - - SOLVER - Solver - - - TIME_STEP_REDUCTION_FOR_K_EPSILON_MODEL - Time step reduction for K-Epsilon model - - - STOCHASTIC_DIFFUSION_MODEL - Stochastic diffusion model - - - ORIGINAL_DATE_OF_TIME - Original date of time - - - GEOGRAPHIC_SYSTEM - Geographic system - - - FORTRAN_FILE - Fortran file - - - PROPAGATION_OPTION - Propagation option - - - OIL_SPILL_STEERING_FILE - Oil spill steering file - - - TIDAL_DATA_BASE - Tidal data base - - - TIDAL_MODEL_FILE - Tidal model file - - - BREACH - Breach - - - TREATMENT_OF_NEGATIVE_DEPTHS - Treatment of negative depths - - - INITIAL_VALUES_OF_TRACERS - Initial values of tracers - - - diff --git a/Telemac/labelCataToIhm_fr.qm b/Telemac/labelCataToIhm_fr.qm deleted file mode 100644 index eb9c2954cac050aacaa82b8f488f8b613bd9abab..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 37803 zcmcJ233yz^m2PR5rIzGHvTS)lUa*C+4PF4VgmJ68CAHn^mV1#G2#r^4Ft(8`0}h0+ zuSxu|1tx?w%#e@_kU%~%N#F|(G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ETrOU}fiiK(OI|qa!Vw!M76K>T+P-|GW=QmjG~NS( z8kGCSE4*$QS8)Y*#a^%`v%-$0=xUN%5o(c%BqV05Ac|*JOBUy diff --git a/Telemac/labelCataToIhm_fr.ts b/Telemac/labelCataToIhm_fr.ts deleted file mode 100644 index 0d60b40a..00000000 --- a/Telemac/labelCataToIhm_fr.ts +++ /dev/null @@ -1,1336 +0,0 @@ - - @default - - COEFFICIENT_TO_CALIBRATE_TIDAL_VELOCITIES - Coefficient de calage des vitesses de courant - - - COST_FUNCTION - Fonction cout - - - BOTTOM_TOPOGRAPHY_FILE - Fichier des fonds - - - DENSITY_OF_ALGAE - Masse volumique des algues - - - STEERING_FILE - Fichier des parametres - - - NUMBER_OF_CORRECTIONS_OF_DISTRIBUTIVE_SCHEMES - Nombre de corrections des schemas distributifs - - - LONGITUDE_OF_ORIGIN_POINT - Longitude du point origine - - - PREVIOUS_COMPUTATION_FILE - Fichier du calcul precedent - - - DIAMETER_OF_ROUGHNESS_ELEMENTS - Diametre des elements de frottement - - - THICKNESS_OF_ALGAE - Epaisseur des algues - - - CORIOLIS - Coriolis - - - OPTION_FOR_TIDAL_BOUNDARY_CONDITIONS - Option pour les conditions aux limites de maree - - - PARTICULIERES - PARTICULIERES - - - NUMBER_OF_TIME_STEPS - Nombre de pas de temps - - - ADVECTION - Convection - - - NEWMARK_TIME_INTEGRATION_COEFFICIENT - Coefficient d'integration en temps de newmark - - - ZERO DEPTH - HAUTEUR NULLE - - - TIME_STEP - Pas de temps - - - VALUE_OF_ATMOSPHERIC_PRESSURE - Valeur de la pression atmospherique - - - LISTING_FOR_PRINTOUT_PERIOD - Periode pour les sorties listing - - - BINARY_DATABASE_2_FOR_TIDE - Base binaire 2 de donnees de maree - - - VOLUMES_DELWAQ_FILE - Fichier DELWAQ des volumes - - - DESCRIPTION_OF_LIBRARIES - Description des librairies - - - STOP_IF_A_STEADY_STATE_IS_REACHED - Arret si un etat permanent est atteint - - - SALINITY_DELWAQ_FILE - Fichier DELWAQ de la salinite - - - IMPLICITATION_FOR_DEPTH - Implicitation pour la hauteur - - - DROGUES_FILE - Fichier des flotteurs - - - TEMPERATURE_FOR_DELWAQ - Temperature pour DELWAQ - - - BLOBAL_NUMBERS_OF_SOURCE_NODES - Numeros globaux des noeuds des sources - - - INITIAL_DEPTH - Hauteur initiale - - - PARMETIS - PARMETIS - - - IDENTIFICATION_METHOD - Methode d'identification - - - SAINT-VENANT FE - SAINT-VENANT EF - - - COEFFICIENT_FOR_DIFFUSION_OF_TRACERS - Coefficient de diffusion des traceurs - - - VELOCITY_DIFFUSIVITY - Coefficient de diffusion des vitesses - - - VECTOR_LENGTH - Longueur du vecteur - - - GRAPHIC_PRINTOUT_PERIOD - Periode pour les sorties graphiques - - - LINEARIZED_PROPAGATION - Propagation linearisee - - - PRECONDITIONING - Preconditionnement - - - MANNING_DEFAULT_VALUE_FOR_COLEBROOK_WHITE_LAW - Valeur par defaut du manning pour la loi de colebrook-white - - - PRINTOUT_PERIOD_FOR_DROGUES - Periode pour les sorties de flotteurs - - - DURATION_OF_RAIN_OR_EVAPORATION_IN_HOURS - Duree de la pluie ou evaporation en heures - - - DEBUGGER - Debugger - - - DICTIONARY - Dictionnaire - - - SIPHONS_DATA_FILE - Fichier de donnees des siphons - - - WATER_DISCHARGE_OF_SOURCES - Debits des sources - - - ADVECTION_OF_U_AND_V - Convection de U et V - - - ANTECEDENT_MOISTURE_CONDITIONS - Conditions d'humidite precedente - - - DIFFUSION_OF_VELOCITY - Diffusion des vitesses - - - CONSTANT DEPTH - HAUTEUR CONSTANTE - - - WATER_DENSITY - Masse volumique de l'eau - - - ORIGIN_COORDINATES - Coordonnees de l'origine - - - LATITUDE_OF_ORIGIN_POINT - Latitude du point origine - - - PRESCRIBED_TRACERS_VALUES - Valeurs imposees des traceurs - - - MAXIMUM_NUMBER_OF_ITERATIONS_FOR_SOLVER - Maximum d'iterations pour le solveur - - - FLUXLINE - Fluxline - - - TIDE_GENERATING_FORCE - Force generatrice de la maree - - - VELOCITY_FOR_DELWAQ - Vitesse pour DELWAQ - - - PARALLEL_PROCESSORS - Processeurs paralleles - - - ROUGHNESS_COEFFICIENT_OF_BOUNDARIES - Coefficient de rugosite des bords - - - RAINFALL_RUNOFF_MODEL - Modele pluie-debit - - - PSI_SCHEME_OPTION - Option du schema PSI - - - SCHEME_OPTION_FOR_ADVECTION_OF_VELOCITIES - Option du schema pour la convection des vitesses - - - INITIAL_CONDITIONS - Conditions initiales - - - INITIAL_TIME_SET_TO_ZERO - Remise a zero du temps - - - PTSCOTCH - PTSCOTCH - - - NUMBER_OF_SUB_ITERATIONS_FOR_NON_LINEARITIES - Nombre de sous-iterations pour les non-linearites - - - OPTION_FOR_THE_DIFFUSION_OF_TRACERS - Option pour la diffusion des traceurs - - - CULVERTS_DATA_FILE - Fichier de donnees des buses - - - ACCURACY_OF_EPSILON - Precision sur epsilon - - - MAXIMUM_NUMBER_OF_ITERATIONS_FOR_DIFFUSION_OF_TRACERS - Maximum d'iterations pour la diffusion des traceurs - - - MASS_LUMPING_ON_VELOCITY - Mass-lumping sur la vitesse - - - FRICTION_DATA_FILE - Fichier de donnees pour le frottement - - - SCHEME_FOR_ADVECTION_OF_K_EPSILON - Schema pour la convection du K-Epsilon - - - SOLVER_ACCURACY - Precision du solveur - - - NAMES_OF_POINTS - Noms des points - - - TOMAWAC_STEERING_FILE - Fichier des parametres de TOMAWAC - - - BOUNDARY_CONDITIONS_FILE - Fichier des conditions aux limites - - - STOP_CRITERIA - Criteres d'arret - - - BINARY_RESULTS_FILE_FORMAT - Format du fichier de resultats binaire - - - TEMPERATURE_DELWAQ_FILE - Fichier DELWAQ de la temperature - - - PROPAGATION - Propagation - - - FINITE_VOLUME_SCHEME - Schema en volumes finis - - - IMPLICITATION_COEFFICIENT_OF_TRACERS - Coefficient d'implicitation des traceurs - - - CORIOLIS_COEFFICIENT - Coefficient de coriolis - - - PRESCRIBED_FLOWRATES - Debits imposes - - - TURBULENCE_MODEL - Modele de turbulence - - - NUMBER_OF_FIRST_TIME_STEP_FOR_LISTING_PRINTOUTS - Numero du premier pas de temps pour les sorties listing - - - PRINTING_CUMULATED_FLOWRATES - Impression du cumul des flux - - - NUMBER_OF_FIRST_TIME_STEP_FOR_GRAPHIC_PRINTOUTS - Numero du premier pas de temps pour les sorties graphiques - - - PHYSICAL_CHARACTERISTICS_OF_THE_TSUNAMI - Parametres physiques du tsunami - - - MASS_BALANCE - Bilan de masse - - - BINARY_DATABASE_1_FOR_TIDE - Base binaire 1 de donnees de maree - - - SOURCES_FILE - Fichier des sources - - - LAW_OF_TRACERS_DEGRADATION - Loi de degradation des traceurs - - - SECTIONS_INPUT_FILE - Fichier des sections de controle - - - CONTROL_SECTIONS - Sections de controle - - - SOLVER_FOR_DIFFUSION_OF_TRACERS - Solveur pour la diffusion des traceurs - - - RESULTS_FILE_FORMAT - Format du fichier des resultats - - - SECONDARY_CURRENTS - Courants secondaires - - - BIN - BIN - - - OPTION_FOR_INITIAL_ABSTRACTION_RATIO - Option pour ratio des pertes initiales - - - TYPE_OF_WEIRS - Type des seuils - - - NUMBER_OF_SUB_STEPS_OF_DISTRIBUTIVE_SCHEMES - Nombre de sous-pas des schemas distributifs - - - SPACING_OF_ROUGHNESS_ELEMENTS - Espacement des elements de frottement - - - SCHEME_OPTION_FOR_ADVECTION_OF_K_EPSILON - Option du schema pour la convection du K-Epsilon - - - COUPLING_WITH - Couplage avec - - - LISTING_PRINTOUT_PERIOD - Periode de sortie listing - - - THRESHOLD_DEPTH_FOR_WIND - Profondeur limite pour le vent - - - VELOCITY_PROFILES - Profils de vitesse - - - ALGAE_TYPE - Type des algues - - - TREATMENT_OF_FLUXES_AT_THE_BOUNDARIES - Traitement des flux aux frontieres - - - MINOR_CONSTITUENTS_INFERENCE - Interpolation de composantes mineures - - - STAGE_DISCHARGE_CURVES - Courbes de tarage - - - GLOBAL_NUMBER_OF_THE_POINT_TO_CALIBRATE_HIGH_WATER - Numero global du point pour caler la pleine mer - - - RAIN_OR_EVAPORATION_IN_MM_PER_DAY - Pluie ou evaporation en mm par jour - - - REFERENCE_FILE_FORMAT - Format du fichier de reference - - - SALINITY_FOR_DELWAQ - Salinite pour DELWAQ - - - DIFFUSIVITY_FOR_DELWAQ - Diffusion pour DELWAQ - - - DELWAQ - DELWAQ - - - BOTTOM_SURFACES_DELWAQ_FILE - Fichier DELWAQ des surfaces du fond - - - FORMATTED_DATA_FILE_1 - Fichier de donnees formate 1 - - - FORMATTED_DATA_FILE_2 - Fichier de donnees formate 2 - - - COMPUTATION_CONTINUED - Suite de calcul - - - RECORD_NUMBER_IN_WAVE_FILE - Numero de l'enregistrement dans le fichier de Houle - - - C_U_PRECONDITIONING - Preconditionnement C-U - - - LIST_OF_POINTS - Liste de points - - - TYPE_OF_ADVECTION - Forme de la convection - - - WIND_VELOCITY_ALONG_X - Vitesse du vent suivant X - - - WIND_VELOCITY_ALONG_Y - Vitesse du vent suivant Y - - - TOLERANCES_FOR_IDENTIFICATION - Precisions pour l'identification - - - PREVIOUS_COMPUTATION_FILE_FORMAT - Format du fichier du calcul precedent - - - METIS - METIS - - - DISCRETIZATIONS_IN_SPACE - Discretisations en espace - - - BINARY_ATMOSPHERIC_DATA_FILE - Fichier binaire de donnees atmospheriques - - - BINARY_RESULTS_FILE - Fichier de resultats binaire - - - EXCHANGES_BETWEEN_NODES_DELWAQ_FILE - Fichier DELWAQ des echanges entre noeuds - - - CONTINUITY_CORRECTION - Correction de continuite - - - SCHEME_FOR_ADVECTION_OF_VELOCITIES - Schema pour la convection des vitesses - - - EXCHANGE_AREAS_DELWAQ_FILE - Fichier DELWAQ des surfaces de flux - - - SISYPHE_STEERING_FILE - Fichier des parametres de sisyphe - - - IMPLICITATION_FOR_DIFFUSION_OF_VELOCITY - Implicitation pour la diffusion des vitesses - - - ADVECTION_OF_K_AND_EPSILON - Convection de K et epsilon - - - FREE_SURFACE_GRADIENT_COMPATIBILITY - Compatibilite du gradient de surface libre - - - VALUES_OF_THE_TRACERS_AT_THE_SOURCES - Valeurs des traceurs des sources - - - NUMBER_OF_CULVERTS - Nombre de buses - - - ZERO ELEVATION - COTE NULLE - - - RELEASE - Numero de version - - - AD_NAMES_OF_DERIVATIVES - Ad noms des derivees - - - LANGUAGE - Langue - - - NAMES_OF_PRIVATE_VARIABLES - Noms des variables privees - - - PRECONDITIONING_FOR_DIFFUSION_OF_TRACERS - Preconditionnement pour la diffusion des traceurs - - - VALIDATION - Validation - - - NUMBER_OF_SIPHONS - Nombre de siphons - - - BINARY_ATMOSPHERIC_DATA_FILE_FORMAT - Format du fichier binaire de donnees atmospheriques - - - WEIRS_DATA_FILE - Fichier de donnees des seuils - - - IMPLICITATION_FOR_VELOCITY - Implicitation pour la vitesse - - - DEFINITION_OF_ZONES - Definition de zones - - - TOMAWAC - TOMAWAC - - - LISTING_PRINTOUT - Sortie listing - - - MEAN_DEPTH_FOR_LINEARIZATION - Profondeur moyenne pour la linearisation - - - COUPLING_PERIOD_FOR_TOMAWAC - Periode de couplage pour TOMAWAC - - - WAVE_ENHANCED_FRICTION_FACTOR - Augmentation du frottement par la houle - - - VARIABLES_FOR_GRAPHIC_PRINTOUTS - Variables pour les sorties graphiques - - - DEPTH_IN_FRICTION_TERMS - Hauteur dans les termes de frottement - - - MASS_LUMPING_ON_H - Mass-lumping sur H - - - NUMBER_OF_LAGRANGIAN_DRIFTS - Nombre de derives lagrangiennes - - - NON_DIMENSIONAL_DISPERSION_COEFFICIENTS - Coefficients adimensionnels de dispersion - - - FOURIER_ANALYSIS_PERIODS - Periodes d'analyse de fourier - - - VARIABLES_TO_BE_PRINTED - Variables a imprimer - - - EQUATIONS - Equations - - - MAXIMUM_NUMBER_OF_ITERATIONS_FOR_IDENTIFICATION - Maximum d'iterations pour l'identification - - - WIND - Vent - - - SPEED_AND_DIRECTION_OF_WIND - Vitesse et direction du vent - - - NAMES_OF_CLANDESTINE_VARIABLES - Noms des variables clandestines - - - GEOMETRY_FILE_FORMAT - Format du fichier de geometrie - - - NON_SUBMERGED_VEGETATION_FRICTION - Frottement pour la vegetation non submergee - - - TYPE_OF_SOURCES - Type des sources - - - TIDAL_FLATS - Bancs decouvrants - - - TITLE - Titre - - - ORIGINAL_HOUR_OF_TIME - Heure de l'origine des temps - - - LAW_OF_FRICTION_ON_LATERAL_BOUNDARIES - Loi de frottement sur les parois laterales - - - FRICTION - FROTTEMENT - - - STAGE_DISCHARGE_CURVES_FILE - Fichier des courbes de tarage - - - DESIRED_COURANT_NUMBER - Nombre de courant souhaite - - - DISSIPATION_COEFFICIENT_FOR_SECONDARY_CURRENTS - Coefficient de dissipation pour courants secondaires - - - COUPLING_PERIOD_FOR_SISYPHE - Periode de couplage pour sisyphe - - - ALGAE_TRANSPORT_MODEL - Modele de transport des algues - - - ABSCISSAE_OF_SOURCES - Abscisses des sources - - - LIQUID_BOUNDARIES_FILE - Fichier des frontieres liquides - - - VELOCITIES_OF_THE_SOURCES_ALONG_X - Vitesses des sources selon X - - - VELOCITIES_OF_THE_SOURCES_ALONG_Y - Vitesses des sources selon Y - - - MAXIMUM_NUMBER_OF_SOURCES - Nombre maximum de sources - - - SOLVER_OPTION_FOR_TRACERS_DIFFUSION - Option du solveur pour la diffusion des traceurs - - - INFORMATION_ABOUT_SOLVER - Informations sur le solveur - - - BOUSSINESQ - BOUSSINESQ - - - BINARY_DATA_FILE_1_FORMAT - Format du fichier de donnees binaire 1 - - - DIAMETRE_OF_ALGAE - Diametre des algues - - - CONSTANT ELEVATION - COTE CONSTANTE - - - COUPLING_DIRECTORY - Dossier de couplage - - - DELWAQ_PRINTOUT_PERIOD - Periode de sortie pour DELWAQ - - - BOTTOM_SMOOTHINGS - Lissages du fond - - - AIR_PRESSURE - Pression atmospherique - - - PRESCRIBED_ELEVATIONS - Cotes imposees - - - MASS_LUMPING_FOR_WEAK_CHARACTERISTICS - Mass-lumping pour les caracteristiques faibles - - - GRAVITY_ACCELERATION - Acceleration de la pesanteur - - - LIMIT_VALUES - Valeurs limites - - - RESULTS_FILE - Fichier des resultats - - - SCHEME_OPTION_FOR_ADVECTION_OF_TRACERS - Option du schema pour la convection des traceurs - - - OPTION_FOR_CHARACTERISTICS - Option pour les caracteristiques - - - OPTION_FOR_THE_TREATMENT_OF_TIDAL_FLATS - Option de traitement des bancs decouvrants - - - TIME_RANGE_FOR_FOURIER_ANALYSIS - Bornes en temps pour l'analyse de fourier - - - VERTICAL_FLUXES_DELWAQ_FILE - Fichier DELWAQ des flux verticaux - - - ORDINATES_OF_SOURCES - Ordonnees des sources - - - SERAFIN - SERAFIN - - - MAXIMUM_NUMBER_OF_TRACERS - Nombre maximum de traceurs - - - TURBULENCE_REGIME_FOR_SOLID_BOUNDARIES - Regime de turbulence pour les parois - - - LOCAL_NUMBER_OF_THE_POINT_TO_CALIBRATE_HIGH_WATER - Numero local du point pour caler la pleine mer - - - NODES_DISTANCES_DELWAQ_FILE - Fichier DELWAQ des distances entre noeuds - - - NUMBER_OF_DROGUES - Nombre de flotteurs - - - SOLVER_FOR_K_EPSILON_MODEL - Solveur pour le modele K-Epsilon - - - SECTIONS_OUTPUT_FILE - Fichier de sortie des sections de controle - - - HARMONIC_CONSTANTS_FILE - Fichier des constantes harmoniques - - - OPTION_FOR_CULVERTS - Option pour les buses - - - ASCII_ATMOSPHERIC_DATA_FILE - Fichier ASCII de donnees atmospheriques - - - INITIAL_ELEVATION - Cote initiale - - - ZERO - Zero - - - BREACHES_DATA_FILE - Fichier de donnees des breches - - - OPTION_FOR_WIND - Option du vent - - - OPTION_OF_THE_HYDROSTATIC_RECONSTRUCTION - Option de la reconstrucion Hydrostatique - - - SERAFIND - SERAFIND - - - NUMBER_OF_TRACERS - Nombre de traceurs - - - DIFFUSIVITY_DELWAQ_FILE - Fichier DELWAQ de la diffusion - - - TPXO SATELLITE ALTIMETRY - ALTIMETRIE SATELLITE TPXO - - - ADVECTION_OF_TRACERS - Convection des traceurs - - - MED - MED - - - SOLVER_OPTION - Option du solveur - - - MATRIX_STORAGE - Stockage des matrices - - - COEFFICIENT_TO_CALIBRATE_TIDAL_RANGE - Coefficient de calage du marnage - - - BINARY_DATA_FILE_1 - Fichier de donnees binaire 1 - - - BINARY_DATA_FILE_2 - Fichier de donnees binaire 2 - - - CONTROL_OF_LIMITS - Controle des limites - - - RECORD_NUMBER_FOR_RESTART - Enregistrement pour suite de calcul - - - NUMBER_OF_GAUSS_POINTS_FOR_WEAK_CHARACTERISTICS - Nombre de points de Gauss pour les caracteristiques faibles - - - COEFFICIENT_OF_WIND_INFLUENCE - Coefficient d'influence du vent - - - PRECONDITIONING_FOR_K_EPSILON_MODEL - Preconditionnement pour le modele K-Epsilon - - - PRODUCTION_COEFFICIENT_FOR_SECONDARY_CURRENTS - Coefficient de production pour courants secondaires - - - MINIMUM_VALUE_OF_DEPTH - Valeur minimum de H - - - ELEMENTS_MASKED_BY_USER - Elements masques par l'utilisateur - - - FRICTION_COEFFICIENT - Coefficient de frottement - - - PRESCRIBED_VELOCITIES - Vitesses imposees - - - NAMES_OF_TRACERS - Noms des traceurs - - - SPECIAL - SPECIAL - - - VELOCITY_DELWAQ_FILE - Fichier DELWAQ de la vitesse - - - H_CLIPPING - Clipping de H - - - ZONE_NUMBER_IN_GEOGRAPHIC_SYSTEM - Numero de fuseau ou projection dans le systeme geographique - - - SUPG_OPTION - Option de SUPG - - - PARAMETER_ESTIMATION - Estimation de parametre - - - CHECKING_THE_MESH - Verification du maillage - - - AD_NUMBER_OF_DERIVATIVES - Ad nombre de derivees - - - COMPATIBLE_COMPUTATION_OF_FLUXES - Calcul compatible des flux - - - LIST_OF_FILES - Liste des fichiers - - - NUMBER_OF_PRIVATE_ARRAYS - Nombre de tableaux prives - - - MAXIMUM_NUMBER_OF_FRICTION_DOMAINS - Nombre maximum de domaines de frottement - - - DURATION - Duree du calcul - - - DELWAQ_STEERING_FILE - Fichier de commande DELWAQ - - - COEFFICIENT_1_FOR_LAW_OF_TRACERS_DEGRADATION - Coefficient 1 de la loi de degradation des traceurs - - - ACCURACY_OF_K - Precision sur k - - - PARTICULAR - PARTICULAR - - - WATER_QUALITY_PROCESS - Processus qualite d'eau - - - ADVECTION_OF_H - Convection de H - - - SCHEME_FOR_ADVECTION_OF_TRACERS - Schema pour la convection des traceurs - - - BINARY_DATA_FILE_2_FORMAT - Format du fichier de donnees binaire 2 - - - COEFFICIENT_TO_CALIBRATE_SEA_LEVEL - Coefficient de calage du niveau de mer - - - OPTION_FOR_THE_DIFFUSION_OF_VELOCITIES - Option pour la diffusion des vitesses - - - INITIAL_GUESS_FOR_H - Ordre du tir initial pour H - - - MASS_LUMPING_ON_TRACERS - Mass-lumping sur les traceurs - - - OPTION_FOR_LIQUID_BOUNDARIES - Option pour les frontieres liquides - - - GEOMETRY_FILE - Fichier de geometrie - - - WAQTEL_STEERING_FILE - Fichier des parametres de waqtel - - - MAXIMUM_NUMBER_OF_ITERATIONS_FOR_ADVECTION_SCHEMES - Maximum d'iterations pour les schemas de convection - - - FLUXLINE_INPUT_FILE - Fichier de fluxline - - - RAIN_OR_EVAPORATION - Pluie ou evaporation - - - LAW_OF_BOTTOM_FRICTION - Loi de frottement sur le fond - - - MATRIX_VECTOR_PRODUCT - Produit matrice-vecteur - - - ACCURACY_FOR_DIFFUSION_OF_TRACERS - Precision pour la diffusion des traceurs - - - MEAN_TEMPERATURE - Temperature moyenne - - - FRICTION, STEADY - FROTTEMENT, PERMANENT - - - PARTITIONING_TOOL - Partitionneur - - - MAXIMUM_NUMBER_OF_BOUNDARIES - Nombre maximum de frontieres - - - OPTION_FOR_THE_SOLVER_FOR_K_EPSILON_MODEL - Option du solveur pour le modele K-Epsilon - - - SAINT-VENANT FV - SAINT-VENANT VF - - - SPATIAL_PROJECTION_TYPE - Type de projection spatiale - - - THRESHOLD_FOR_NEGATIVE_DEPTHS - Seuil pour les profondeurs negatives - - - DEFAULT_PARALLEL_EXECUTABLE - Executable parallele par defaut - - - INITIAL_GUESS_FOR_U - Ordre du tir initial pour U - - - DIFFUSION_OF_TRACERS - Diffusion des traceurs - - - DEFAULT_EXECUTABLE - Executable par defaut - - - FORMATTED_RESULTS_FILE - Fichier de resultats formate - - - VALUES_OF_TRACERS_IN_THE_RAIN - Valeurs des traceurs dans la pluie - - - VERTICAL_STRUCTURES - Structures verticales - - - MAXIMUM_NUMBER_OF_ITERATIONS_FOR_K_AND_EPSILON - Maximum d'iterations pour k et epsilon - - - UPWIND_COEFFICIENTS - Coefficients de decentrement - - - FRICTION_DATA - Donnees pour le frottement - - - NUMBER_OF_WEIRS - Nombre de seuils - - - OPTION_FOR_TSUNAMI_GENERATION - Option pour la generation de tsunami - - - VARIABLE_TIME_STEP - Pas de temps variable - - - WAVE_DRIVEN_CURRENTS - Courants de Houle - - - INFORMATION_ABOUT_K_EPSILON_MODEL - Informations sur le modele K-Epsilon - - - ZONES_FILE - Fichier des zones - - - SPHERICAL_COORDINATES - Coordonnees spheriques - - - NORTH - Nord - - - TREATMENT_OF_THE_LINEAR_SYSTEM - Traitement du systeme lineaire - - - REFERENCE_FILE - Fichier de reference - - - DENSITY_EFFECTS - Effets de densite - - - ASCII_DATABASE_FOR_TIDE - Base ASCII de donnees de maree - - - THRESHOLD_DEPTH_FOR_RECEDING_PROCEDURE - Profondeur limite pour procedure de ressuyage - - - OIL_SPILL_MODEL - Modele de nappes d'hydrocarbures - - - SOLVER - Solveur - - - TIME_STEP_REDUCTION_FOR_K_EPSILON_MODEL - Reduction du pas de temps pour le modele K-Epsilon - - - STOCHASTIC_DIFFUSION_MODEL - Modele de diffusion stochastique - - - ORIGINAL_DATE_OF_TIME - Date de l'origine des temps - - - GEOGRAPHIC_SYSTEM - Systeme geographique - - - FORTRAN_FILE - Fichier fortran - - - PROPAGATION_OPTION - Option de propagation - - - OIL_SPILL_STEERING_FILE - Fichier de commandes hydrocarbures - - - TIDAL_DATA_BASE - Base de donnees de maree - - - TIDAL_MODEL_FILE - Fichier du modele de maree - - - BREACH - Breche - - - SISYPHE - SISYPHE - - - TREATMENT_OF_NEGATIVE_DEPTHS - Traitement des hauteurs negatives - - - SCOTCH - SCOTCH - - - INITIAL_VALUES_OF_TRACERS - Valeurs initiales des traceurs - - - diff --git a/Telemac/transforme/ReadMe b/Telemac/transforme/ReadMe deleted file mode 100644 index f81dd842..00000000 --- a/Telemac/transforme/ReadMe +++ /dev/null @@ -1,10 +0,0 @@ -il faut les 2 fichiers cata_name2eng_name.ts et cata_name2fra_name.ts -./reEcrittsEn.py -i cata_name2eng_name.ts -d dicoCasEnToCata.py -t labelCataToIhmEn.ts -regler à la main les histoires de "" -modifier DicoCasEnToCata en dicoCataToEng - - -./reEcrittsFr.py -i cata_name2fra_name.ts -d dicoCasFrToCata.py -t labelCataToIhmFr.ts -regler à la main les histoires de "" -modifier DicoCasEnToCata en dicoCataToFr -attention a defaut default... diff --git a/VirtualPolymer/VP b/VirtualPolymer/VP deleted file mode 100644 index 983ed055..00000000 --- a/VirtualPolymer/VP +++ /dev/null @@ -1,5 +0,0 @@ -[c_pre_polymer_data_management] -gui = True -data_base = local/ -backup = False -folder_output = /tmp diff --git a/VirtualPolymer/editor.py.ssVP b/VirtualPolymer/editor.py.ssVP deleted file mode 100755 index 5ad0154e..00000000 --- a/VirtualPolymer/editor.py.ssVP +++ /dev/null @@ -1,1879 +0,0 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2007-2013 EDF R&D -# -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License. -# -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -# -# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com -# -from __future__ import absolute_import -from __future__ import print_function -try : - from builtins import str - from builtins import range -except : pass - -import types,sys,os, re -import subprocess -import traceback - -import six -from six.moves import range -from PyQt5.QtWidgets import QWidget, QMessageBox, QFileDialog, QApplication, QSplitter -from PyQt5.QtGui import QPalette -from PyQt5.QtCore import QProcess, QFileInfo, QTimer, Qt, QDir, QSize -import time -import pdb -from datetime import date -from Extensions.i18n import tr - -import traceback - -# Modules Eficas - -import convert, generator -from Editeur import session -from Editeur import comploader -from Editeur import Objecttreeitem -from desBaseWidget import Ui_baseWidget -from InterfaceQT4.monViewTexte import ViewText -from monWidgetCreeParam import MonWidgetCreeParam -from . import browser -from . import readercata - -DictExtensions= {"MAP" : ".map", "TELEMAC" : '.comm'} - - - - -class JDCEditor(Ui_baseWidget,QWidget): -# ----------------------------------------- # - """ - Editeur de jdc - """ - - def __init__ (self,appli,fichier = None, jdc = None, QWParent=None, units = None, include=0 , vm=None): - #----------------------------------------------------------------------------------------------------------# - - QWidget.__init__(self,None) - self.i=0 - self.setupUi(self) - self.inhibeSplitter=0 - self.widgetOptionnel=None - self.fenetreCentraleAffichee=None - self.dejaDansPlieTout=False - self.afficheCommandesPliees = True - self.listeDesListesOuvertes=set() - self.appliEficas = appli - self.appli = appli #---- attendu par IHM - self.vm = vm - self.fichier = fichier - self.jdc = jdc - self.first = True - self.QWParent = QWParent - self.couleur = Qt.black - self.nodeEnCours=None - - if appli != None : - self.salome = self.appliEficas.salome - else : - self.salome=0 - print ("dans JDC pas d appli ????????") - - # ces attributs sont mis a jour par definitCode appelee par newEditor - self.code = self.appliEficas.CONFIGURATION.code - self.initSplitterSizes() - - #self.afficheListesPliees=False - self.afficheListesPliees=True - if self.code == "ASTER" or self.code == "monCode" : self.afficheListesPliees =True - if self.code == 'PSEN_N1' : self.afficheListesPliees = False - - self.mode_nouv_commande=self.appliEficas.CONFIGURATION.mode_nouv_commande - self.closeAutreCommande=self.appliEficas.CONFIGURATION.closeAutreCommande - self.closeFrameRechercheCommande=self.appliEficas.CONFIGURATION.closeFrameRechercheCommande - self.closeArbre=self.appliEficas.CONFIGURATION.closeArbre - self.affiche=self.appliEficas.CONFIGURATION.affiche - self.afficheOptionnelVide=self.appliEficas.CONFIGURATION.afficheOptionnelVide - self.nombreDeBoutonParLigne = self.appliEficas.CONFIGURATION.nombreDeBoutonParLigne - self.dicoImages = self.appliEficas.CONFIGURATION.dicoImages - self.simpleClic = self.appliEficas.CONFIGURATION.simpleClic - #self.taille = self.appliEficas.taille - - #if self.code in ['MAP','CARMELCND','PSEN'] : self.afficheCommandesPliees=False - if self.code in ['MAP','CARMELCND'] : self.afficheCommandesPliees=False - if self.code in ['MAP',]: - self.widgetTree.close() - self.widgetTree=None - if self.closeArbre: self.fermeArbre() - - self.version_code = session.d_env.cata - - - if not hasattr ( self.appliEficas, 'readercata') or self.appliEficas.multi==True: - self.readercata = readercata.READERCATA( self, self.appliEficas ) - self.appliEficas.readercata=self.readercata - self.appliEficas.code=self.code - else : - self.readercata=self.appliEficas.readercata - if self.readercata.fic_cata == None : return #Sortie Salome - self.titre=self.readercata.titre - self.Ordre_Des_Commandes=self.readercata.Ordre_Des_Commandes - self.Classement_Commandes_Ds_Arbre=self.readercata.Classement_Commandes_Ds_Arbre - - self.format = self.appliEficas.format_fichier - - self.dict_reels={} - self.liste_simp_reel=[] - self.ihm="QT" - self.dicoNouveauxMC={} - self.dicoNouveauxFact={} - - nameConf='configuration_'+self.code - configuration=__import__(nameConf) - self.CONFIGURATION = self.appliEficas.CONFIGURATION - self.CONFIGStyle = self.appliEficas.CONFIGStyle - - try: - self.CONFIGURATION.generator_module - _module = __import__(self.CONFIGURATION.generator_module) - info = _module.entryPoint() - generator.plugins.addEntryPoint(info) - except: - pass - - try: - self.CONFIGURATION.convert_module - #print self.CONFIGURATION.convert_module - _module = __import__(self.CONFIGURATION.convert_module) - info = _module.entryPoint() - convert.plugins.addEntryPoint(info) - except : - pass - - self.sb = None - if hasattr(self.appliEficas,"statusBar"): - self.sb = self.appliEficas.statusBar() - - self.fileInfo = None - self.lastModified = 0 - - self.modified = False - self.isReadOnly = False - self.node_selected = [] - self.deplier = True - self.message='' - if self.code in ['Adao','ADAO','MAP'] : self.afficheApresInsert=True - else : self.afficheApresInsert=False - if self.code in ['TELEMAC',] : self.enteteQTree='premier' - else : self.enteteQTree='complet' - if self.code in ['Adao','ADAO','TELEMAC'] : self.affichePlie=True - else : self.affichePlie=False - - self.Commandes_Ordre_Catalogue =self.readercata.Commandes_Ordre_Catalogue - - #------- construction du jdc -------------- - - jdc_item = None - - self.nouveau=0 - if self.fichier is not None: # fichier jdc fourni - self.fileInfo = QFileInfo(self.fichier) - self.fileInfo.setCaching(0) - if jdc==None : - try : - self.jdc = self.readFile(self.fichier) - except : - print ("mauvaise lecture") - else : - self.jdc=jdc - if self.jdc is not None and units is not None: - self.jdc.recorded_units=units - self.jdc.old_recorded_units=units - else: - if not self.jdc: # nouveau jdc - if not include : - self.jdc = self._newJDC(units=units) - else : - self.jdc = self._newJDCInclude(units=units) - self.nouveau=1 - - if self.jdc: - self.jdc.appli = self # a resorber - self.jdc.editor = self - self.jdc.lang = self.appli.langue - self.jdc.aReafficher=False - txt_exception = None - if not jdc: - self.jdc.analyse() - txt_exception = self.jdc.cr.get_mess_exception() - if txt_exception: - self.jdc = None - QApplication.restoreOverrideCursor() - self.affiche_infos(tr("Erreur fatale au chargement de %s",str(fichier)),Qt.red) - if (self.appliEficas.ssIhm == False) : QMessageBox.critical( self, tr("Erreur fatale au chargement d'un fichier"), txt_exception) - else: - comploader.charger_composants("QT") - jdc_item=Objecttreeitem.make_objecttreeitem( self, "nom", self.jdc ) - if (not self.jdc.isvalid()) and (not self.nouveau) and (self.appliEficas.ssIhm == False): - self.viewJdcRapport() - - - - if jdc_item and self.appliEficas.ssIhm==False: - self.tree = browser.JDCTree( jdc_item, self ) - self.appliEficas.construitMenu() - - - ############# - self.adjustSize() - - - #-------------------# Pour execution avec output et error dans le bash - def runPSEN(self): - #-------------------# - - #if self.modified or self.fichier==None : self.saveFile() - self.saveFile() - - #lancement avec le .bat - path1 = os.path.abspath(os.path.join(os.path.abspath(__file__), '../','../','PSEN_Eficas','PSEN')) - WrapperFilePath = os.path.join(path1, 'PSSEWrapper.py') - import subprocess - p = subprocess.Popen(['python',WrapperFilePath]) - (out,err)=p.communicate() - print (out) - print (err) - - #-------------------# Pour execution avec output et error dans le bash - def runPSEN_N1(self): - #-------------------# - - - self.saveFile() - path1 = os.path.abspath(os.path.join(os.path.abspath(__file__), '../','../','ProcessOutputs_Eficas','TreatOutputs')) - sys.path.append(path1) - - if not(self.jdc.isvalid()): - QMessageBox.information( self, tr( "Unvalid JDC"),tr("incorrect keywords will be ignored")) - if 'dicoImbrique' in generator.plugins: - self.generator=generator.plugins['dicoImbrique']() - jdc_formate=self.generator.gener(self.jdc) - dico=self.generator.Dico - - ###to delete - #fileDico = r'C:\Logiciels DER\PSEN_V16\Code\ProcessOutputs_Eficas\TreatOutputs\dicoN1.py' - fileDico = os.path.join(path1, 'dicoN1.py') #r'C:\Logiciels DER\PSEN_V16\Code\ProcessOutputs_Eficas\TreatOutputs\dicoN1.py' - f = open( str(fileDico), 'w') - f.write("Dico =" + str(dico) ) - f.close() - ### - - - #print ('in runPSEN_N1', dico) - from Run import run - run(dico) - #res,txt_exception=run(dico) - #if res : QMessageBox.information( self, tr("fin de script run"), txt_exception) - #else : QMessageBox.critical( self, tr("Erreur fatale script run"), txt_exception) - - #-------------------# Pour execution avec output et error dans le bash - def process_N1(self): - #-------------------# - - path1 = os.path.abspath(os.path.join(os.path.abspath(__file__), '../','../','ProcessOutputs_Eficas','TreatOutputs')) - sys.path.append(path1) - - - if 'dicoImbrique' in generator.plugins: - self.generator=generator.plugins['dicoImbrique']() - jdc_formate=self.generator.gener(self.jdc) - dico=self.get_Dico() #generator.Dico - - - for k in dico['CONTINGENCY_PROCESSING']: - #print (k) - if k[0:19] == 'Component_List_For_' or k[0:21] =='Contingency_List_For_' : - newK=k.replace('___',' ') - l="'"+str(newK)+"'" - dico['CONTINGENCY_PROCESSING'][l]=dico['CONTINGENCY_PROCESSING'][k] - del dico['CONTINGENCY_PROCESSING'][k] - - ###to delete - fileDico = os.path.join(path1, 'dicoN1_process.py') - f = open( str(fileDico), 'w') - f.write("Dico =" + str(dico) ) - f.close() - ### - return dico - - #return self.get_Dico() - - #-------------------# Pour execution avec output et error dans le bash - def process_VP(self): - #-------------------# - if 'dicoImbrique' in generator.plugins: - self.generator=generator.plugins['dicoImbrique']() - jdc_formate=self.generator.gener(self.jdc) - dico=self.get_Dico() #generator.Dico - return dico - - - #--------------------------------# - def ajoutCommentaire(self): - #--------------------------------# - if self.tree.selectedItems()==[] : - QMessageBox.warning( self, tr("Pas de noeud selectionne"),tr("Selectionnez un Noeud \nLe commentaire sera place apres le noeud selectionne")) - return - noeudAvantCommentaire=self.tree.selectedItems()[0] - if noeudAvantCommentaire ==self.tree.racine : - self.tree.racine.append_child("COMMENTAIRE",pos=0) - return - noeudAvantCommentaire.addComment(True) - - - - #--------------------------------# - def _newJDC( self ,units = None): - #--------------------------------# - """ - Initialise un nouveau JDC vierge - """ - self.modified=1 - CONTEXT.unset_current_step() - - texte="" - if self.code == "CARMELCND" : texte=self._newJDCCND() - if self.code == "ZCRACKS" : texte=self._newZCRACKS() - if self.code == "TELEMAC" : texte=self._newTELEMAC() - if self.code == "PSEN" : texte = self._newPSEN() - if self.code == "PSEN_N1" : texte = self._newPSEN_N1() - - if hasattr(self.readercata.cata[0],'TEXTE_NEW_JDC') : texte=self.readercata.cata[0].TEXTE_NEW_JDC - - #if self.code == "CF" : texte = self._new_CF() - # texte=self.newTexteCND - - jdc=self.readercata.cata[0].JdC( procedure =texte, - appli=self, - cata=self.readercata.cata, - cata_ord_dico=self.readercata.cata_ordonne_dico, - rep_mat=self.CONFIGURATION.rep_mat - ) - jdc.lang = self.appli.langue - if units is not None: - jdc.recorded_units=units - jdc.old_recorded_units=units - ## PNPN est ce que la ligne suivante est bien utile ? - if texte == "" :jdc.analyse() - return jdc - - #--------------------------------# - def _newJDCInclude( self ,units = None): - #--------------------------------# - """ - Initialise un nouveau JDC vierge - """ - import Extensions.jdc_include - JdC_aux=Extensions.jdc_include.JdC_include - CONTEXT.unset_current_step() - - jaux=self.readercata.cata[0].JdC( procedure="", - appli=self, - cata=self.readercata.cata, - cata_ord_dico=self.readercata.cata_ordonne_dico, - rep_mat=self.CONFIGURATION.rep_mat, - ) - jaux.analyse() - - J=JdC_aux( procedure="", - appli=self, - cata=self.readercata.cata, - cata_ord_dico=self.readercata.cata_ordonne_dico, - jdc_pere=jaux, - rep_mat=self.CONFIGURATION.rep_mat, - ) - J.analyse() - if units is not None: - J.recorded_units=units - J.old_recorded_units=units - return J - - - #-------------------------------# - def readFile(self, fn): - #--------------------------------# - """ - Public slot to read the text from a file. - @param fn filename to read from (string or QString) - """ - fn = six.text_type(fn) - - # ------------------------------------------------------------------------------------ - # charge le JDC - # ------------------------------------------------------------------------------------ - - jdcName=os.path.basename(fn) - # Il faut convertir le contenu du fichier en fonction du format - if self.appliEficas.format_fichier_in in convert.plugins: - # Le convertisseur existe on l'utilise - #appli = self - p=convert.plugins[self.appliEficas.format_fichier_in]() - p.readfile(fn) - if p.text=="" : self.nouveau=1 - pareil,texteNew=self.verifieCHECKSUM(p.text) - #if texteNew == "" - if pareil == False and (self.appliEficas.ssIhm == False) : - QMessageBox.warning( self, tr("fichier modifie"),tr("Attention! fichier change hors EFICAS")) - p.text=texteNew - memeVersion,texteNew=self.verifieVersionCataDuJDC(p.text) - if memeVersion == 0 : texteNew=self.traduitCatalogue(texteNew) - p.text=texteNew - text=p.convert('exec',self.appliEficas) - if not p.cr.estvide(): - self.affiche_infos("Erreur a la conversion",Qt.red) - else : - self.affiche_infos("Type de fichier non reconnu",Qt.red) - if self.appliEficas.ssIhm == False: - QMessageBox.critical( self, tr("Type de fichier non reconnu"), - tr("EFICAS ne sait pas ouvrir le type de fichier %s" ,self.appliEficas.format_fichier_in)) - return None - - CONTEXT.unset_current_step() - jdc=self.readercata.cata[0].JdC(procedure=text, - appli=self, - cata=self.readercata.cata, - cata_ord_dico=self.readercata.cata_ordonne_dico, - nom=jdcName, - rep_mat=self.CONFIGURATION.rep_mat - ) - # ---------------------------------------------------- - # charge le JDC fin - # ---------------------------------------------------- - self.modified = False - -# qApp.restoreOverrideCursor() - if self.fileInfo!= None : - self.lastModified = self.fileInfo.lastModified() - else : - self.lastModified = 1 - nouveauTitre=self.titre+" "+str(os.path.basename(self.fichier)) - self.appliEficas.setWindowTitle(nouveauTitre) - return jdc - - - #-----------------------# - def get_source(self,file): - #-----------------------# - - # Il faut convertir le contenu du fichier en fonction du format - if self.format in convert.plugins : - # Le convertisseur existe on l'utilise - p=convert.plugins[self.format]() - p.readfile(file) - text=p.convert('execnoparseur') - if not p.cr.estvide(): - self.affiche_infos("Erreur a la conversion",Qt.red) - return text - else: - # Il n'existe pas c'est une erreur - self.affiche_infos("Type de fichier non reconnu",Qt.red) - QMessageBox.critical( self, tr("Type de fichier non reconnu"),tr("EFICAS ne sait pas ouvrir ce type de fichier")) - return None - - #-----------------------------------------------------------------------# - def _viewText(self, txt, caption = "FILE_VIEWER",largeur=1200,hauteur=600): - #--------------------------------------------------------------------# - w = ViewText( self.QWParent,self ,caption,txt,largeur,hauteur) - w.show() - # - - #----------------------------------------------# - def __generateTempFilename(self, prefix, suffix): - #----------------------------------------------# - import tempfile - (fd, filename) = tempfile.mkstemp(prefix=prefix, suffix=suffix) - os.close(fd) - return filename - # - - - #----------------------------------------------# - def _viewTextExecute(self, txt, prefix, suffix): - #----------------------------------------------# - self.w = ViewText( self.QWParent ) - self.w.setWindowTitle( "execution" ) - self.monExe=QProcess(self.w) - pid=self.monExe.pid() - nomFichier = self.__generateTempFilename(prefix, suffix = ".sh") - f=open(nomFichier,'w') - f.write(txt) - f.close() - self.monExe.readyReadStandardOutput.connect( self.readFromStdOut) - self.monExe.readyReadStandardError.connect( self.readFromStdErr) - exe='sh ' + nomFichier - self.monExe.start(exe) - self.monExe.closeWriteChannel() - self.w.exec_() - try: - commande="rm "+ nomFichier - os.system(commande) - except : - pass - - def readFromStdErr(self): - a=self.monExe.readAllStandardError() - self.w.view.append(str(a.data())) - - def readFromStdOut(self) : - a=self.monExe.readAllStandardOutput() - self.w.view.append(str(a.data())) - - def readFromStdErrQT4(self): - a=self.monExe.readAllStandardError() - self.w.view.append(QString.fromUtf8(a.data(),len(a))) ; - - def readFromStdOutQT4(self) : - a=self.monExe.readAllStandardOutput() - self.w.view.append(QString.fromUtf8(a.data(),len(a))) ; - - #-----------------------# - def generDico(self): - #-----------------------# - if 'dico' in generator.plugins: - self.generator=generator.plugins['dico']() - jdc_formate=self.generator.gener(self.jdc) - dico=self.generator.Dico - return dico - - #-----------------------# - def gestionParam(self): - #-----------------------# - w = MonWidgetCreeParam( self) - w.show() - - #-----------------------# - def viewJdcSource(self): - #-----------------------# - if self.fichier == None : return - f=open(self.fichier,'r') - texteSource=f.read() - f.close() - self._viewText(texteSource, "JDC_SOURCE") - - #-----------------------# - def viewJdcPy(self): - #-----------------------# - strSource = str( self.get_text_JDC(self.format) ) - self._viewText(strSource, "JDC_RESULTAT") - - #-----------------------# - def viewJdcRapport(self): - #-----------------------# - strRapport = six.text_type( self.jdc.report() ) - # on ajoute les regles - - self._viewText(strRapport, "JDC_RAPPORT") - - #-----------------------# - def viewJdcRegles(self): - #-----------------------# - if self.tree :self.tree.AppelleBuildLBRegles() - - - #----------------# - def closeIt(self): - #----------------# - """ - Public method called by the viewmanager to finally get rid of us. - """ - if self.jdc: - self.jdc.supprime() - self.close() - - #----------------------------------------------# - def affiche_infos(self,message,couleur=Qt.black): - #----------------------------------------------# - if self.sb: - mapalette=self.sb.palette() - mapalette.setColor( QPalette.WindowText, couleur ) - self.sb.setPalette( mapalette ); - self.sb.showMessage(message,4000) - self.couleur=couleur - - #------------------------------# - def affiche_alerte(self,titre,message): - #------------------------------# - # appele par I_MACRO_ETAPE - QMessageBox.information( self, titre, message) - - #-----------------------------------# - def affiche_commentaire(self,message): - #-----------------------------------# - self.labelCommentaire.setText(message) - QTimer.singleShot(6000, self.rendInvisible) - - #----------------------# - def rendInvisible(self): - #----------------------# - self.labelCommentaire.setText("") - - #-------------------# - def init_modif(self): - #-------------------# - """ - Met l'attribut modified a 'o' : utilise par Eficas pour savoir - si un JDC doit etre sauvegarde avant destruction ou non - """ - self.modified = True - - #---------------------------------------# - def chercheNoeudSelectionne(self,copie=1): - #---------------------------------------# - """ - appele par Cut et Copy pour positionner self.node_selected - """ - self.node_selected=[] - if len(self.tree.selectedItems()) == 0 : return - self.node_selected=self.tree.selectedItems() - - - #---------------------# - def handleSupprimer(self): - #---------------------# - self.chercheNoeudSelectionne() - if len(self.node_selected) == 0 : return - self.QWParent.noeud_a_editer = [] - if self.node_selected[0]==self.tree.racine: return - if len(self.node_selected) == 1 : self.node_selected[0].delete() - else : self.node_selected[0].deleteMultiple(self.node_selected) - - #---------------------# - def handleRechercher(self): - #---------------------# - from .monRecherche import DRecherche - monRechercheDialg=DRecherche(parent=self,fl=0) - monRechercheDialg.show() - - - #--------------------------------# - def handleRechercherDsCatalogue(self): - #-----------------------------# - from .monRechercheCatalogue import DRechercheCatalogue - monRechercheDialg=DRechercheCatalogue(self.QWParent,self) - monRechercheDialg.show() - - #---------------------# - def handleDeplier(self): - #---------------------# - if self.tree == None : return - #self.tree.collapseAll() - if self.deplier : - #print "je plie" - self.tree.expandItem(self.tree.topLevelItem(0)) - self.deplier = False - if self.fenetreCentraleAffichee != None : - if hasattr(self.fenetreCentraleAffichee.node,'plieToutEtReaffiche'): - self.fenetreCentraleAffichee.node.plieToutEtReaffiche() - else: - #print "je deplie" - self.tree.expandItem(self.tree.topLevelItem(0)) - self.deplier = True - if self.fenetreCentraleAffichee != None : - if hasattr(self.fenetreCentraleAffichee.node,'deplieToutEtReaffiche'): - self.fenetreCentraleAffichee.node.deplieToutEtReaffiche() - - #---------------------# - def handleEditCut(self): - #---------------------# - """ - Stocke dans Eficas.noeud_a_editer le noeud a couper - """ - #print "handleEditCut" - self.chercheNoeudSelectionne() - self.QWParent.edit="couper" - self.QWParent.noeud_a_editer = self.node_selected - - #-----------------------# - def handleEditCopy(self): - #-----------------------# - """ - Stocke dans Eficas.noeud_a_editer le noeud a copier - """ - self.chercheNoeudSelectionne() - if len(self.node_selected) == 0 : return - if len(self.node_selected) == 1 : self.node_selected[0].update_node_label_in_blue() - else : self.node_selected[0].update_plusieurs_node_label_in_blue(self.node_selected) - self.QWParent.edit="copier" - self.QWParent.noeud_a_editer = self.node_selected - - #------------------------# - def handleEditPaste(self): - #------------------------# - """ - Lance la copie de l'objet place dans self.QWParent.noeud_a_editer - Ne permet que la copie d'objets de type Commande ou MCF - """ - self.chercheNoeudSelectionne() - if (not(hasattr(self.QWParent,'noeud_a_editer'))) or len(self.QWParent.noeud_a_editer)==0: - QMessageBox.information( self, - tr("Copie impossible"), - tr("Veuillez selectionner un objet a copier")) - return - if len(self.node_selected) != 1 : - QMessageBox.information( self, - tr("Copie impossible"), - tr("Veuillez selectionner un seul objet : la copie se fera apres le noeud selectionne")) - return - noeudOuColler=self.node_selected[0] - - if len(self.QWParent.noeud_a_editer)!=1: - #self.handleEditPasteMultiple() - QMessageBox.information( self, tr("Copie impossible"), tr("Aucun Objet n a ete copie ou coupe")) - return - - noeudACopier=self.QWParent.noeud_a_editer[0] - - if (self.QWParent.edit != "couper"): - #print (noeudOuColler.item.parent.get_child(noeudOuColler.item.nom)) - try: - if noeudOuColler == self.tree.racine : - child=noeudOuColler.doPastePremier(noeudACopier) - else : - child=noeudACopier.doPaste(noeudOuColler,'after') - - if child==None or child==0: - QMessageBox.critical( self,tr( "Copie refusee"),tr('Eficas n a pas reussi a copier l objet')) - self.message = '' - self.affiche_infos("Copie refusee",Qt.red) - if noeudACopier.treeParent.editor != noeudOuColler.treeParent.editor: - try : - nom=noeudACopier.item.sd.nom - child.item.nomme_sd(nom) - except : - pass - return - self.init_modif() - child.select() - except : - traceback.print_exc() - QMessageBox.critical( self,tr( "Copie refusee"),tr('Copie refusee pour ce type d objet')) - self.message = '' - self.affiche_infos("Copie refusee",Qt.red) - return - - # il faut declarer le JDCDisplay_courant modifie - # suppression eventuelle du noeud selectionne - # si possible on renomme l objet comme le noeud couper - - if (self.QWParent.edit == "couper"): - print ('je pass la') - if noeudACopier.treeParent.editor != noeudOuColler.treeParent.editor: - QMessageBox.critical( self, tr("Deplacement refuse"),tr('Deplacement refuse entre 2 fichiers. Seule la copie est autorisee ')) - - #if 1: - try : - # indexNoeudACopier=noeudACopier.treeParent.children.index(noeudACopier) - indexNoeudACopier=self.getTreeIndex(noeudACopier) - noeudACopier.treeParent.item.deplaceEntite(indexNoeudACopier,indexNoeudOuColler,pos) - noeudACopier.treeParent.build_children() - - #else: - except: - pass - self.QWParent.noeud_a_editer=[] - - # on rend la copie a nouveau possible en liberant le flag edit - self.QWParent.edit="copier" - noeudACopier.select() - - #----------------------------------# - def handleDeplaceMultiple(self): - #----------------------------------# - pass - - #----------------------------------# - def handleEditPasteMultiple(self): - #----------------------------------# - - # On ne garde que les niveaux "Etape" - # On insere dans l'ordre du JDC - listeNoeudsACouper=[] - listeIndex=[] - listeChild=[] - listeItem=[] - from InterfaceQT4 import compojdc - noeudOuColler=self.node_selected[0] - if not (isinstance(noeudOuColler.treeParent, compojdc.Node)): - QMessageBox.information( self, - tr("Copie impossible a cet endroit",), - tr("Veuillez selectionner une commande, un parametre, un commentaire ou une macro")) - return - indexNoeudOuColler=noeudOuColler.treeParent.children.index(noeudOuColler) - - for noeud in self.QWParent.noeud_a_editer : - if not (isinstance(noeud.treeParent, compojdc.Node)): continue - indexInTree=noeud.treeParent.children.index(noeud) - indice = 0 - for index in listeIndex: - if index < indexInTree : indice = indice +1 - listeIndex.insert(indice, indexInTree) - listeNoeudsACouper.insert(indice, noeud) - - noeudJdc=noeudOuColler.treeParent - dejaCrees=0 - # on les cree a l'envers parcequ'on ajoute a NoeudOuColler - listeIndex.reverse() - for index in listeIndex: - indexTravail=index - if indexNoeudOuColler < index: - indexTravail=indexTravail+dejaCrees - noeudOuColler=noeudJdc.children[indexNoeudOuColler] - noeud=noeudJdc.children[indexTravail] - child=noeud.doPaste(noeudOuColler) - listeChild.append(child) - dejaCrees=dejaCrees+1 - - self.QWParent.noeud_a_editer = [] - for i in range(len(listeIndex)): - noeud=noeudJdc.children[indexNoeudOuColler+1+i] - self.QWParent.noeud_a_editer.append(noeud) - - listeASupprimer=[] - if self.QWParent.edit !="couper" : return - - for index in listeIndex: - indexTravail=index - if indexNoeudOuColler < index: - indexTravail=indexTravail+(len(listeIndex)) - noeud=noeudJdc.children[indexTravail] - - listeItem.append(noeud.item) - listeASupprimer.append(noeud) - - for i in range(len(listeChild)): - self.tree.item.suppitem(listeItem[i]) - listeChild[i].item.update(listeItem[i]) - - self.QWParent.noeud_a_editer = [] - - - #---------------------# - def getFileName(self): - #---------------------# - return self.fichier - - #---------------------------# - def get_file_variable(self) : - #---------------------------# - titre = tr("Choix d'un fichier XML") - texte = tr("Le fichier contient une commande MODEL\n") - texte = texte+tr('Donnez le nom du fichier XML qui contient la description des variables') - QMessageBox.information( self, titre,tr(texte)) - - fichier = QFileDialog.getOpenFileName(self.appliEficas, - tr('Ouvrir Fichier'), - self.appliEficas.CONFIGURATION.savedir, - tr('Wrapper Files (*.xml);;''All Files (*)')) - return fichier - - #--------------------------------------------------# - def writeFile(self, fn, txt = None,formatLigne="beautifie"): - #--------------------------------------------------# - """ - Public slot to write the text to a file. - - @param fn filename to write to string - @return flag indicating success - """ - - fn = six.text_type(fn) - - if txt == None : - txt = self.get_text_JDC(self.format,formatLigne=formatLigne) - eol = '\n' - if len(txt) >= len(eol): - if txt[-len(eol):] != eol: - txt += eol - else: - txt += eol - txt=self.ajoutVersionCataDsJDC(txt) - checksum=self.get_checksum(txt) - txt=txt+checksum - if self.code=="TELEMAC" : return 1 - try: - f = open(fn, 'w') - f.write(txt) - f.close() - return 1 - except IOError as why: - if (self.appliEficas.ssIhm == False): - QMessageBox.critical(self, tr('Sauvegarde du Fichier'), - tr('Le fichier')+str(fn) + tr('n a pas pu etre sauvegarde : ') + str(why)) - else : - print (why) - return 0 - - #-----------------------------------------------------------# - def get_text_JDC(self,format,pourRun=0,formatLigne="beautifie"): - #-----------------------------------------------------------# - if self.code == "MAP" and not(format in generator.plugins): format = "MAP" - if format in generator.plugins: - - # Le generateur existe on l'utilise - self.generator=generator.plugins[format]() - try : - jdc_formate=self.generator.gener(self.jdc,format=formatLigne,config=self.appliEficas.CONFIGURATION,appli=self.appliEficas) - if pourRun : jdc_formate=self.generator.textePourRun - if self.code == 'TELEMAC' : jdc_formate=self.generator.texteDico - except ValueError as e: - QMessageBox.critical(self, tr("Erreur a la generation"),str(e)) - return - - if not self.generator.cr.estvide(): - self.affiche_infos(tr("Erreur a la generation"),Qt.red) - QMessageBox.critical( self, tr("Erreur a la generation"),tr("EFICAS ne sait pas convertir ce JDC")) - return "" - else: - return jdc_formate - else: - # Il n'existe pas c'est une erreur - self.affiche_infos(tr("Format %s non reconnu" , self.format),Qt.red) - QMessageBox.critical( self, "Format non reconnu" ,tr("EFICAS ne sait pas convertir le JDC selon le format "+ self.format)) - return "" - - #----------------------# - def get_Dico(self): - #---------------------# - if 'dicoImbrique' in generator.plugins: - self.generator=generator.plugins['dicoImbrique']() - jdc_formate=self.generator.gener(self.jdc) - dico=self.generator.Dico - return dico - else : - self.affiche_infos(tr("Format %s non reconnu" , self.format),Qt.red) - QMessageBox.critical( self, "Format non reconnu" ,tr("EFICAS ne sait pas convertir le JDC selon le format "+ self.format)) - return "" - - - #------------# - def run(self): - #------------# - fonction="run"+self.code - #print fonction - if fonction in JDCEditor.__dict__: JDCEditor.__dict__[fonction],(self,) - - #------------# - def saveRun(self): - #------------# - fonction="saveRun"+self.code - if fonction in JDCEditor.__dict__: JDCEditor.__dict__[fonction],(self,) - - #---------------# - def runMAP(self): - #---------------# - - if not(self.jdc.isvalid()): - QMessageBox.critical( self, tr( "Execution impossible "),tr("le JDC doit etre valide pour une execution MAP")) - return - if len(self.jdc.etapes) != 1 : - QMessageBox.critical( self, tr("Execution impossible "),tr("le JDC doit contenir un et un seul composant")) - return - if self.modified or self.fichier==None : - self.fichierMapInput = self.__generateTempFilename(prefix = "map_run", suffix = ".map") - texte=self.get_text_JDC("MAP") - self.writeFile( self.fichierMapInput, txt = texte) - else : - self.fichierMapInput=self.fichier - composant=self.jdc.etapes[0].nom.lower()[0:-5] - - - # :TRICKY: to determine if a component requires SALOME, loads the component from Eficas catalog - # then instantiate corresponding class and call getUseSalome() method - try: - from mapengine.spec import factory - mapComponent = factory.new(composant)[0] - - command = "map" - if mapComponent.getUseSalome(): - command += " -r sappli" - textePython=(command + " run -n "+composant +" -i "+self.fichierMapInput) - - #textePython="ls -l" - self._viewTextExecute( textePython,"map_run",".sh") - #try: - # commande="rm "+self.fichierMapInput - # os.system(commande) - #except : - # pass - except Exception as e: - print((traceback.print_exc())) - - #-------------------# - def runZCRACKS(self): - #-------------------# - if not(self.jdc.isvalid()): - QMessageBox.critical( self, tr( "Execution impossible "),tr("le JDC doit etre valide pour une execution ")) - return - if self.modified or self.fichier==None : - #if 1: - self.fichierZcracksInput = self.__generateTempFilename(prefix = "zcracks_run", suffix = ".z7p") - texte=self.get_text_JDC("ZCRACKS",pourRun=1) - self.writeFile( self.fichierZcracksInput, txt = texte) - else : - self.fichierZcracksInput=self.fichier - try : - #commande ="Zrun -zp " - commande="more " - textePython=(commande + self.fichierZcracksInput) - self._viewTextExecute( textePython,"run_zcracks",".sh") - except Exception as e: - print((traceback.print_exc())) - - #-------------------# - def runCARMELCND(self): - #-------------------# - #if not(self.jdc.isvalid()): - # QMessageBox.critical( self, tr( "Execution impossible "),tr("le JDC doit etre valide pour une execution ")) - # return - if self.modified or self.fichier==None : - QMessageBox.critical( self, tr( "Execution impossible "),tr("Sauvegarder SVP avant l'execution ")) - return - if not hasattr(self,'generator'): texte=self.get_text_JDC(self.format) - from PrepareRunCarmel import prepareRunCarmel - fichierGenerique=os.path.basename(self.fichier).split(".")[0] - repMed=os.path.dirname(self.fichier) - repExeCarmel=self.generator.get_repExeCarmel() - textePython=prepareRunCarmel(repExeCarmel,repMed,fichierGenerique) - nomFichier = self.__generateTempFilename("carmel_run", suffix = ".sh") - f=open(nomFichier,'w') - f.write(textePython) - f.close() - commande="xterm -e sh "+nomFichier +"\n" - os.system(commande) - - #-------------------# - def runCarmelCS(self): - #-------------------# - try : - commande="runSession pilotyacsCS.py" - os.system(commande) - except Exception as e: - print((traceback.print_exc())) - - #-----------------------------------------------------# - def determineNomFichier(self,path,extension): - #-----------------------------------------------------# - if self.appli.code in DictExtensions: - chaine1="JDC (*"+DictExtensions[self.appli.code]+");;" - extensions= tr(chaine1+ "All Files (*)") - else : - extensions= tr("JDC (*.comm);;" "All Files (*)") - - if self.appli.code == "MAP" : - extensions = extensions + ";; Run (*.input);;" - - fn = QFileDialog.getSaveFileName( self, - tr("sauvegarde"), path, - extensions,None, - QFileDialog.DontConfirmOverwrite) - if fn == None : return (0, None) - fn=fn[0] - if fn=='': return (0, None) - - ext = QFileInfo(fn).suffix() - if ext == '': fn+=extension - - if QFileInfo(fn).exists(): - msgBox = QMessageBox(self) - msgBox.setWindowTitle(tr("Sauvegarde du Fichier")) - msgBox.setText(tr("Le fichier %s existe deja.", six.text_type(fn))) - msgBox.addButton(tr("&Ecraser"),0) - msgBox.addButton(tr("&Abandonner"),1) - abort=msgBox.exec_() - if abort == 1 : return (0, "") - return (1,fn) - - #-----------------# - def saveRunMAP(self): - #-----------------# - extension=".input" - if not(self.jdc.isvalid()): - QMessageBox.critical( self, tr( "Sauvegarde de l'input impossible "), - tr("Un JdC valide est necessaire pour creer un .input") - ) - return - try : - composant=self.jdc.etapes[0].nom.lower()[0:-5] - except : - QMessageBox.critical( self, tr( "Sauvegarde de l'input impossible "), - tr("Choix du composant obligatoire") - ) - return - if hasattr(self.CONFIGURATION, "savedir"): path=self.CONFIGURATION.savedir - else : path='C:/' - - monNomFichier="" - if self.fichier is not None and self.fichier != "" : - maBase=str(QFileInfo(self.fichier).baseName())+".input" - monPath=str(QFileInfo(self.fichier).absolutePath()) - monNomFichier=os.path.join(monPath,maBase) - elif hasattr(self,'monNomFichierInput'): - monNomFichier=self.monNomFichierInput - - - monDialog=QFileDialog(self.appliEficas) - monDialog.setDirectory (path) - monDialog.setWindowTitle ("Save") - - for c in monDialog.children(): - if isinstance(c,QDialogButtonBox): - for b in c.children(): - if isinstance(b,QPushButton): - avant=b.text() - if avant=="&Open": b.setText("Save") - mesFiltres= "input Map (*.input);;All Files (*)" - monDialog.setNameFilters(mesFiltres) - if monNomFichier!="" : monDialog.selectFile(monNomFichier) - BOk=monDialog.exec_() - if BOk==0: return - fn=str(monDialog.selectedFiles()[0]) - if fn == "" or fn == None : return - if not fn.endswith(".input"): - fn += ".input" - self.monNomFichierInput=fn - - if not hasattr(self, 'fichierMapInput') or not self.fichierMapInput or not os.path.exists(self.fichierMapInput): - self.fichierMapInput = self.__generateTempFilename(prefix = "map_run", suffix = ".map") - texte=self.get_text_JDC("MAP") - self.writeFile( self.fichierMapInput, txt = texte) - - cmd = ("map gen -t dat -n " + composant + " -i " + self.fichierMapInput + " -o " + fn) - p = subprocess.Popen(cmd, shell=True, stdout=subprocess.PIPE) - (output, err) = p.communicate() - - - #-----------------# - def saveRunPSEN(self): - #-----------------# - #print ("saveRunPSEN") - self.saveFile() - - - #-----------------------------------------# - def cherche_Groupes(self): - #-----------------------------------------# - listeMA,listeNO=self.get_text_JDC("GroupMA") - return listeMA,listeNO - - #-----------------------------------------# - def cherche_Dico(self): - #-----------------------------------------# - dicoCourant={} - format = self.appliEficas.format_fichier - if format in generator.plugins: - # Le generateur existe on l'utilise - self.generator=generator.plugins[format]() - jdc_formate=self.generator.gener(self.jdc,format='beautifie',config=self.appliEficas.CONFIGURATION) - dicoCourant=self.generator.dico - return dicoCourant - - - - #-----------------------------------------# - def handleAjoutGroup(self,listeGroup): - #-----------------------------------------# - try : - #if 1: - from ajoutGroupe import handleAjoutGroupFiltre - #print listeGroup - handleAjoutGroupFiltre(self,listeGroup) - #print "apres handleAjoutGroupFiltre" - except : - #else : - pass - - #-----------------------------------------------------------------# - def saveFileLeger(self, path = None, saveas= 0,formatLigne="beautifie"): - #-----------------------------------------------------------------# - extension='.casR' - fn = self.fichier - #saveas=True # Pour forcer le nom - self.generator=generator.plugins[self.format]() - if self.fichier is None or saveas: - if path is None: path=self.CONFIGURATION.savedir - bOK, fn=self.determineNomFichier(path,extension) - if bOK == 0 : return (0, None) - if fn == None : return (0, None) - if fn== '' : return (0, None) - - ulfile = os.path.abspath(six.text_type(fn)) - self.appliEficas.CONFIGURATION.savedir=os.path.split(ulfile)[0] - fn = six.text_type(QDir.toNativeSeparators(fn)) - - self.fichier = os.path.splitext(fn)[0]+extension - - if hasattr(self.generator, "writeLeger"): - self.generator.writeLeger(self.fichier,self.jdc,config=self.appliEficas.CONFIGURATION,appli=self.appliEficas) - - if self.salome : self.appliEficas.addJdcInSalome( self.fichier) - - self.modified = 0 - nouveauTitre=self.titre+" "+str(os.path.basename(self.fichier)) - self.appliEficas.setWindowTitle(nouveauTitre) - return (1, self.fichier) - - #-----------------------------------------------------------------# - def saveFile(self, path = None, saveas= 0,formatLigne="beautifie"): - #-----------------------------------------------------------------# - """ - Public slot to save the text to a file. - - @param path directory to save the file in (string or QString) - @return tuple of two values (boolean, string) giving a success indicator and - the name of the saved file - """ - - self.modified=1 - if not self.modified and not saveas: - return (0, None) # do nothing if text wasn't changed - - if self.appli.code in DictExtensions : - extension=DictExtensions[self.appli.code] - else : - extension='.comm' - - newName = None - fn = self.fichier - if self.fichier is None or saveas: - if path is None: path=self.CONFIGURATION.savedir - bOK, fn=self.determineNomFichier(path,extension) - if bOK == 0 : return (0, None) - if fn == None : return (0, None) - if fn== '' : return (0, None) - - ulfile = os.path.abspath(six.text_type(fn)) - self.appliEficas.CONFIGURATION.savedir=os.path.split(ulfile)[0] - fn = six.text_type(QDir.toNativeSeparators(fn)) - newName = fn - - - if not (self.writeFile(fn,formatLigne=formatLigne)): return (0, None) - self.fichier = fn - self.modified = False - if self.fileInfo is None or saveas: - self.fileInfo = QFileInfo(self.fichier) - self.fileInfo.setCaching(0) - self.lastModified = self.fileInfo.lastModified() - if newName is not None: - self.appliEficas.addToRecentList(newName) - self.tree.racine.item.getObject().nom=os.path.basename(newName) - self.tree.racine.update_node_label() - - if self.jdc.isvalid() != 0 and hasattr(self.generator, "writeDefault"): - self.generator.writeDefault(fn) - elif self.code=="TELEMAC" and hasattr(self.generator, "writeDefault"): - self.generator.writeDefault(fn) - - if self.salome : - self.appliEficas.addJdcInSalome( self.fichier) - self.modified = 0 - nouveauTitre=self.titre+" "+str(os.path.basename(self.fichier)) - self.appliEficas.setWindowTitle(nouveauTitre) - - return (1, self.fichier) -# - - #----------------------------------------------# - def sauveLigneFile(self): - #----------------------------------------------# - self.modified=1 - return self.saveFile(formatLigne="Ligne") - - - #----------------------------------------------# - def saveFileAs(self, path = None,fileName=None): - #----------------------------------------------# - """ - Public slot to save a file with a new name. - - @param path directory to save the file in (string or QString) - @return tuple of two values (boolean, string) giving a success indicator and - the name of the saved file - """ - if fileName != None : - self.fichier = fileName - return self.saveFile() - return self.saveFile(path,1,"beautifie") - - - - #---------------------------------------------# - def get_file(self,unite=None,fic_origine = ''): - #---------------------------------------------# - # appele par I_JDC - ulfile = None - jdcText = "" - - titre = "" - - if unite : - titre = tr("Choix unite %d ", unite) - texte = tr("Le fichier %s contient une commande INCLUDE \n", str(fic_origine)) +"\n" - texte = texte+ tr("Donnez le nom du fichier correspondant a l unite logique ") + repr(unite) - labeltexte = tr('Fichier pour unite ') + repr( unite) - else: - titre = tr("Choix d'un fichier de poursuite") - texte = tr("Le fichier %s contient une commande POURSUITE\n", fic_origine) - texte = texte+tr('Donnez le nom du fichier dont vous \n voulez faire une poursuite') - - QMessageBox.information( self, titre,texte) - fn = QFileDialog.getOpenFileName(self.appliEficas, - titre, - self.appliEficas.CONFIGURATION.savedir) - - # ce retour est impose par le get_file d'I_JDC - if fn== '' : return None," " - if not fn : return (0, " ") - fn=fn[0] - - ulfile = os.path.abspath(six.text_type(fn)) - self.appliEficas.CONFIGURATION.savedir=os.path.split(ulfile)[0] - - # On utilise le convertisseur defini par format_fichier - source=self.get_source(ulfile) - if source: - # On a reussia convertir le fichier self.ulfile - jdcText = source - else: - # Une erreur a ete rencontree - jdcText = '' - return ulfile, jdcText - - #-------------------------------# - def updateJdc(self, itemApres,texte): - #--------------------------------# - monItem=itemApres - etape=monItem.item.object - - CONTEXT.set_current_step(etape) - etape.build_includeInclude(texte) - self.tree.racine.build_children() - - #-------------------------------------# - def deleteEtape(self,etape): - #-------------------------------------# - self.jdc.suppentite(etape) - - #-------------------------------------# - def deleteMC(self,etape,MCFils,listeAvant=()): - #-------------------------------------# - ouChercher=etape - for mot in listeAvant : - ouChercher=ouChercher.get_child(mot,restreint="oui") - monMC=ouChercher.get_child(MCFils,restreint="oui") - if monMC != None : ouChercher.suppentite(monMC) - ouChercher.state='changed' - ouChercher.isvalid() - - #-------------------------------------# - def ajoutMC(self,etape,MCFils,valeurs,listeAvant=()): - #-------------------------------------# - ouChercher=etape - for mot in listeAvant : - ouChercher=ouChercher.get_child(mot,restreint="oui") - monMC=etape.get_child(ouChercher,restreint="oui") - if monMC== None : monMC= ouChercher.addentite(MCFils) - monMC.valeur=valeurs - monMC.val=valeurs - monMC.state='changed' - monMC.isvalid() - - #-------------------------------------# - def getValeur(self,nomEtape,MCFils,listeAvant=()): - #-------------------------------------# - - ouChercher=None - for e in self.jdc.etapes: - if e.nom == nomEtape : ouChercher=e; break - if ouChercher==None : return None - for mot in listeAvant : - ouChercher=ouChercher.get_child(mot,restreint="oui") - if ouChercher==None : return None - monMC=ouChercher.get_child(MCFils,restreint="oui") - if monMC== None : return None - return monMC.valeur - - #-----------------------------------------------------------# - def changeIntoMC(self,etape,MCFils,valeurs, listeAvant=()): - #-----------------------------------------------------------# - ouChercher=etape - if isinstance (etape, str): - ouChercher=None - for e in self.jdc.etapes: - if e.nom == etape : ouChercher=e; break - if ouChercher==None : return - - for mot in listeAvant : - ouChercher=ouChercher.get_child(mot,restreint="oui") - if ouChercher==None : return - monMC=ouChercher.get_child(MCFils,restreint="oui") - if monMC== None : monMC= ouChercher.addentite(MCFils) - - monMC.definition.into=valeurs - from Noyau.N_VALIDATOR import IntoProtocol - monMC.definition.intoProto = IntoProtocol("into", into=monMC.definition.into, val_min=monMC.definition.val_min, val_max=monMC.definition.val_max) - monMC.state='changed' - monMC.isvalid() - - #-------------------------------------------------------------------# - def reCalculeValiditeMCApresChgtInto(self,nomEtape,MCFils,listeAvant=()): - #-------------------------------------------------------------------# - for e in self.jdc.etapes: - if e.nom == nomEtape : ouChercher=e; break - - for mot in listeAvant : - try : - ouChercher=ouChercher.get_child(mot,restreint="oui") - # Le mot clef n est pas la - except : return 0 - try : - monMC=ouChercher.get_child(MCFils,restreint="oui") - # Le mot clef n est pas la - except : return 0 - if monMC == None : return 0 - - if hasattr(monMC.definition,'into') : - if type(monMC.definition.into) ==types.FunctionType : maListeDeValeur=monMC.definition.into() - else : maListeDeValeur=monMC.definition.into - else : - return 0 - - monMC.state='changed' - return 1 - - #-------------------------------------# - def changeDefautDefMC(self,nomEtape,listeMC,valeurs): - #-------------------------------------# - - #if isinstance (etape, str): - # for e in self.jdc.etapes: - # if e.nom == etape : etape=e; break - #if etape == None : return - definitionEtape=getattr(self.jdc.cata[0],nomEtape) - ouChercher=definitionEtape - if len(listeMC) > 1 : - - for mc in listeMC[0:-1]: - mcfact=ouChercher.entites[mc] - ouChercher=mcfact - - mcAccas=ouChercher.entites[listeMC[-1]] - mcAccas.defaut=valeurs - return 1 - - #------------------------------------------------# - def changeIntoDefMC(self,nomEtape,listeMC,valeurs): - #------------------------------------------------# - definitionEtape=getattr(self.jdc.cata[0],nomEtape) - ouChercher=definitionEtape - - if len(listeMC) > 1 : - for mc in listeMC[0:-1]: - mcfact=ouChercher.entites[mc] - ouChercher=mcfact - mcAccas=ouChercher.entites[listeMC[-1]] - - if hasattr(mcAccas,'into') : oldValeurs=mcAccas.into - else : oldValeurs=None - if oldValeurs==valeurs : return 0 - - mcAccas.into=valeurs - from Noyau.N_VALIDATOR import IntoProtocol - mcAccas.intoProto = IntoProtocol("into", into=valeurs, val_min=mcAccas.val_min, val_max=mcAccas.val_max) - return 1 - - #-------------------------------------------------------------# - def deleteDefinitionMC(self,etape,listeAvant,nomDuMC): - #-------------------------------------------------------------# - #print 'in deleteDefinitionMC', etape,listeAvant,nomDuMC - if isinstance (etape, str): - for e in self.jdc.etapes: - if e.nom == etape : etape=e; break - if etape == None : return - definitionEtape=getattr(self.jdc.cata[0],etape) - ouChercher=definitionEtape - for k in listeAvant : - ouChercher=ouChercher.entites[k] - MCADetruire=ouChercher.entites[nomDuMC] - ouChercher.ordre_mc.remove(nomDuMC) - del ouChercher.entites[nomDuMC] - del self.dicoNouveauxMC[nomDuMC] - - - #-------------------------------------------------------------# - def ajoutDefinitionMC(self,nomEtape,listeAvant,nomDuMC,typ,**args): - #-------------------------------------------------------------# - definitionEtape=getattr(self.jdc.cata[0],nomEtape) - ouChercher=definitionEtape - for k in listeAvant : - ouChercher=ouChercher.entites[k] - from Accas import A_SIMP - Nouveau=A_SIMP.SIMP(typ,**args) - Nouveau.pere=ouChercher - Nouveau.nom=nomDuMC - #Nouveau.ordre_mc=[] - ouChercher.entites[nomDuMC]=Nouveau - ouChercher.ordre_mc.append(nomDuMC) - self.dicoNouveauxMC[nomDuMC]=('ajoutDefinitionMC',nomEtape,listeAvant,nomDuMC,typ,args) - #print self.dicoNouveauxMC - - #---------------------------------------------------------------------# - def ajoutDefinitionMCFact(self,nomEtape,listeAvant,nomDuMC,listeMC,**args): - #---------------------------------------------------------------------# - print ('ajoutDefinitionMCFact', nomDuMC) - definitionEtape=getattr(self.jdc.cata[0],nomEtape) - ouChercher=definitionEtape - for k in listeAvant : - ouChercher=ouChercher.entites[k] - from Accas import A_SIMP - for mc in listeMC : - nomMC=mc[0] - typMC=mc[1] - argsMC=mc[2] - nouveauMC=A_SIMP.SIMP(typMC,**argsMC) - nouveauMC.nom=nomMC - args[nomMC]=nouveauMC - from Accas import A_FACT - nouveauFact=A_FACT.FACT(**args) - nouveauFact.pere=ouChercher - nouveauFact.nom=nomDuMC - from Editeur.autre_analyse_cata import traite_entite - traite_entite(nouveauFact,[]) - ouChercher.entites[nomDuMC]=nouveauFact - ouChercher.ordre_mc.append(nomDuMC) - self.dicoNouveauxFact[nomDuMC]=('ajoutDefinitionMC',nomEtape,listeAvant,nomDuMC,listeMC,args) - #print self.dicoNouveauxMC - - #----------------------------------------------------# - - #----------------------------------------------------# - def changeIntoMCandSet(self,etape,listeMC,into,valeurs): - #----------------------------------------------------# - - self.changeIntoDefMC(etape,listeMC,into) - - if isinstance (etape, str): - for e in self.jdc.etapes: - if e.nom == etape : etape=e; break - if etape == None : return - - ouChercher = etape - for mot in listeMC[:-1] : - ouChercher=ouChercher.get_child(mot,restreint="oui") - if ouChercher==None : return - MCFils=listeMC[-1] - print (MCFils) - monMC=ouChercher.get_child(MCFils,restreint="oui") - if monMC== None : monMC= etape.addentite(MCFils) - print (monMC) - - monMC.definition.into=into - monMC.valeur=valeurs - monMC.val=valeurs - monMC.state='changed' - monMC.isvalid() - - #-------------------------------------# - def ajoutVersionCataDsJDC(self,txt): - #-------------------------------------# - if not hasattr(self.readercata.cata[0],'VERSION_CATALOGUE'): return txt - ligneVersion="#VERSION_CATALOGUE:"+self.readercata.cata[0].VERSION_CATALOGUE+":FIN VERSION_CATALOGUE\n" - texte=txt+ligneVersion - return texte - - #-------------------------------------# - def verifieVersionCataDuJDC(self,text): - #-------------------------------------# - memeVersion=False - indexDeb=text.find("#VERSION_CATALOGUE:") - indexFin=text.find(":FIN VERSION_CATALOGUE") - if indexDeb < 0 : - self.versionCataDuJDC="sans" - textJDC=text - else : - self.versionCataDuJDC=text[indexDeb+19:indexFin] - textJDC=text[0:indexDeb]+text[indexFin+23:-1] - - self.versionCata="sans" - if hasattr(self.readercata.cata[0],'VERSION_CATALOGUE'): self.versionCata=self.readercata.cata[0].VERSION_CATALOGUE - - if self.versionCata==self.versionCataDuJDC : memeVersion=True - return memeVersion,textJDC - - #-------------------------------# - def traduitCatalogue(self,texte): - #-------------------------------# - nomTraducteur="traduit"+self.readercata.code+self.versionCataDuJDC+"To"+self.versionCata - sys.path.append(os.path.abspath(os.path.join(os.path.dirname(os.path.abspath(__file__)),"../Traducteur"))) - try : - traducteur=__import__(nomTraducteur) - monTraducteur=traducteur.MonTraducteur(texte) - nouveauTexte=monTraducteur.traduit() - return nouveauTexte - except : - return texte - - - #------------------------------# - def verifieCHECKSUM(self,text): - #------------------------------# - indexDeb=text.find("#CHECKSUM:") - if indexDeb < 0 : - return 1, text - indexFin=text.find(":FIN CHECKSUM") - checkAvant=text[indexDeb:indexFin+13] - textJDC=text[0:indexDeb]+text[indexFin+13:-1] - checksum=self.get_checksum(textJDC) - pareil=(checkAvant==checksum) - return pareil, textJDC - - #---------------------------# - def get_checksum(self,texte): - #---------------------------# - newtexte=texte.replace('"','\\"') - commande='echo "'+newtexte+'"|md5sum' - a=os.popen(commande) - checksum=a.read() - a.close() - ligne="#CHECKSUM:"+checksum[0:-1]+":FIN CHECKSUM" - return ligne - - - #---------------------------# - def _new_CF(self): - #---------------------------# - texte="CONDUITE_FORCEE();" - return texte - - - #---------------------------# - def _newTELEMAC(self): - #---------------------------# - #texte="INITIALIZATION();BOUNDARY_CONDITIONS();GENERAL_PARAMETERS();PHYSICAL_PARAMETERS();NUMERICAL_PARAMETERS();" - texte="COMPUTATION_ENVIRONMENT();HYDRO();GENERAL_PARAMETERS();NUMERICAL_PARAMETERS()" - #texte="TRACERS();" - return texte - - #---------------------------# - def _newPSEN(self): - #---------------------------# - texte="DIRECTORY() ; PSSE_PARAMETERS() ; SIMULATION() ; sansnom=DISTRIBUTION() ; sansnom=DISTRIBUTION() ; CORRELATION() ;" - #texte="" - return texte - - #---------------------------# - def _newPSEN_N1(self): - #---------------------------# - texte="CASE_SELECTION();N_PROCESSING_OPTIONS();CONTINGENCY_OPTIONS();CONTINGENCY_SELECTION();\nCONTINGENCY_PROCESSING(); " - texte="CONTINGENCY_SELECTION();\nCONTINGENCY_PROCESSING(); " - return texte - - #---------------------------# - - #---------------------------# - def _newZCRACKS(self): - #---------------------------# - texte="MAILLAGES();REMESHING();" - return texte - - #---------------------------# - def _newJDCCND(self): - #---------------------------# - extensions=tr('Fichiers Med (*.med);;''Tous les Fichiers (*)') - - #if self.salome == 0 : - QMessageBox.information( self, - tr("Fichier Med"), - tr("Veuillez selectionner un fichier Med")) - QSfichier = QFileDialog.getOpenFileName(self.appliEficas, - caption='Fichier Med', - filter=extensions) - QSfichier=QSfichier[0] - self.fichierMED=QSfichier - from acquiertGroupes import getGroupes - erreur,self.listeGroupes,self.nomMaillage,self.dicoCoord=getGroupes(self.fichierMED) - if erreur != "" : print ("a traiter") - texteComm="COMMENTAIRE(u'Cree - fichier : "+self.fichierMED +" - Nom Maillage : "+self.nomMaillage+"');\nPARAMETRES()\n" - texteSources="" - texteCond="" - texteNoCond="" - texteVcut="" - texteZs="" - for groupe in self.listeGroupes : - if groupe[0:8]=='CURRENT_': - texteSources +=groupe[8:]+"=SOURCE(" - texteSources +="VecteurDirecteur=(1.0,2.0,3.0,),);\n" - if groupe[0:5]=='COND_': texteCond +=groupe[5:]+"=CONDUCTEUR();\n" - if groupe[0:7]=='NOCOND_': texteNoCond +=groupe[7:]+"=NOCOND();\n" - if groupe[0:5]=='VCUT_': texteVcut +='V_'+groupe[5:]+"=VCUT();\n" - if groupe[0:3]=='ZS_': texteZs +=groupe[3:]+"=ZS();\n" - texte=texteComm+texteSources+texteCond+texteNoCond+texteVcut+texteZs - self.newTexteCND=texte - self.modified=1 - return texte - - - #---------------------------# - def BoutonFileSelected(self): - #---------------------------# - - QSfichier=self.openfile.selectedFiles()[0] - self.fichierMED=str(QSfichier) - from acquiertGroupes import getGroupes - erreur,self.listeGroupes,self.nomMaillage=getGroupes(self.fichierMED) - if erreur != "" : print ("a traiter") - - #----------------------------- - def BoutonSalomePressed(self): - #---------------------------- - Msg,self.listeGroupes=self.appliEficas.ChercheGrpMailleInSalome() - self.fichierMED="A_partir_de_SMESH" - self.nomMaillage="A_partir_de_SMESH" - self.openfile.close() - - - #----------------------------------------- - def initSplitterSizes(self, nbWidget=3): - #----------------------------------------- - #print ("je passe ds initSplitterSizes", nbWidget) - - if self.code in [ 'Adao', 'ADAO', ] : self.splitterSizes3=[1,1550,150] - elif self.code in [ 'MAP'] : self.splitterSizes3=[700,300] - else : self.splitterSizes3=[150,1000,300] - - if self.code in [ 'Adao', 'ADAO', ] : self.splitterSizes2=[5,1500] - else : self.splitterSizes2=[300,1000] - - - - #----------------------------------------- - def restoreSplitterSizes(self,nbWidget=3): - #---------------------------------------- - - #traceback.print_stack() - #print ("je passe ds restoreSplitterSizes") - if not(hasattr(self,'splitter')) : return - if nbWidget==2 : newSizes=self.splitterSizes2 - if nbWidget==3 : newSizes=self.splitterSizes3 - #self.inhibeSplitter = 1 - self.splitter.setSizes(newSizes) - #self.inhibeSplitter = 0 - QApplication.processEvents() - # seule la fentetre du milieu est necessaire - self.splitter.widget(1).resizeEvent=self.saveSplitterSizes - - #----------------------------------------- - def saveSplitterSizes(self,event): - #----------------------------------------- - #print ("je passe ds saveSplitterSizes") - if self.inhibeSplitter : return - if self.widgetOptionnel == None : self.splitterSizes2 = self.splitter.sizes()[0:2] - else : self.splitterSizes3 = self.splitter.sizes()[0:3] - - #------------------------ - def fermeOptionnel(self): - #------------------------ - if self.widgetOptionnel == None : return - - self.inhibeSplitter=1 - self.widgetOptionnel.setParent(None) - self.widgetOptionnel.close() - self.widgetOptionnel.deleteLater() - self.widgetOptionnel=None - self.inhibeSplitter=0 - self.restoreSplitterSizes(2) - - #------------------------ - def ajoutOptionnel(self): - #------------------------ - #if len(self.splitterSizes) == 2 : self.splitterSizes.append(self.oldSizeWidgetOptionnel) - #else : self.splitterSizes[2] = self.oldSizeWidgetOptionnel # ceinture pour les close bizarres - #self.splitterSizes[1] = self.splitterSizes[1] - self.splitterSizes[2] - - self.restoreSplitterSizes(3) - - - #------------------------ - def fermeArbre(self): - #------------------------ - #print (self.widgetTree) - self.oldWidgetTree=self.widgetTree - self.widgetTree.hide() - #self.widgetTree=None - - #------------------------ - def ouvreArbre(self): - #------------------------ - #print ('je passe la') - #print (self.widgetTree) - #self.widgetTree=self.oldWidgetTree - self.widgetTree.show() - #self.restoreSplitterSizes(3) - - #----------------------------- - def getTreeIndex(self,noeud): - #---------------------------- - indexNoeud=-1 - if noeud in noeud.treeParent.children : - indexNoeud=noeud.treeParent.children.index(noeud) - else : - if hasattr(noeud,'vraiParent') : - noeudVrai = noeud - noeudVraiParent = noeud.vraiParent - while noeudVraiParent != noeud.treeParent and hasattr(noeudVraiParent,'vraiParent') : - noeudVrai = noeudVraiParent - noeudVraiParent = noeudVraiParent.vraiParent - pass - if noeudVraiParent == noeud.treeParent : - indexNoeud=noeud.treeParent.children.index(noeudVrai) - pass - pass - pass - return indexNoeud - -if __name__ == "__main__": - self.code='ASTER' - name='prefs_'+prefs.code - prefsCode=__import__(name) - - - if hasattr(prefsCode,'encoding'): - # Hack pour changer le codage par defaut des strings - import sys - reload(sys) - sys.setdefaultencoding(prefs.encoding) - del sys.setdefaultencoding - # Fin hack - -# code=options.code -# - app = QApplication(sys.argv) - mw = JDCEditor(None,'azAster.comm') - app.setMainWidget(mw) - app.connect(app, SIGNAL("lastWindowClosed()"), app, SLOT("quit()")) - mw.show() - - res = app.exec_loop() - sys.exit(res) diff --git a/boundary_conditions/CMakeLists.txt b/boundary_conditions/CMakeLists.txt deleted file mode 100644 index 9d5d3202..00000000 --- a/boundary_conditions/CMakeLists.txt +++ /dev/null @@ -1,32 +0,0 @@ -# Copyright (C) 2012-2013 EDF -# -# This file is part of SALOME HYDRO module. -# -# SALOME HYDRO module 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 3 of the License, or -# (at your option) any later version. -# -# SALOME HYDRO module 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 SALOME HYDRO module. If not, see . - -# --- Python files --- - -SET(PYFILES - __init__.py - configuration_boundary_conditions.py - prefs_boundary_conditions.py - prefs.py - boundary_conditions_cata.py - appli.py - generator_boundary_conditions.py -) - -# --- rules --- - -SALOME_INSTALL_SCRIPTS("${PYFILES}" ${SALOME_INSTALL_PYTHON}/salome/hydro/boundary_conditions/eficas) diff --git a/mascaret/CMakeLists.txt b/mascaret/CMakeLists.txt deleted file mode 100644 index deb3c655..00000000 --- a/mascaret/CMakeLists.txt +++ /dev/null @@ -1,31 +0,0 @@ -# Copyright (C) 2012-2013 EDF -# -# This file is part of SALOME HYDRO module. -# -# SALOME HYDRO module 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 3 of the License, or -# (at your option) any later version. -# -# SALOME HYDRO module 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 SALOME HYDRO module. If not, see . - -# --- Python files --- - -SET(PYFILES - __init__.py - appli.py - configuration_mascaret.py - prefs_mascaret.py - prefs.py - mascaret_V7_cata.py -) - -# --- rules --- - -SALOME_INSTALL_SCRIPTS("${PYFILES}" ${SALOME_INSTALL_PYTHON}/salome/hydro/mascaret/eficas) -- 2.39.2