+++ /dev/null
-#-*-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
+++ /dev/null
-# -*- 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:
+++ /dev/null
-# - 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 <lapointe@phimeca.com>
-# Copyright (c) 2010 Julien Schueller <schueller@phimeca.com>
-#
-# 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:
+++ /dev/null
-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)
+++ /dev/null
-# -*- 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:
+++ /dev/null
-# -*- 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:
+++ /dev/null
-<?xml version="1.0" encoding="utf-8"?><!DOCTYPE TS><TS version="1.1" language="en"><context>
- <name>@default</name>
- <message>
- <source>COEFFICIENT_TO_CALIBRATE_TIDAL_VELOCITIES</source>
- <translation>Coefficient to calibrate tidal velocities</translation>
- </message>
- <message>
- <source>COST_FUNCTION</source>
- <translation>Cost function</translation>
- </message>
- <message>
- <source>BOTTOM_TOPOGRAPHY_FILE</source>
- <translation>Bottom topography file</translation>
- </message>
- <message>
- <source>DENSITY_OF_ALGAE</source>
- <translation>Density of algae</translation>
- </message>
- <message>
- <source>STEERING_FILE</source>
- <translation>Steering file</translation>
- </message>
- <message>
- <source>NUMBER_OF_CORRECTIONS_OF_DISTRIBUTIVE_SCHEMES</source>
- <translation>Number of corrections of distributive schemes</translation>
- </message>
- <message>
- <source>LONGITUDE_OF_ORIGIN_POINT</source>
- <translation>Longitude of origin point</translation>
- </message>
- <message>
- <source>PREVIOUS_COMPUTATION_FILE</source>
- <translation>Previous computation file</translation>
- </message>
- <message>
- <source>DIAMETER_OF_ROUGHNESS_ELEMENTS</source>
- <translation>Diameter of roughness elements</translation>
- </message>
- <message>
- <source>THICKNESS_OF_ALGAE</source>
- <translation>Thickness of algae</translation>
- </message>
- <message>
- <source>CORIOLIS</source>
- <translation>Coriolis</translation>
- </message>
- <message>
- <source>OPTION_FOR_TIDAL_BOUNDARY_CONDITIONS</source>
- <translation>Option for tidal boundary conditions</translation>
- </message>
- <message>
- <source>NUMBER_OF_TIME_STEPS</source>
- <translation>Number of time steps</translation>
- </message>
- <message>
- <source>ADVECTION</source>
- <translation>Advection</translation>
- </message>
- <message>
- <source>NEWMARK_TIME_INTEGRATION_COEFFICIENT</source>
- <translation>Newmark time integration coefficient</translation>
- </message>
- <message>
- <source>TIME_STEP</source>
- <translation>Time step</translation>
- </message>
- <message>
- <source>VALUE_OF_ATMOSPHERIC_PRESSURE</source>
- <translation>Value of atmospheric pressure</translation>
- </message>
- <message>
- <source>LISTING_FOR_PRINTOUT_PERIOD</source>
- <translation>Listing for printout period</translation>
- </message>
- <message>
- <source>BINARY_DATABASE_2_FOR_TIDE</source>
- <translation>Binary database 2 for tide</translation>
- </message>
- <message>
- <source>VOLUMES_DELWAQ_FILE</source>
- <translation>Volumes DELWAQ file</translation>
- </message>
- <message>
- <source>DESCRIPTION_OF_LIBRARIES</source>
- <translation>Description of libraries</translation>
- </message>
- <message>
- <source>STOP_IF_A_STEADY_STATE_IS_REACHED</source>
- <translation>Stop if a steady state is reached</translation>
- </message>
- <message>
- <source>SALINITY_DELWAQ_FILE</source>
- <translation>Salinity DELWAQ file</translation>
- </message>
- <message>
- <source>IMPLICITATION_FOR_DEPTH</source>
- <translation>Implicitation for depth</translation>
- </message>
- <message>
- <source>DROGUES_FILE</source>
- <translation>Drogues file</translation>
- </message>
- <message>
- <source>TEMPERATURE_FOR_DELWAQ</source>
- <translation>Temperature for DELWAQ</translation>
- </message>
- <message>
- <source>BLOBAL_NUMBERS_OF_SOURCE_NODES</source>
- <translation>Blobal numbers of source nodes</translation>
- </message>
- <message>
- <source>INITIAL_DEPTH</source>
- <translation>Initial depth</translation>
- </message>
- <message>
- <source>IDENTIFICATION_METHOD</source>
- <translation>Identification method</translation>
- </message>
- <message>
- <source>COEFFICIENT_FOR_DIFFUSION_OF_TRACERS</source>
- <translation>Coefficient for diffusion of tracers</translation>
- </message>
- <message>
- <source>VELOCITY_DIFFUSIVITY</source>
- <translation>Velocity diffusivity</translation>
- </message>
- <message>
- <source>VECTOR_LENGTH</source>
- <translation>Vector length</translation>
- </message>
- <message>
- <source>GRAPHIC_PRINTOUT_PERIOD</source>
- <translation>Graphic printout period</translation>
- </message>
- <message>
- <source>LINEARIZED_PROPAGATION</source>
- <translation>Linearized propagation</translation>
- </message>
- <message>
- <source>PRECONDITIONING</source>
- <translation>Preconditioning</translation>
- </message>
- <message>
- <source>MANNING_DEFAULT_VALUE_FOR_COLEBROOK_WHITE_LAW</source>
- <translation>Manning default value for colebrook-white law</translation>
- </message>
- <message>
- <source>PRINTOUT_PERIOD_FOR_DROGUES</source>
- <translation>Printout period for drogues</translation>
- </message>
- <message>
- <source>DURATION_OF_RAIN_OR_EVAPORATION_IN_HOURS</source>
- <translation>Duration of rain or evaporation in hours</translation>
- </message>
- <message>
- <source>DEBUGGER</source>
- <translation>Debugger</translation>
- </message>
- <message>
- <source>DICTIONARY</source>
- <translation>Dictionary</translation>
- </message>
- <message>
- <source>SIPHONS_DATA_FILE</source>
- <translation>Siphons data file</translation>
- </message>
- <message>
- <source>WATER_DISCHARGE_OF_SOURCES</source>
- <translation>Water discharge of sources</translation>
- </message>
- <message>
- <source>ADVECTION_OF_U_AND_V</source>
- <translation>Advection of U and V</translation>
- </message>
- <message>
- <source>ANTECEDENT_MOISTURE_CONDITIONS</source>
- <translation>Antecedent moisture conditions</translation>
- </message>
- <message>
- <source>DIFFUSION_OF_VELOCITY</source>
- <translation>Diffusion of velocity</translation>
- </message>
- <message>
- <source>WATER_DENSITY</source>
- <translation>Water density</translation>
- </message>
- <message>
- <source>ORIGIN_COORDINATES</source>
- <translation>Origin coordinates</translation>
- </message>
- <message>
- <source>LATITUDE_OF_ORIGIN_POINT</source>
- <translation>Latitude of origin point</translation>
- </message>
- <message>
- <source>PRESCRIBED_TRACERS_VALUES</source>
- <translation>Prescribed tracers values</translation>
- </message>
- <message>
- <source>MAXIMUM_NUMBER_OF_ITERATIONS_FOR_SOLVER</source>
- <translation>Maximum number of iterations for solver</translation>
- </message>
- <message>
- <source>FLUXLINE</source>
- <translation>Fluxline</translation>
- </message>
- <message>
- <source>TIDE_GENERATING_FORCE</source>
- <translation>Tide generating force</translation>
- </message>
- <message>
- <source>VELOCITY_FOR_DELWAQ</source>
- <translation>Velocity for DELWAQ</translation>
- </message>
- <message>
- <source>PARALLEL_PROCESSORS</source>
- <translation>Parallel processors</translation>
- </message>
- <message>
- <source>ROUGHNESS_COEFFICIENT_OF_BOUNDARIES</source>
- <translation>Roughness coefficient of boundaries</translation>
- </message>
- <message>
- <source>RAINFALL_RUNOFF_MODEL</source>
- <translation>Rainfall-runoff model</translation>
- </message>
- <message>
- <source>PSI_SCHEME_OPTION</source>
- <translation>Psi scheme option</translation>
- </message>
- <message>
- <source>SCHEME_OPTION_FOR_ADVECTION_OF_VELOCITIES</source>
- <translation>Scheme option for advection of velocities</translation>
- </message>
- <message>
- <source>INITIAL_CONDITIONS</source>
- <translation>Initial conditions</translation>
- </message>
- <message>
- <source>INITIAL_TIME_SET_TO_ZERO</source>
- <translation>Initial time set to zero</translation>
- </message>
- <message>
- <source>NUMBER_OF_SUB_ITERATIONS_FOR_NON_LINEARITIES</source>
- <translation>Number of sub-iterations for non-linearities</translation>
- </message>
- <message>
- <source>OPTION_FOR_THE_DIFFUSION_OF_TRACERS</source>
- <translation>Option for the diffusion of tracers</translation>
- </message>
- <message>
- <source>CULVERTS_DATA_FILE</source>
- <translation>Culverts data file</translation>
- </message>
- <message>
- <source>ACCURACY_OF_EPSILON</source>
- <translation>Accuracy of epsilon</translation>
- </message>
- <message>
- <source>MAXIMUM_NUMBER_OF_ITERATIONS_FOR_DIFFUSION_OF_TRACERS</source>
- <translation>Maximum number of iterations for diffusion of tracers</translation>
- </message>
- <message>
- <source>MASS_LUMPING_ON_VELOCITY</source>
- <translation>Mass-lumping on velocity</translation>
- </message>
- <message>
- <source>FRICTION_DATA_FILE</source>
- <translation>Friction data file</translation>
- </message>
- <message>
- <source>SCHEME_FOR_ADVECTION_OF_K_EPSILON</source>
- <translation>Scheme for advection of K-epsilon</translation>
- </message>
- <message>
- <source>SOLVER_ACCURACY</source>
- <translation>Solver accuracy</translation>
- </message>
- <message>
- <source>NAMES_OF_POINTS</source>
- <translation>Names of points</translation>
- </message>
- <message>
- <source>TOMAWAC_STEERING_FILE</source>
- <translation>TOMAWAC steering file</translation>
- </message>
- <message>
- <source>BOUNDARY_CONDITIONS_FILE</source>
- <translation>Boundary conditions file</translation>
- </message>
- <message>
- <source>STOP_CRITERIA</source>
- <translation>Stop criteria</translation>
- </message>
- <message>
- <source>BINARY_RESULTS_FILE_FORMAT</source>
- <translation>Binary results file format</translation>
- </message>
- <message>
- <source>TEMPERATURE_DELWAQ_FILE</source>
- <translation>Temperature DELWAQ file</translation>
- </message>
- <message>
- <source>PROPAGATION</source>
- <translation>Propagation</translation>
- </message>
- <message>
- <source>FINITE_VOLUME_SCHEME</source>
- <translation>Finite volume scheme</translation>
- </message>
- <message>
- <source>IMPLICITATION_COEFFICIENT_OF_TRACERS</source>
- <translation>Implicitation coefficient of tracers</translation>
- </message>
- <message>
- <source>CORIOLIS_COEFFICIENT</source>
- <translation>Coriolis coefficient</translation>
- </message>
- <message>
- <source>PRESCRIBED_FLOWRATES</source>
- <translation>Prescribed flowrates</translation>
- </message>
- <message>
- <source>TURBULENCE_MODEL</source>
- <translation>Turbulence model</translation>
- </message>
- <message>
- <source>NUMBER_OF_FIRST_TIME_STEP_FOR_LISTING_PRINTOUTS</source>
- <translation>Number of first time step for listing printouts</translation>
- </message>
- <message>
- <source>PRINTING_CUMULATED_FLOWRATES</source>
- <translation>Printing cumulated flowrates</translation>
- </message>
- <message>
- <source>NUMBER_OF_FIRST_TIME_STEP_FOR_GRAPHIC_PRINTOUTS</source>
- <translation>Number of first time step for graphic printouts</translation>
- </message>
- <message>
- <source>PHYSICAL_CHARACTERISTICS_OF_THE_TSUNAMI</source>
- <translation>Physical characteristics of the tsunami</translation>
- </message>
- <message>
- <source>MASS_BALANCE</source>
- <translation>Mass-balance</translation>
- </message>
- <message>
- <source>BINARY_DATABASE_1_FOR_TIDE</source>
- <translation>Binary database 1 for tide</translation>
- </message>
- <message>
- <source>SOURCES_FILE</source>
- <translation>Sources file</translation>
- </message>
- <message>
- <source>LAW_OF_TRACERS_DEGRADATION</source>
- <translation>Law of tracers degradation</translation>
- </message>
- <message>
- <source>SECTIONS_INPUT_FILE</source>
- <translation>Sections input file</translation>
- </message>
- <message>
- <source>CONTROL_SECTIONS</source>
- <translation>Control sections</translation>
- </message>
- <message>
- <source>SOLVER_FOR_DIFFUSION_OF_TRACERS</source>
- <translation>Solver for diffusion of tracers</translation>
- </message>
- <message>
- <source>RESULTS_FILE_FORMAT</source>
- <translation>Results file format</translation>
- </message>
- <message>
- <source>SECONDARY_CURRENTS</source>
- <translation>Secondary currents</translation>
- </message>
- <message>
- <source>OPTION_FOR_INITIAL_ABSTRACTION_RATIO</source>
- <translation>Option for initial abstraction ratio</translation>
- </message>
- <message>
- <source>TYPE_OF_WEIRS</source>
- <translation>Type of weirs</translation>
- </message>
- <message>
- <source>NUMBER_OF_SUB_STEPS_OF_DISTRIBUTIVE_SCHEMES</source>
- <translation>Number of sub-steps of distributive schemes</translation>
- </message>
- <message>
- <source>SPACING_OF_ROUGHNESS_ELEMENTS</source>
- <translation>Spacing of roughness elements</translation>
- </message>
- <message>
- <source>SCHEME_OPTION_FOR_ADVECTION_OF_K_EPSILON</source>
- <translation>Scheme option for advection of K-epsilon</translation>
- </message>
- <message>
- <source>COUPLING_WITH</source>
- <translation>Coupling with</translation>
- </message>
- <message>
- <source>LISTING_PRINTOUT_PERIOD</source>
- <translation>Listing printout period</translation>
- </message>
- <message>
- <source>THRESHOLD_DEPTH_FOR_WIND</source>
- <translation>Threshold depth for wind</translation>
- </message>
- <message>
- <source>VELOCITY_PROFILES</source>
- <translation>Velocity profiles</translation>
- </message>
- <message>
- <source>ALGAE_TYPE</source>
- <translation>Algae type</translation>
- </message>
- <message>
- <source>TREATMENT_OF_FLUXES_AT_THE_BOUNDARIES</source>
- <translation>Treatment of fluxes at the boundaries</translation>
- </message>
- <message>
- <source>MINOR_CONSTITUENTS_INFERENCE</source>
- <translation>Minor constituents inference</translation>
- </message>
- <message>
- <source>STAGE_DISCHARGE_CURVES</source>
- <translation>Stage-discharge curves</translation>
- </message>
- <message>
- <source>GLOBAL_NUMBER_OF_THE_POINT_TO_CALIBRATE_HIGH_WATER</source>
- <translation>Global number of the point to calibrate high water</translation>
- </message>
- <message>
- <source>RAIN_OR_EVAPORATION_IN_MM_PER_DAY</source>
- <translation>Rain or evaporation in mm per day</translation>
- </message>
- <message>
- <source>REFERENCE_FILE_FORMAT</source>
- <translation>Reference file format</translation>
- </message>
- <message>
- <source>SALINITY_FOR_DELWAQ</source>
- <translation>Salinity for DELWAQ</translation>
- </message>
- <message>
- <source>DIFFUSIVITY_FOR_DELWAQ</source>
- <translation>Diffusivity for DELWAQ</translation>
- </message>
- <message>
- <source>BOTTOM_SURFACES_DELWAQ_FILE</source>
- <translation>Bottom surfaces DELWAQ file</translation>
- </message>
- <message>
- <source>FORMATTED_DATA_FILE_1</source>
- <translation>Formatted data file 1</translation>
- </message>
- <message>
- <source>FORMATTED_DATA_FILE_2</source>
- <translation>Formatted data file 2</translation>
- </message>
- <message>
- <source>COMPUTATION_CONTINUED</source>
- <translation>Computation continued</translation>
- </message>
- <message>
- <source>RECORD_NUMBER_IN_WAVE_FILE</source>
- <translation>Record number in wave file</translation>
- </message>
- <message>
- <source>C_U_PRECONDITIONING</source>
- <translation>C-U preconditioning</translation>
- </message>
- <message>
- <source>LIST_OF_POINTS</source>
- <translation>List of points</translation>
- </message>
- <message>
- <source>TYPE_OF_ADVECTION</source>
- <translation>Type of advection</translation>
- </message>
- <message>
- <source>WIND_VELOCITY_ALONG_X</source>
- <translation>Wind velocity along X</translation>
- </message>
- <message>
- <source>WIND_VELOCITY_ALONG_Y</source>
- <translation>Wind velocity along Y</translation>
- </message>
- <message>
- <source>TOLERANCES_FOR_IDENTIFICATION</source>
- <translation>Tolerances for identification</translation>
- </message>
- <message>
- <source>PREVIOUS_COMPUTATION_FILE_FORMAT</source>
- <translation>Previous computation file format</translation>
- </message>
- <message>
- <source>DISCRETIZATIONS_IN_SPACE</source>
- <translation>Discretizations in space</translation>
- </message>
- <message>
- <source>BINARY_ATMOSPHERIC_DATA_FILE</source>
- <translation>Binary atmospheric data file</translation>
- </message>
- <message>
- <source>BINARY_RESULTS_FILE</source>
- <translation>Binary results file</translation>
- </message>
- <message>
- <source>EXCHANGES_BETWEEN_NODES_DELWAQ_FILE</source>
- <translation>Exchanges between nodes DELWAQ file</translation>
- </message>
- <message>
- <source>CONTINUITY_CORRECTION</source>
- <translation>Continuity correction</translation>
- </message>
- <message>
- <source>SCHEME_FOR_ADVECTION_OF_VELOCITIES</source>
- <translation>Scheme for advection of velocities</translation>
- </message>
- <message>
- <source>EXCHANGE_AREAS_DELWAQ_FILE</source>
- <translation>Exchange areas DELWAQ file</translation>
- </message>
- <message>
- <source>SISYPHE_STEERING_FILE</source>
- <translation>Sisyphe steering file</translation>
- </message>
- <message>
- <source>IMPLICITATION_FOR_DIFFUSION_OF_VELOCITY</source>
- <translation>Implicitation for diffusion of velocity</translation>
- </message>
- <message>
- <source>ADVECTION_OF_K_AND_EPSILON</source>
- <translation>Advection of K and epsilon</translation>
- </message>
- <message>
- <source>FREE_SURFACE_GRADIENT_COMPATIBILITY</source>
- <translation>Free surface gradient compatibility</translation>
- </message>
- <message>
- <source>VALUES_OF_THE_TRACERS_AT_THE_SOURCES</source>
- <translation>Values of the tracers at the sources</translation>
- </message>
- <message>
- <source>NUMBER_OF_CULVERTS</source>
- <translation>Number of culverts</translation>
- </message>
- <message>
- <source>RELEASE</source>
- <translation>Release</translation>
- </message>
- <message>
- <source>AD_NAMES_OF_DERIVATIVES</source>
- <translation>Ad names of derivatives</translation>
- </message>
- <message>
- <source>LANGUAGE</source>
- <translation>Language</translation>
- </message>
- <message>
- <source>NAMES_OF_PRIVATE_VARIABLES</source>
- <translation>Names of private variables</translation>
- </message>
- <message>
- <source>PRECONDITIONING_FOR_DIFFUSION_OF_TRACERS</source>
- <translation>Preconditioning for diffusion of tracers</translation>
- </message>
- <message>
- <source>VALIDATION</source>
- <translation>Validation</translation>
- </message>
- <message>
- <source>NUMBER_OF_SIPHONS</source>
- <translation>Number of siphons</translation>
- </message>
- <message>
- <source>BINARY_ATMOSPHERIC_DATA_FILE_FORMAT</source>
- <translation>Binary atmospheric data file format</translation>
- </message>
- <message>
- <source>WEIRS_DATA_FILE</source>
- <translation>Weirs data file</translation>
- </message>
- <message>
- <source>IMPLICITATION_FOR_VELOCITY</source>
- <translation>Implicitation for velocity</translation>
- </message>
- <message>
- <source>DEFINITION_OF_ZONES</source>
- <translation>Definition of zones</translation>
- </message>
- <message>
- <source>LISTING_PRINTOUT</source>
- <translation>Listing printout</translation>
- </message>
- <message>
- <source>MEAN_DEPTH_FOR_LINEARIZATION</source>
- <translation>Mean depth for linearization</translation>
- </message>
- <message>
- <source>COUPLING_PERIOD_FOR_TOMAWAC</source>
- <translation>Coupling period for TOMAWAC</translation>
- </message>
- <message>
- <source>WAVE_ENHANCED_FRICTION_FACTOR</source>
- <translation>Wave enhanced friction factor</translation>
- </message>
- <message>
- <source>VARIABLES_FOR_GRAPHIC_PRINTOUTS</source>
- <translation>Variables for graphic printouts</translation>
- </message>
- <message>
- <source>DEPTH_IN_FRICTION_TERMS</source>
- <translation>Depth in friction terms</translation>
- </message>
- <message>
- <source>MASS_LUMPING_ON_H</source>
- <translation>Mass-lumping on H</translation>
- </message>
- <message>
- <source>NUMBER_OF_LAGRANGIAN_DRIFTS</source>
- <translation>Number of lagrangian drifts</translation>
- </message>
- <message>
- <source>NON_DIMENSIONAL_DISPERSION_COEFFICIENTS</source>
- <translation>Non-dimensional dispersion coefficients</translation>
- </message>
- <message>
- <source>FOURIER_ANALYSIS_PERIODS</source>
- <translation>Fourier analysis periods</translation>
- </message>
- <message>
- <source>VARIABLES_TO_BE_PRINTED</source>
- <translation>Variables to be printed</translation>
- </message>
- <message>
- <source>EQUATIONS</source>
- <translation>Equations</translation>
- </message>
- <message>
- <source>MAXIMUM_NUMBER_OF_ITERATIONS_FOR_IDENTIFICATION</source>
- <translation>Maximum number of iterations for identification</translation>
- </message>
- <message>
- <source>WIND</source>
- <translation>Wind</translation>
- </message>
- <message>
- <source>SPEED_AND_DIRECTION_OF_WIND</source>
- <translation>Speed and direction of wind</translation>
- </message>
- <message>
- <source>NAMES_OF_CLANDESTINE_VARIABLES</source>
- <translation>Names of clandestine variables</translation>
- </message>
- <message>
- <source>GEOMETRY_FILE_FORMAT</source>
- <translation>Geometry file format</translation>
- </message>
- <message>
- <source>NON_SUBMERGED_VEGETATION_FRICTION</source>
- <translation>Non-submerged vegetation friction</translation>
- </message>
- <message>
- <source>TYPE_OF_SOURCES</source>
- <translation>Type of sources</translation>
- </message>
- <message>
- <source>TIDAL_FLATS</source>
- <translation>Tidal flats</translation>
- </message>
- <message>
- <source>TITLE</source>
- <translation>Title</translation>
- </message>
- <message>
- <source>ORIGINAL_HOUR_OF_TIME</source>
- <translation>Original hour of time</translation>
- </message>
- <message>
- <source>LAW_OF_FRICTION_ON_LATERAL_BOUNDARIES</source>
- <translation>Law of friction on lateral boundaries</translation>
- </message>
- <message>
- <source>STAGE_DISCHARGE_CURVES_FILE</source>
- <translation>Stage-discharge curves file</translation>
- </message>
- <message>
- <source>DESIRED_COURANT_NUMBER</source>
- <translation>Desired courant number</translation>
- </message>
- <message>
- <source>DISSIPATION_COEFFICIENT_FOR_SECONDARY_CURRENTS</source>
- <translation>Dissipation coefficient for secondary currents</translation>
- </message>
- <message>
- <source>COUPLING_PERIOD_FOR_SISYPHE</source>
- <translation>Coupling period for sisyphe</translation>
- </message>
- <message>
- <source>ALGAE_TRANSPORT_MODEL</source>
- <translation>Algae transport model</translation>
- </message>
- <message>
- <source>ABSCISSAE_OF_SOURCES</source>
- <translation>Abscissae of sources</translation>
- </message>
- <message>
- <source>LIQUID_BOUNDARIES_FILE</source>
- <translation>Liquid boundaries file</translation>
- </message>
- <message>
- <source>VELOCITIES_OF_THE_SOURCES_ALONG_X</source>
- <translation>Velocities of the sources along X</translation>
- </message>
- <message>
- <source>VELOCITIES_OF_THE_SOURCES_ALONG_Y</source>
- <translation>Velocities of the sources along Y</translation>
- </message>
- <message>
- <source>MAXIMUM_NUMBER_OF_SOURCES</source>
- <translation>Maximum number of sources</translation>
- </message>
- <message>
- <source>SOLVER_OPTION_FOR_TRACERS_DIFFUSION</source>
- <translation>Solver option for tracers diffusion</translation>
- </message>
- <message>
- <source>INFORMATION_ABOUT_SOLVER</source>
- <translation>Information about solver</translation>
- </message>
- <message>
- <source>BINARY_DATA_FILE_1_FORMAT</source>
- <translation>Binary data file 1 format</translation>
- </message>
- <message>
- <source>DIAMETRE_OF_ALGAE</source>
- <translation>Diametre of algae</translation>
- </message>
- <message>
- <source>COUPLING_DIRECTORY</source>
- <translation>Coupling directory</translation>
- </message>
- <message>
- <source>DELWAQ_PRINTOUT_PERIOD</source>
- <translation>DELWAQ printout period</translation>
- </message>
- <message>
- <source>BOTTOM_SMOOTHINGS</source>
- <translation>Bottom smoothings</translation>
- </message>
- <message>
- <source>AIR_PRESSURE</source>
- <translation>Air pressure</translation>
- </message>
- <message>
- <source>PRESCRIBED_ELEVATIONS</source>
- <translation>Prescribed elevations</translation>
- </message>
- <message>
- <source>MASS_LUMPING_FOR_WEAK_CHARACTERISTICS</source>
- <translation>Mass-lumping for weak characteristics</translation>
- </message>
- <message>
- <source>GRAVITY_ACCELERATION</source>
- <translation>Gravity acceleration</translation>
- </message>
- <message>
- <source>LIMIT_VALUES</source>
- <translation>Limit values</translation>
- </message>
- <message>
- <source>RESULTS_FILE</source>
- <translation>Results file</translation>
- </message>
- <message>
- <source>SCHEME_OPTION_FOR_ADVECTION_OF_TRACERS</source>
- <translation>Scheme option for advection of tracers</translation>
- </message>
- <message>
- <source>OPTION_FOR_CHARACTERISTICS</source>
- <translation>Option for characteristics</translation>
- </message>
- <message>
- <source>OPTION_FOR_THE_TREATMENT_OF_TIDAL_FLATS</source>
- <translation>Option for the treatment of tidal flats</translation>
- </message>
- <message>
- <source>TIME_RANGE_FOR_FOURIER_ANALYSIS</source>
- <translation>Time range for fourier analysis</translation>
- </message>
- <message>
- <source>VERTICAL_FLUXES_DELWAQ_FILE</source>
- <translation>Vertical fluxes DELWAQ file</translation>
- </message>
- <message>
- <source>ORDINATES_OF_SOURCES</source>
- <translation>Ordinates of sources</translation>
- </message>
- <message>
- <source>MAXIMUM_NUMBER_OF_TRACERS</source>
- <translation>Maximum number of tracers</translation>
- </message>
- <message>
- <source>TURBULENCE_REGIME_FOR_SOLID_BOUNDARIES</source>
- <translation>Turbulence regime for solid boundaries</translation>
- </message>
- <message>
- <source>LOCAL_NUMBER_OF_THE_POINT_TO_CALIBRATE_HIGH_WATER</source>
- <translation>Local number of the point to calibrate high water</translation>
- </message>
- <message>
- <source>NODES_DISTANCES_DELWAQ_FILE</source>
- <translation>Nodes distances DELWAQ file</translation>
- </message>
- <message>
- <source>NUMBER_OF_DROGUES</source>
- <translation>Number of drogues</translation>
- </message>
- <message>
- <source>SOLVER_FOR_K_EPSILON_MODEL</source>
- <translation>Solver for K-Epsilon model</translation>
- </message>
- <message>
- <source>SECTIONS_OUTPUT_FILE</source>
- <translation>Sections output file</translation>
- </message>
- <message>
- <source>HARMONIC_CONSTANTS_FILE</source>
- <translation>Harmonic constants file</translation>
- </message>
- <message>
- <source>OPTION_FOR_CULVERTS</source>
- <translation>Option for culverts</translation>
- </message>
- <message>
- <source>ASCII_ATMOSPHERIC_DATA_FILE</source>
- <translation>ASCII atmospheric data file</translation>
- </message>
- <message>
- <source>INITIAL_ELEVATION</source>
- <translation>Initial elevation</translation>
- </message>
- <message>
- <source>ZERO</source>
- <translation>Zero</translation>
- </message>
- <message>
- <source>BREACHES_DATA_FILE</source>
- <translation>Breaches data file</translation>
- </message>
- <message>
- <source>OPTION_FOR_WIND</source>
- <translation>Option for wind</translation>
- </message>
- <message>
- <source>OPTION_OF_THE_HYDROSTATIC_RECONSTRUCTION</source>
- <translation>Option of the hydrostatic reconstruction</translation>
- </message>
- <message>
- <source>NUMBER_OF_TRACERS</source>
- <translation>Number of tracers</translation>
- </message>
- <message>
- <source>DIFFUSIVITY_DELWAQ_FILE</source>
- <translation>Diffusivity DELWAQ file</translation>
- </message>
- <message>
- <source>ADVECTION_OF_TRACERS</source>
- <translation>Advection of tracers</translation>
- </message>
- <message>
- <source>SOLVER_OPTION</source>
- <translation>Solver option</translation>
- </message>
- <message>
- <source>MATRIX_STORAGE</source>
- <translation>Matrix storage</translation>
- </message>
- <message>
- <source>COEFFICIENT_TO_CALIBRATE_TIDAL_RANGE</source>
- <translation>Coefficient to calibrate tidal range</translation>
- </message>
- <message>
- <source>BINARY_DATA_FILE_1</source>
- <translation>Binary data file 1</translation>
- </message>
- <message>
- <source>BINARY_DATA_FILE_2</source>
- <translation>Binary data file 2</translation>
- </message>
- <message>
- <source>CONTROL_OF_LIMITS</source>
- <translation>Control of limits</translation>
- </message>
- <message>
- <source>RECORD_NUMBER_FOR_RESTART</source>
- <translation>Record number for restart</translation>
- </message>
- <message>
- <source>NUMBER_OF_GAUSS_POINTS_FOR_WEAK_CHARACTERISTICS</source>
- <translation>Number of Gauss points for weak characteristics</translation>
- </message>
- <message>
- <source>COEFFICIENT_OF_WIND_INFLUENCE</source>
- <translation>Coefficient of wind influence</translation>
- </message>
- <message>
- <source>PRECONDITIONING_FOR_K_EPSILON_MODEL</source>
- <translation>Preconditioning for K-Epsilon model</translation>
- </message>
- <message>
- <source>PRODUCTION_COEFFICIENT_FOR_SECONDARY_CURRENTS</source>
- <translation>Production coefficient for secondary currents</translation>
- </message>
- <message>
- <source>MINIMUM_VALUE_OF_DEPTH</source>
- <translation>Minimum value of depth</translation>
- </message>
- <message>
- <source>ELEMENTS_MASKED_BY_USER</source>
- <translation>Elements masked by user</translation>
- </message>
- <message>
- <source>FRICTION_COEFFICIENT</source>
- <translation>Friction coefficient</translation>
- </message>
- <message>
- <source>PRESCRIBED_VELOCITIES</source>
- <translation>Prescribed velocities</translation>
- </message>
- <message>
- <source>NAMES_OF_TRACERS</source>
- <translation>Names of tracers</translation>
- </message>
- <message>
- <source>VELOCITY_DELWAQ_FILE</source>
- <translation>Velocity DELWAQ file</translation>
- </message>
- <message>
- <source>H_CLIPPING</source>
- <translation>H clipping</translation>
- </message>
- <message>
- <source>ZONE_NUMBER_IN_GEOGRAPHIC_SYSTEM</source>
- <translation>Zone number in geographic system</translation>
- </message>
- <message>
- <source>SUPG_OPTION</source>
- <translation>SUPG option</translation>
- </message>
- <message>
- <source>PARAMETER_ESTIMATION</source>
- <translation>Parameter estimation</translation>
- </message>
- <message>
- <source>CHECKING_THE_MESH</source>
- <translation>Checking the mesh</translation>
- </message>
- <message>
- <source>AD_NUMBER_OF_DERIVATIVES</source>
- <translation>Ad number of derivatives</translation>
- </message>
- <message>
- <source>COMPATIBLE_COMPUTATION_OF_FLUXES</source>
- <translation>Compatible computation of fluxes</translation>
- </message>
- <message>
- <source>LIST_OF_FILES</source>
- <translation>List of files</translation>
- </message>
- <message>
- <source>NUMBER_OF_PRIVATE_ARRAYS</source>
- <translation>Number of private arrays</translation>
- </message>
- <message>
- <source>MAXIMUM_NUMBER_OF_FRICTION_DOMAINS</source>
- <translation>Maximum number of friction domains</translation>
- </message>
- <message>
- <source>DURATION</source>
- <translation>Duration</translation>
- </message>
- <message>
- <source>DELWAQ_STEERING_FILE</source>
- <translation>DELWAQ steering file</translation>
- </message>
- <message>
- <source>COEFFICIENT_1_FOR_LAW_OF_TRACERS_DEGRADATION</source>
- <translation>Coefficient 1 for law of tracers degradation</translation>
- </message>
- <message>
- <source>ACCURACY_OF_K</source>
- <translation>Accuracy of K</translation>
- </message>
- <message>
- <source>WATER_QUALITY_PROCESS</source>
- <translation>Water quality process</translation>
- </message>
- <message>
- <source>ADVECTION_OF_H</source>
- <translation>Advection of H</translation>
- </message>
- <message>
- <source>SCHEME_FOR_ADVECTION_OF_TRACERS</source>
- <translation>Scheme for advection of tracers</translation>
- </message>
- <message>
- <source>BINARY_DATA_FILE_2_FORMAT</source>
- <translation>Binary data file 2 format</translation>
- </message>
- <message>
- <source>COEFFICIENT_TO_CALIBRATE_SEA_LEVEL</source>
- <translation>Coefficient to calibrate sea level</translation>
- </message>
- <message>
- <source>OPTION_FOR_THE_DIFFUSION_OF_VELOCITIES</source>
- <translation>Option for the diffusion of velocities</translation>
- </message>
- <message>
- <source>INITIAL_GUESS_FOR_H</source>
- <translation>Initial guess for H</translation>
- </message>
- <message>
- <source>MASS_LUMPING_ON_TRACERS</source>
- <translation>Mass-lumping on tracers</translation>
- </message>
- <message>
- <source>OPTION_FOR_LIQUID_BOUNDARIES</source>
- <translation>Option for liquid boundaries</translation>
- </message>
- <message>
- <source>GEOMETRY_FILE</source>
- <translation>Geometry file</translation>
- </message>
- <message>
- <source>WAQTEL_STEERING_FILE</source>
- <translation>Waqtel steering file</translation>
- </message>
- <message>
- <source>MAXIMUM_NUMBER_OF_ITERATIONS_FOR_ADVECTION_SCHEMES</source>
- <translation>Maximum number of iterations for advection schemes</translation>
- </message>
- <message>
- <source>FLUXLINE_INPUT_FILE</source>
- <translation>Fluxline input file</translation>
- </message>
- <message>
- <source>RAIN_OR_EVAPORATION</source>
- <translation>Rain or evaporation</translation>
- </message>
- <message>
- <source>LAW_OF_BOTTOM_FRICTION</source>
- <translation>Law of bottom friction</translation>
- </message>
- <message>
- <source>MATRIX_VECTOR_PRODUCT</source>
- <translation>Matrix-vector product</translation>
- </message>
- <message>
- <source>ACCURACY_FOR_DIFFUSION_OF_TRACERS</source>
- <translation>Accuracy for diffusion of tracers</translation>
- </message>
- <message>
- <source>MEAN_TEMPERATURE</source>
- <translation>Mean temperature</translation>
- </message>
- <message>
- <source>PARTITIONING_TOOL</source>
- <translation>Partitioning tool</translation>
- </message>
- <message>
- <source>MAXIMUM_NUMBER_OF_BOUNDARIES</source>
- <translation>Maximum number of boundaries</translation>
- </message>
- <message>
- <source>OPTION_FOR_THE_SOLVER_FOR_K_EPSILON_MODEL</source>
- <translation>Option for the solver for K-Epsilon model</translation>
- </message>
- <message>
- <source>SPATIAL_PROJECTION_TYPE</source>
- <translation>Spatial projection type</translation>
- </message>
- <message>
- <source>THRESHOLD_FOR_NEGATIVE_DEPTHS</source>
- <translation>Threshold for negative depths</translation>
- </message>
- <message>
- <source>DEFAULT_PARALLEL_EXECUTABLE</source>
- <translation>Default parallel executable</translation>
- </message>
- <message>
- <source>INITIAL_GUESS_FOR_U</source>
- <translation>Initial guess for U</translation>
- </message>
- <message>
- <source>DIFFUSION_OF_TRACERS</source>
- <translation>Diffusion of tracers</translation>
- </message>
- <message>
- <source>DEFAULT_EXECUTABLE</source>
- <translation>Default executable</translation>
- </message>
- <message>
- <source>FORMATTED_RESULTS_FILE</source>
- <translation>Formatted results file</translation>
- </message>
- <message>
- <source>VALUES_OF_TRACERS_IN_THE_RAIN</source>
- <translation>Values of tracers in the rain</translation>
- </message>
- <message>
- <source>VERTICAL_STRUCTURES</source>
- <translation>Vertical structures</translation>
- </message>
- <message>
- <source>MAXIMUM_NUMBER_OF_ITERATIONS_FOR_K_AND_EPSILON</source>
- <translation>Maximum number of iterations for K and Epsilon</translation>
- </message>
- <message>
- <source>UPWIND_COEFFICIENTS</source>
- <translation>Upwind coefficients</translation>
- </message>
- <message>
- <source>FRICTION_DATA</source>
- <translation>Friction data</translation>
- </message>
- <message>
- <source>NUMBER_OF_WEIRS</source>
- <translation>Number of weirs</translation>
- </message>
- <message>
- <source>OPTION_FOR_TSUNAMI_GENERATION</source>
- <translation>Option for tsunami generation</translation>
- </message>
- <message>
- <source>VARIABLE_TIME_STEP</source>
- <translation>Variable time-step</translation>
- </message>
- <message>
- <source>WAVE_DRIVEN_CURRENTS</source>
- <translation>Wave driven currents</translation>
- </message>
- <message>
- <source>INFORMATION_ABOUT_K_EPSILON_MODEL</source>
- <translation>Information about K-Epsilon model</translation>
- </message>
- <message>
- <source>ZONES_FILE</source>
- <translation>Zones file</translation>
- </message>
- <message>
- <source>SPHERICAL_COORDINATES</source>
- <translation>Spherical coordinates</translation>
- </message>
- <message>
- <source>NORTH</source>
- <translation>North</translation>
- </message>
- <message>
- <source>TREATMENT_OF_THE_LINEAR_SYSTEM</source>
- <translation>Treatment of the linear system</translation>
- </message>
- <message>
- <source>REFERENCE_FILE</source>
- <translation>Reference file</translation>
- </message>
- <message>
- <source>DENSITY_EFFECTS</source>
- <translation>Density effects</translation>
- </message>
- <message>
- <source>ASCII_DATABASE_FOR_TIDE</source>
- <translation>ASCII database for tide</translation>
- </message>
- <message>
- <source>THRESHOLD_DEPTH_FOR_RECEDING_PROCEDURE</source>
- <translation>Threshold depth for receding procedure</translation>
- </message>
- <message>
- <source>OIL_SPILL_MODEL</source>
- <translation>Oil spill model</translation>
- </message>
- <message>
- <source>SOLVER</source>
- <translation>Solver</translation>
- </message>
- <message>
- <source>TIME_STEP_REDUCTION_FOR_K_EPSILON_MODEL</source>
- <translation>Time step reduction for K-Epsilon model</translation>
- </message>
- <message>
- <source>STOCHASTIC_DIFFUSION_MODEL</source>
- <translation>Stochastic diffusion model</translation>
- </message>
- <message>
- <source>ORIGINAL_DATE_OF_TIME</source>
- <translation>Original date of time</translation>
- </message>
- <message>
- <source>GEOGRAPHIC_SYSTEM</source>
- <translation>Geographic system</translation>
- </message>
- <message>
- <source>FORTRAN_FILE</source>
- <translation>Fortran file</translation>
- </message>
- <message>
- <source>PROPAGATION_OPTION</source>
- <translation>Propagation option</translation>
- </message>
- <message>
- <source>OIL_SPILL_STEERING_FILE</source>
- <translation>Oil spill steering file</translation>
- </message>
- <message>
- <source>TIDAL_DATA_BASE</source>
- <translation>Tidal data base</translation>
- </message>
- <message>
- <source>TIDAL_MODEL_FILE</source>
- <translation>Tidal model file</translation>
- </message>
- <message>
- <source>BREACH</source>
- <translation>Breach</translation>
- </message>
- <message>
- <source>TREATMENT_OF_NEGATIVE_DEPTHS</source>
- <translation>Treatment of negative depths</translation>
- </message>
- <message>
- <source>INITIAL_VALUES_OF_TRACERS</source>
- <translation>Initial values of tracers</translation>
- </message>
-</context>
-</TS>
+++ /dev/null
-<?xml version="1.0" encoding="utf-8"?><!DOCTYPE TS><TS version="1.1" language="fr"><context>
- <name>@default</name>
- <message>
- <source>COEFFICIENT_TO_CALIBRATE_TIDAL_VELOCITIES</source>
- <translation>Coefficient de calage des vitesses de courant</translation>
- </message>
- <message>
- <source>COST_FUNCTION</source>
- <translation>Fonction cout</translation>
- </message>
- <message>
- <source>BOTTOM_TOPOGRAPHY_FILE</source>
- <translation>Fichier des fonds</translation>
- </message>
- <message>
- <source>DENSITY_OF_ALGAE</source>
- <translation>Masse volumique des algues</translation>
- </message>
- <message>
- <source>STEERING_FILE</source>
- <translation>Fichier des parametres</translation>
- </message>
- <message>
- <source>NUMBER_OF_CORRECTIONS_OF_DISTRIBUTIVE_SCHEMES</source>
- <translation>Nombre de corrections des schemas distributifs</translation>
- </message>
- <message>
- <source>LONGITUDE_OF_ORIGIN_POINT</source>
- <translation>Longitude du point origine</translation>
- </message>
- <message>
- <source>PREVIOUS_COMPUTATION_FILE</source>
- <translation>Fichier du calcul precedent</translation>
- </message>
- <message>
- <source>DIAMETER_OF_ROUGHNESS_ELEMENTS</source>
- <translation>Diametre des elements de frottement</translation>
- </message>
- <message>
- <source>THICKNESS_OF_ALGAE</source>
- <translation>Epaisseur des algues</translation>
- </message>
- <message>
- <source>CORIOLIS</source>
- <translation>Coriolis</translation>
- </message>
- <message>
- <source>OPTION_FOR_TIDAL_BOUNDARY_CONDITIONS</source>
- <translation>Option pour les conditions aux limites de maree</translation>
- </message>
- <message>
- <source>PARTICULIERES</source>
- <translation>PARTICULIERES</translation>
- </message>
- <message>
- <source>NUMBER_OF_TIME_STEPS</source>
- <translation>Nombre de pas de temps</translation>
- </message>
- <message>
- <source>ADVECTION</source>
- <translation>Convection</translation>
- </message>
- <message>
- <source>NEWMARK_TIME_INTEGRATION_COEFFICIENT</source>
- <translation>Coefficient d'integration en temps de newmark</translation>
- </message>
- <message>
- <source>ZERO DEPTH</source>
- <translation>HAUTEUR NULLE</translation>
- </message>
- <message>
- <source>TIME_STEP</source>
- <translation>Pas de temps</translation>
- </message>
- <message>
- <source>VALUE_OF_ATMOSPHERIC_PRESSURE</source>
- <translation>Valeur de la pression atmospherique</translation>
- </message>
- <message>
- <source>LISTING_FOR_PRINTOUT_PERIOD</source>
- <translation>Periode pour les sorties listing</translation>
- </message>
- <message>
- <source>BINARY_DATABASE_2_FOR_TIDE</source>
- <translation>Base binaire 2 de donnees de maree</translation>
- </message>
- <message>
- <source>VOLUMES_DELWAQ_FILE</source>
- <translation>Fichier DELWAQ des volumes</translation>
- </message>
- <message>
- <source>DESCRIPTION_OF_LIBRARIES</source>
- <translation>Description des librairies</translation>
- </message>
- <message>
- <source>STOP_IF_A_STEADY_STATE_IS_REACHED</source>
- <translation>Arret si un etat permanent est atteint</translation>
- </message>
- <message>
- <source>SALINITY_DELWAQ_FILE</source>
- <translation>Fichier DELWAQ de la salinite</translation>
- </message>
- <message>
- <source>IMPLICITATION_FOR_DEPTH</source>
- <translation>Implicitation pour la hauteur</translation>
- </message>
- <message>
- <source>DROGUES_FILE</source>
- <translation>Fichier des flotteurs</translation>
- </message>
- <message>
- <source>TEMPERATURE_FOR_DELWAQ</source>
- <translation>Temperature pour DELWAQ</translation>
- </message>
- <message>
- <source>BLOBAL_NUMBERS_OF_SOURCE_NODES</source>
- <translation>Numeros globaux des noeuds des sources</translation>
- </message>
- <message>
- <source>INITIAL_DEPTH</source>
- <translation>Hauteur initiale</translation>
- </message>
- <message>
- <source>PARMETIS</source>
- <translation>PARMETIS</translation>
- </message>
- <message>
- <source>IDENTIFICATION_METHOD</source>
- <translation>Methode d'identification</translation>
- </message>
- <message>
- <source>SAINT-VENANT FE</source>
- <translation>SAINT-VENANT EF</translation>
- </message>
- <message>
- <source>COEFFICIENT_FOR_DIFFUSION_OF_TRACERS</source>
- <translation>Coefficient de diffusion des traceurs</translation>
- </message>
- <message>
- <source>VELOCITY_DIFFUSIVITY</source>
- <translation>Coefficient de diffusion des vitesses</translation>
- </message>
- <message>
- <source>VECTOR_LENGTH</source>
- <translation>Longueur du vecteur</translation>
- </message>
- <message>
- <source>GRAPHIC_PRINTOUT_PERIOD</source>
- <translation>Periode pour les sorties graphiques</translation>
- </message>
- <message>
- <source>LINEARIZED_PROPAGATION</source>
- <translation>Propagation linearisee</translation>
- </message>
- <message>
- <source>PRECONDITIONING</source>
- <translation>Preconditionnement</translation>
- </message>
- <message>
- <source>MANNING_DEFAULT_VALUE_FOR_COLEBROOK_WHITE_LAW</source>
- <translation>Valeur par defaut du manning pour la loi de colebrook-white</translation>
- </message>
- <message>
- <source>PRINTOUT_PERIOD_FOR_DROGUES</source>
- <translation>Periode pour les sorties de flotteurs</translation>
- </message>
- <message>
- <source>DURATION_OF_RAIN_OR_EVAPORATION_IN_HOURS</source>
- <translation>Duree de la pluie ou evaporation en heures</translation>
- </message>
- <message>
- <source>DEBUGGER</source>
- <translation>Debugger</translation>
- </message>
- <message>
- <source>DICTIONARY</source>
- <translation>Dictionnaire</translation>
- </message>
- <message>
- <source>SIPHONS_DATA_FILE</source>
- <translation>Fichier de donnees des siphons</translation>
- </message>
- <message>
- <source>WATER_DISCHARGE_OF_SOURCES</source>
- <translation>Debits des sources</translation>
- </message>
- <message>
- <source>ADVECTION_OF_U_AND_V</source>
- <translation>Convection de U et V</translation>
- </message>
- <message>
- <source>ANTECEDENT_MOISTURE_CONDITIONS</source>
- <translation>Conditions d'humidite precedente</translation>
- </message>
- <message>
- <source>DIFFUSION_OF_VELOCITY</source>
- <translation>Diffusion des vitesses</translation>
- </message>
- <message>
- <source>CONSTANT DEPTH</source>
- <translation>HAUTEUR CONSTANTE</translation>
- </message>
- <message>
- <source>WATER_DENSITY</source>
- <translation>Masse volumique de l'eau</translation>
- </message>
- <message>
- <source>ORIGIN_COORDINATES</source>
- <translation>Coordonnees de l'origine</translation>
- </message>
- <message>
- <source>LATITUDE_OF_ORIGIN_POINT</source>
- <translation>Latitude du point origine</translation>
- </message>
- <message>
- <source>PRESCRIBED_TRACERS_VALUES</source>
- <translation>Valeurs imposees des traceurs</translation>
- </message>
- <message>
- <source>MAXIMUM_NUMBER_OF_ITERATIONS_FOR_SOLVER</source>
- <translation>Maximum d'iterations pour le solveur</translation>
- </message>
- <message>
- <source>FLUXLINE</source>
- <translation>Fluxline</translation>
- </message>
- <message>
- <source>TIDE_GENERATING_FORCE</source>
- <translation>Force generatrice de la maree</translation>
- </message>
- <message>
- <source>VELOCITY_FOR_DELWAQ</source>
- <translation>Vitesse pour DELWAQ</translation>
- </message>
- <message>
- <source>PARALLEL_PROCESSORS</source>
- <translation>Processeurs paralleles</translation>
- </message>
- <message>
- <source>ROUGHNESS_COEFFICIENT_OF_BOUNDARIES</source>
- <translation>Coefficient de rugosite des bords</translation>
- </message>
- <message>
- <source>RAINFALL_RUNOFF_MODEL</source>
- <translation>Modele pluie-debit</translation>
- </message>
- <message>
- <source>PSI_SCHEME_OPTION</source>
- <translation>Option du schema PSI</translation>
- </message>
- <message>
- <source>SCHEME_OPTION_FOR_ADVECTION_OF_VELOCITIES</source>
- <translation>Option du schema pour la convection des vitesses</translation>
- </message>
- <message>
- <source>INITIAL_CONDITIONS</source>
- <translation>Conditions initiales</translation>
- </message>
- <message>
- <source>INITIAL_TIME_SET_TO_ZERO</source>
- <translation>Remise a zero du temps</translation>
- </message>
- <message>
- <source>PTSCOTCH</source>
- <translation>PTSCOTCH</translation>
- </message>
- <message>
- <source>NUMBER_OF_SUB_ITERATIONS_FOR_NON_LINEARITIES</source>
- <translation>Nombre de sous-iterations pour les non-linearites</translation>
- </message>
- <message>
- <source>OPTION_FOR_THE_DIFFUSION_OF_TRACERS</source>
- <translation>Option pour la diffusion des traceurs</translation>
- </message>
- <message>
- <source>CULVERTS_DATA_FILE</source>
- <translation>Fichier de donnees des buses</translation>
- </message>
- <message>
- <source>ACCURACY_OF_EPSILON</source>
- <translation>Precision sur epsilon</translation>
- </message>
- <message>
- <source>MAXIMUM_NUMBER_OF_ITERATIONS_FOR_DIFFUSION_OF_TRACERS</source>
- <translation>Maximum d'iterations pour la diffusion des traceurs</translation>
- </message>
- <message>
- <source>MASS_LUMPING_ON_VELOCITY</source>
- <translation>Mass-lumping sur la vitesse</translation>
- </message>
- <message>
- <source>FRICTION_DATA_FILE</source>
- <translation>Fichier de donnees pour le frottement</translation>
- </message>
- <message>
- <source>SCHEME_FOR_ADVECTION_OF_K_EPSILON</source>
- <translation>Schema pour la convection du K-Epsilon</translation>
- </message>
- <message>
- <source>SOLVER_ACCURACY</source>
- <translation>Precision du solveur</translation>
- </message>
- <message>
- <source>NAMES_OF_POINTS</source>
- <translation>Noms des points</translation>
- </message>
- <message>
- <source>TOMAWAC_STEERING_FILE</source>
- <translation>Fichier des parametres de TOMAWAC</translation>
- </message>
- <message>
- <source>BOUNDARY_CONDITIONS_FILE</source>
- <translation>Fichier des conditions aux limites</translation>
- </message>
- <message>
- <source>STOP_CRITERIA</source>
- <translation>Criteres d'arret</translation>
- </message>
- <message>
- <source>BINARY_RESULTS_FILE_FORMAT</source>
- <translation>Format du fichier de resultats binaire</translation>
- </message>
- <message>
- <source>TEMPERATURE_DELWAQ_FILE</source>
- <translation>Fichier DELWAQ de la temperature</translation>
- </message>
- <message>
- <source>PROPAGATION</source>
- <translation>Propagation</translation>
- </message>
- <message>
- <source>FINITE_VOLUME_SCHEME</source>
- <translation>Schema en volumes finis</translation>
- </message>
- <message>
- <source>IMPLICITATION_COEFFICIENT_OF_TRACERS</source>
- <translation>Coefficient d'implicitation des traceurs</translation>
- </message>
- <message>
- <source>CORIOLIS_COEFFICIENT</source>
- <translation>Coefficient de coriolis</translation>
- </message>
- <message>
- <source>PRESCRIBED_FLOWRATES</source>
- <translation>Debits imposes</translation>
- </message>
- <message>
- <source>TURBULENCE_MODEL</source>
- <translation>Modele de turbulence</translation>
- </message>
- <message>
- <source>NUMBER_OF_FIRST_TIME_STEP_FOR_LISTING_PRINTOUTS</source>
- <translation>Numero du premier pas de temps pour les sorties listing</translation>
- </message>
- <message>
- <source>PRINTING_CUMULATED_FLOWRATES</source>
- <translation>Impression du cumul des flux</translation>
- </message>
- <message>
- <source>NUMBER_OF_FIRST_TIME_STEP_FOR_GRAPHIC_PRINTOUTS</source>
- <translation>Numero du premier pas de temps pour les sorties graphiques</translation>
- </message>
- <message>
- <source>PHYSICAL_CHARACTERISTICS_OF_THE_TSUNAMI</source>
- <translation>Parametres physiques du tsunami</translation>
- </message>
- <message>
- <source>MASS_BALANCE</source>
- <translation>Bilan de masse</translation>
- </message>
- <message>
- <source>BINARY_DATABASE_1_FOR_TIDE</source>
- <translation>Base binaire 1 de donnees de maree</translation>
- </message>
- <message>
- <source>SOURCES_FILE</source>
- <translation>Fichier des sources</translation>
- </message>
- <message>
- <source>LAW_OF_TRACERS_DEGRADATION</source>
- <translation>Loi de degradation des traceurs</translation>
- </message>
- <message>
- <source>SECTIONS_INPUT_FILE</source>
- <translation>Fichier des sections de controle</translation>
- </message>
- <message>
- <source>CONTROL_SECTIONS</source>
- <translation>Sections de controle</translation>
- </message>
- <message>
- <source>SOLVER_FOR_DIFFUSION_OF_TRACERS</source>
- <translation>Solveur pour la diffusion des traceurs</translation>
- </message>
- <message>
- <source>RESULTS_FILE_FORMAT</source>
- <translation>Format du fichier des resultats</translation>
- </message>
- <message>
- <source>SECONDARY_CURRENTS</source>
- <translation>Courants secondaires</translation>
- </message>
- <message>
- <source>BIN</source>
- <translation>BIN</translation>
- </message>
- <message>
- <source>OPTION_FOR_INITIAL_ABSTRACTION_RATIO</source>
- <translation>Option pour ratio des pertes initiales</translation>
- </message>
- <message>
- <source>TYPE_OF_WEIRS</source>
- <translation>Type des seuils</translation>
- </message>
- <message>
- <source>NUMBER_OF_SUB_STEPS_OF_DISTRIBUTIVE_SCHEMES</source>
- <translation>Nombre de sous-pas des schemas distributifs</translation>
- </message>
- <message>
- <source>SPACING_OF_ROUGHNESS_ELEMENTS</source>
- <translation>Espacement des elements de frottement</translation>
- </message>
- <message>
- <source>SCHEME_OPTION_FOR_ADVECTION_OF_K_EPSILON</source>
- <translation>Option du schema pour la convection du K-Epsilon</translation>
- </message>
- <message>
- <source>COUPLING_WITH</source>
- <translation>Couplage avec</translation>
- </message>
- <message>
- <source>LISTING_PRINTOUT_PERIOD</source>
- <translation>Periode de sortie listing</translation>
- </message>
- <message>
- <source>THRESHOLD_DEPTH_FOR_WIND</source>
- <translation>Profondeur limite pour le vent</translation>
- </message>
- <message>
- <source>VELOCITY_PROFILES</source>
- <translation>Profils de vitesse</translation>
- </message>
- <message>
- <source>ALGAE_TYPE</source>
- <translation>Type des algues</translation>
- </message>
- <message>
- <source>TREATMENT_OF_FLUXES_AT_THE_BOUNDARIES</source>
- <translation>Traitement des flux aux frontieres</translation>
- </message>
- <message>
- <source>MINOR_CONSTITUENTS_INFERENCE</source>
- <translation>Interpolation de composantes mineures</translation>
- </message>
- <message>
- <source>STAGE_DISCHARGE_CURVES</source>
- <translation>Courbes de tarage</translation>
- </message>
- <message>
- <source>GLOBAL_NUMBER_OF_THE_POINT_TO_CALIBRATE_HIGH_WATER</source>
- <translation>Numero global du point pour caler la pleine mer</translation>
- </message>
- <message>
- <source>RAIN_OR_EVAPORATION_IN_MM_PER_DAY</source>
- <translation>Pluie ou evaporation en mm par jour</translation>
- </message>
- <message>
- <source>REFERENCE_FILE_FORMAT</source>
- <translation>Format du fichier de reference</translation>
- </message>
- <message>
- <source>SALINITY_FOR_DELWAQ</source>
- <translation>Salinite pour DELWAQ</translation>
- </message>
- <message>
- <source>DIFFUSIVITY_FOR_DELWAQ</source>
- <translation>Diffusion pour DELWAQ</translation>
- </message>
- <message>
- <source>DELWAQ</source>
- <translation>DELWAQ</translation>
- </message>
- <message>
- <source>BOTTOM_SURFACES_DELWAQ_FILE</source>
- <translation>Fichier DELWAQ des surfaces du fond</translation>
- </message>
- <message>
- <source>FORMATTED_DATA_FILE_1</source>
- <translation>Fichier de donnees formate 1</translation>
- </message>
- <message>
- <source>FORMATTED_DATA_FILE_2</source>
- <translation>Fichier de donnees formate 2</translation>
- </message>
- <message>
- <source>COMPUTATION_CONTINUED</source>
- <translation>Suite de calcul</translation>
- </message>
- <message>
- <source>RECORD_NUMBER_IN_WAVE_FILE</source>
- <translation>Numero de l'enregistrement dans le fichier de Houle</translation>
- </message>
- <message>
- <source>C_U_PRECONDITIONING</source>
- <translation>Preconditionnement C-U</translation>
- </message>
- <message>
- <source>LIST_OF_POINTS</source>
- <translation>Liste de points</translation>
- </message>
- <message>
- <source>TYPE_OF_ADVECTION</source>
- <translation>Forme de la convection</translation>
- </message>
- <message>
- <source>WIND_VELOCITY_ALONG_X</source>
- <translation>Vitesse du vent suivant X</translation>
- </message>
- <message>
- <source>WIND_VELOCITY_ALONG_Y</source>
- <translation>Vitesse du vent suivant Y</translation>
- </message>
- <message>
- <source>TOLERANCES_FOR_IDENTIFICATION</source>
- <translation>Precisions pour l'identification</translation>
- </message>
- <message>
- <source>PREVIOUS_COMPUTATION_FILE_FORMAT</source>
- <translation>Format du fichier du calcul precedent</translation>
- </message>
- <message>
- <source>METIS</source>
- <translation>METIS</translation>
- </message>
- <message>
- <source>DISCRETIZATIONS_IN_SPACE</source>
- <translation>Discretisations en espace</translation>
- </message>
- <message>
- <source>BINARY_ATMOSPHERIC_DATA_FILE</source>
- <translation>Fichier binaire de donnees atmospheriques</translation>
- </message>
- <message>
- <source>BINARY_RESULTS_FILE</source>
- <translation>Fichier de resultats binaire</translation>
- </message>
- <message>
- <source>EXCHANGES_BETWEEN_NODES_DELWAQ_FILE</source>
- <translation>Fichier DELWAQ des echanges entre noeuds</translation>
- </message>
- <message>
- <source>CONTINUITY_CORRECTION</source>
- <translation>Correction de continuite</translation>
- </message>
- <message>
- <source>SCHEME_FOR_ADVECTION_OF_VELOCITIES</source>
- <translation>Schema pour la convection des vitesses</translation>
- </message>
- <message>
- <source>EXCHANGE_AREAS_DELWAQ_FILE</source>
- <translation>Fichier DELWAQ des surfaces de flux</translation>
- </message>
- <message>
- <source>SISYPHE_STEERING_FILE</source>
- <translation>Fichier des parametres de sisyphe</translation>
- </message>
- <message>
- <source>IMPLICITATION_FOR_DIFFUSION_OF_VELOCITY</source>
- <translation>Implicitation pour la diffusion des vitesses</translation>
- </message>
- <message>
- <source>ADVECTION_OF_K_AND_EPSILON</source>
- <translation>Convection de K et epsilon</translation>
- </message>
- <message>
- <source>FREE_SURFACE_GRADIENT_COMPATIBILITY</source>
- <translation>Compatibilite du gradient de surface libre</translation>
- </message>
- <message>
- <source>VALUES_OF_THE_TRACERS_AT_THE_SOURCES</source>
- <translation>Valeurs des traceurs des sources</translation>
- </message>
- <message>
- <source>NUMBER_OF_CULVERTS</source>
- <translation>Nombre de buses</translation>
- </message>
- <message>
- <source>ZERO ELEVATION</source>
- <translation>COTE NULLE</translation>
- </message>
- <message>
- <source>RELEASE</source>
- <translation>Numero de version</translation>
- </message>
- <message>
- <source>AD_NAMES_OF_DERIVATIVES</source>
- <translation>Ad noms des derivees</translation>
- </message>
- <message>
- <source>LANGUAGE</source>
- <translation>Langue</translation>
- </message>
- <message>
- <source>NAMES_OF_PRIVATE_VARIABLES</source>
- <translation>Noms des variables privees</translation>
- </message>
- <message>
- <source>PRECONDITIONING_FOR_DIFFUSION_OF_TRACERS</source>
- <translation>Preconditionnement pour la diffusion des traceurs</translation>
- </message>
- <message>
- <source>VALIDATION</source>
- <translation>Validation</translation>
- </message>
- <message>
- <source>NUMBER_OF_SIPHONS</source>
- <translation>Nombre de siphons</translation>
- </message>
- <message>
- <source>BINARY_ATMOSPHERIC_DATA_FILE_FORMAT</source>
- <translation>Format du fichier binaire de donnees atmospheriques</translation>
- </message>
- <message>
- <source>WEIRS_DATA_FILE</source>
- <translation>Fichier de donnees des seuils</translation>
- </message>
- <message>
- <source>IMPLICITATION_FOR_VELOCITY</source>
- <translation>Implicitation pour la vitesse</translation>
- </message>
- <message>
- <source>DEFINITION_OF_ZONES</source>
- <translation>Definition de zones</translation>
- </message>
- <message>
- <source>TOMAWAC</source>
- <translation>TOMAWAC</translation>
- </message>
- <message>
- <source>LISTING_PRINTOUT</source>
- <translation>Sortie listing</translation>
- </message>
- <message>
- <source>MEAN_DEPTH_FOR_LINEARIZATION</source>
- <translation>Profondeur moyenne pour la linearisation</translation>
- </message>
- <message>
- <source>COUPLING_PERIOD_FOR_TOMAWAC</source>
- <translation>Periode de couplage pour TOMAWAC</translation>
- </message>
- <message>
- <source>WAVE_ENHANCED_FRICTION_FACTOR</source>
- <translation>Augmentation du frottement par la houle</translation>
- </message>
- <message>
- <source>VARIABLES_FOR_GRAPHIC_PRINTOUTS</source>
- <translation>Variables pour les sorties graphiques</translation>
- </message>
- <message>
- <source>DEPTH_IN_FRICTION_TERMS</source>
- <translation>Hauteur dans les termes de frottement</translation>
- </message>
- <message>
- <source>MASS_LUMPING_ON_H</source>
- <translation>Mass-lumping sur H</translation>
- </message>
- <message>
- <source>NUMBER_OF_LAGRANGIAN_DRIFTS</source>
- <translation>Nombre de derives lagrangiennes</translation>
- </message>
- <message>
- <source>NON_DIMENSIONAL_DISPERSION_COEFFICIENTS</source>
- <translation>Coefficients adimensionnels de dispersion</translation>
- </message>
- <message>
- <source>FOURIER_ANALYSIS_PERIODS</source>
- <translation>Periodes d'analyse de fourier</translation>
- </message>
- <message>
- <source>VARIABLES_TO_BE_PRINTED</source>
- <translation>Variables a imprimer</translation>
- </message>
- <message>
- <source>EQUATIONS</source>
- <translation>Equations</translation>
- </message>
- <message>
- <source>MAXIMUM_NUMBER_OF_ITERATIONS_FOR_IDENTIFICATION</source>
- <translation>Maximum d'iterations pour l'identification</translation>
- </message>
- <message>
- <source>WIND</source>
- <translation>Vent</translation>
- </message>
- <message>
- <source>SPEED_AND_DIRECTION_OF_WIND</source>
- <translation>Vitesse et direction du vent</translation>
- </message>
- <message>
- <source>NAMES_OF_CLANDESTINE_VARIABLES</source>
- <translation>Noms des variables clandestines</translation>
- </message>
- <message>
- <source>GEOMETRY_FILE_FORMAT</source>
- <translation>Format du fichier de geometrie</translation>
- </message>
- <message>
- <source>NON_SUBMERGED_VEGETATION_FRICTION</source>
- <translation>Frottement pour la vegetation non submergee</translation>
- </message>
- <message>
- <source>TYPE_OF_SOURCES</source>
- <translation>Type des sources</translation>
- </message>
- <message>
- <source>TIDAL_FLATS</source>
- <translation>Bancs decouvrants</translation>
- </message>
- <message>
- <source>TITLE</source>
- <translation>Titre</translation>
- </message>
- <message>
- <source>ORIGINAL_HOUR_OF_TIME</source>
- <translation>Heure de l'origine des temps</translation>
- </message>
- <message>
- <source>LAW_OF_FRICTION_ON_LATERAL_BOUNDARIES</source>
- <translation>Loi de frottement sur les parois laterales</translation>
- </message>
- <message>
- <source>FRICTION</source>
- <translation>FROTTEMENT</translation>
- </message>
- <message>
- <source>STAGE_DISCHARGE_CURVES_FILE</source>
- <translation>Fichier des courbes de tarage</translation>
- </message>
- <message>
- <source>DESIRED_COURANT_NUMBER</source>
- <translation>Nombre de courant souhaite</translation>
- </message>
- <message>
- <source>DISSIPATION_COEFFICIENT_FOR_SECONDARY_CURRENTS</source>
- <translation>Coefficient de dissipation pour courants secondaires</translation>
- </message>
- <message>
- <source>COUPLING_PERIOD_FOR_SISYPHE</source>
- <translation>Periode de couplage pour sisyphe</translation>
- </message>
- <message>
- <source>ALGAE_TRANSPORT_MODEL</source>
- <translation>Modele de transport des algues</translation>
- </message>
- <message>
- <source>ABSCISSAE_OF_SOURCES</source>
- <translation>Abscisses des sources</translation>
- </message>
- <message>
- <source>LIQUID_BOUNDARIES_FILE</source>
- <translation>Fichier des frontieres liquides</translation>
- </message>
- <message>
- <source>VELOCITIES_OF_THE_SOURCES_ALONG_X</source>
- <translation>Vitesses des sources selon X</translation>
- </message>
- <message>
- <source>VELOCITIES_OF_THE_SOURCES_ALONG_Y</source>
- <translation>Vitesses des sources selon Y</translation>
- </message>
- <message>
- <source>MAXIMUM_NUMBER_OF_SOURCES</source>
- <translation>Nombre maximum de sources</translation>
- </message>
- <message>
- <source>SOLVER_OPTION_FOR_TRACERS_DIFFUSION</source>
- <translation>Option du solveur pour la diffusion des traceurs</translation>
- </message>
- <message>
- <source>INFORMATION_ABOUT_SOLVER</source>
- <translation>Informations sur le solveur</translation>
- </message>
- <message>
- <source>BOUSSINESQ</source>
- <translation>BOUSSINESQ</translation>
- </message>
- <message>
- <source>BINARY_DATA_FILE_1_FORMAT</source>
- <translation>Format du fichier de donnees binaire 1</translation>
- </message>
- <message>
- <source>DIAMETRE_OF_ALGAE</source>
- <translation>Diametre des algues</translation>
- </message>
- <message>
- <source>CONSTANT ELEVATION</source>
- <translation>COTE CONSTANTE</translation>
- </message>
- <message>
- <source>COUPLING_DIRECTORY</source>
- <translation>Dossier de couplage</translation>
- </message>
- <message>
- <source>DELWAQ_PRINTOUT_PERIOD</source>
- <translation>Periode de sortie pour DELWAQ</translation>
- </message>
- <message>
- <source>BOTTOM_SMOOTHINGS</source>
- <translation>Lissages du fond</translation>
- </message>
- <message>
- <source>AIR_PRESSURE</source>
- <translation>Pression atmospherique</translation>
- </message>
- <message>
- <source>PRESCRIBED_ELEVATIONS</source>
- <translation>Cotes imposees</translation>
- </message>
- <message>
- <source>MASS_LUMPING_FOR_WEAK_CHARACTERISTICS</source>
- <translation>Mass-lumping pour les caracteristiques faibles</translation>
- </message>
- <message>
- <source>GRAVITY_ACCELERATION</source>
- <translation>Acceleration de la pesanteur</translation>
- </message>
- <message>
- <source>LIMIT_VALUES</source>
- <translation>Valeurs limites</translation>
- </message>
- <message>
- <source>RESULTS_FILE</source>
- <translation>Fichier des resultats</translation>
- </message>
- <message>
- <source>SCHEME_OPTION_FOR_ADVECTION_OF_TRACERS</source>
- <translation>Option du schema pour la convection des traceurs</translation>
- </message>
- <message>
- <source>OPTION_FOR_CHARACTERISTICS</source>
- <translation>Option pour les caracteristiques</translation>
- </message>
- <message>
- <source>OPTION_FOR_THE_TREATMENT_OF_TIDAL_FLATS</source>
- <translation>Option de traitement des bancs decouvrants</translation>
- </message>
- <message>
- <source>TIME_RANGE_FOR_FOURIER_ANALYSIS</source>
- <translation>Bornes en temps pour l'analyse de fourier</translation>
- </message>
- <message>
- <source>VERTICAL_FLUXES_DELWAQ_FILE</source>
- <translation>Fichier DELWAQ des flux verticaux</translation>
- </message>
- <message>
- <source>ORDINATES_OF_SOURCES</source>
- <translation>Ordonnees des sources</translation>
- </message>
- <message>
- <source>SERAFIN</source>
- <translation>SERAFIN</translation>
- </message>
- <message>
- <source>MAXIMUM_NUMBER_OF_TRACERS</source>
- <translation>Nombre maximum de traceurs</translation>
- </message>
- <message>
- <source>TURBULENCE_REGIME_FOR_SOLID_BOUNDARIES</source>
- <translation>Regime de turbulence pour les parois</translation>
- </message>
- <message>
- <source>LOCAL_NUMBER_OF_THE_POINT_TO_CALIBRATE_HIGH_WATER</source>
- <translation>Numero local du point pour caler la pleine mer</translation>
- </message>
- <message>
- <source>NODES_DISTANCES_DELWAQ_FILE</source>
- <translation>Fichier DELWAQ des distances entre noeuds</translation>
- </message>
- <message>
- <source>NUMBER_OF_DROGUES</source>
- <translation>Nombre de flotteurs</translation>
- </message>
- <message>
- <source>SOLVER_FOR_K_EPSILON_MODEL</source>
- <translation>Solveur pour le modele K-Epsilon</translation>
- </message>
- <message>
- <source>SECTIONS_OUTPUT_FILE</source>
- <translation>Fichier de sortie des sections de controle</translation>
- </message>
- <message>
- <source>HARMONIC_CONSTANTS_FILE</source>
- <translation>Fichier des constantes harmoniques</translation>
- </message>
- <message>
- <source>OPTION_FOR_CULVERTS</source>
- <translation>Option pour les buses</translation>
- </message>
- <message>
- <source>ASCII_ATMOSPHERIC_DATA_FILE</source>
- <translation>Fichier ASCII de donnees atmospheriques</translation>
- </message>
- <message>
- <source>INITIAL_ELEVATION</source>
- <translation>Cote initiale</translation>
- </message>
- <message>
- <source>ZERO</source>
- <translation>Zero</translation>
- </message>
- <message>
- <source>BREACHES_DATA_FILE</source>
- <translation>Fichier de donnees des breches</translation>
- </message>
- <message>
- <source>OPTION_FOR_WIND</source>
- <translation>Option du vent</translation>
- </message>
- <message>
- <source>OPTION_OF_THE_HYDROSTATIC_RECONSTRUCTION</source>
- <translation>Option de la reconstrucion Hydrostatique</translation>
- </message>
- <message>
- <source>SERAFIND</source>
- <translation>SERAFIND</translation>
- </message>
- <message>
- <source>NUMBER_OF_TRACERS</source>
- <translation>Nombre de traceurs</translation>
- </message>
- <message>
- <source>DIFFUSIVITY_DELWAQ_FILE</source>
- <translation>Fichier DELWAQ de la diffusion</translation>
- </message>
- <message>
- <source>TPXO SATELLITE ALTIMETRY</source>
- <translation>ALTIMETRIE SATELLITE TPXO</translation>
- </message>
- <message>
- <source>ADVECTION_OF_TRACERS</source>
- <translation>Convection des traceurs</translation>
- </message>
- <message>
- <source>MED</source>
- <translation>MED</translation>
- </message>
- <message>
- <source>SOLVER_OPTION</source>
- <translation>Option du solveur</translation>
- </message>
- <message>
- <source>MATRIX_STORAGE</source>
- <translation>Stockage des matrices</translation>
- </message>
- <message>
- <source>COEFFICIENT_TO_CALIBRATE_TIDAL_RANGE</source>
- <translation>Coefficient de calage du marnage</translation>
- </message>
- <message>
- <source>BINARY_DATA_FILE_1</source>
- <translation>Fichier de donnees binaire 1</translation>
- </message>
- <message>
- <source>BINARY_DATA_FILE_2</source>
- <translation>Fichier de donnees binaire 2</translation>
- </message>
- <message>
- <source>CONTROL_OF_LIMITS</source>
- <translation>Controle des limites</translation>
- </message>
- <message>
- <source>RECORD_NUMBER_FOR_RESTART</source>
- <translation>Enregistrement pour suite de calcul</translation>
- </message>
- <message>
- <source>NUMBER_OF_GAUSS_POINTS_FOR_WEAK_CHARACTERISTICS</source>
- <translation>Nombre de points de Gauss pour les caracteristiques faibles</translation>
- </message>
- <message>
- <source>COEFFICIENT_OF_WIND_INFLUENCE</source>
- <translation>Coefficient d'influence du vent</translation>
- </message>
- <message>
- <source>PRECONDITIONING_FOR_K_EPSILON_MODEL</source>
- <translation>Preconditionnement pour le modele K-Epsilon</translation>
- </message>
- <message>
- <source>PRODUCTION_COEFFICIENT_FOR_SECONDARY_CURRENTS</source>
- <translation>Coefficient de production pour courants secondaires</translation>
- </message>
- <message>
- <source>MINIMUM_VALUE_OF_DEPTH</source>
- <translation>Valeur minimum de H</translation>
- </message>
- <message>
- <source>ELEMENTS_MASKED_BY_USER</source>
- <translation>Elements masques par l'utilisateur</translation>
- </message>
- <message>
- <source>FRICTION_COEFFICIENT</source>
- <translation>Coefficient de frottement</translation>
- </message>
- <message>
- <source>PRESCRIBED_VELOCITIES</source>
- <translation>Vitesses imposees</translation>
- </message>
- <message>
- <source>NAMES_OF_TRACERS</source>
- <translation>Noms des traceurs</translation>
- </message>
- <message>
- <source>SPECIAL</source>
- <translation>SPECIAL</translation>
- </message>
- <message>
- <source>VELOCITY_DELWAQ_FILE</source>
- <translation>Fichier DELWAQ de la vitesse</translation>
- </message>
- <message>
- <source>H_CLIPPING</source>
- <translation>Clipping de H</translation>
- </message>
- <message>
- <source>ZONE_NUMBER_IN_GEOGRAPHIC_SYSTEM</source>
- <translation>Numero de fuseau ou projection dans le systeme geographique</translation>
- </message>
- <message>
- <source>SUPG_OPTION</source>
- <translation>Option de SUPG</translation>
- </message>
- <message>
- <source>PARAMETER_ESTIMATION</source>
- <translation>Estimation de parametre</translation>
- </message>
- <message>
- <source>CHECKING_THE_MESH</source>
- <translation>Verification du maillage</translation>
- </message>
- <message>
- <source>AD_NUMBER_OF_DERIVATIVES</source>
- <translation>Ad nombre de derivees</translation>
- </message>
- <message>
- <source>COMPATIBLE_COMPUTATION_OF_FLUXES</source>
- <translation>Calcul compatible des flux</translation>
- </message>
- <message>
- <source>LIST_OF_FILES</source>
- <translation>Liste des fichiers</translation>
- </message>
- <message>
- <source>NUMBER_OF_PRIVATE_ARRAYS</source>
- <translation>Nombre de tableaux prives</translation>
- </message>
- <message>
- <source>MAXIMUM_NUMBER_OF_FRICTION_DOMAINS</source>
- <translation>Nombre maximum de domaines de frottement</translation>
- </message>
- <message>
- <source>DURATION</source>
- <translation>Duree du calcul</translation>
- </message>
- <message>
- <source>DELWAQ_STEERING_FILE</source>
- <translation>Fichier de commande DELWAQ</translation>
- </message>
- <message>
- <source>COEFFICIENT_1_FOR_LAW_OF_TRACERS_DEGRADATION</source>
- <translation>Coefficient 1 de la loi de degradation des traceurs</translation>
- </message>
- <message>
- <source>ACCURACY_OF_K</source>
- <translation>Precision sur k</translation>
- </message>
- <message>
- <source>PARTICULAR</source>
- <translation>PARTICULAR</translation>
- </message>
- <message>
- <source>WATER_QUALITY_PROCESS</source>
- <translation>Processus qualite d'eau</translation>
- </message>
- <message>
- <source>ADVECTION_OF_H</source>
- <translation>Convection de H</translation>
- </message>
- <message>
- <source>SCHEME_FOR_ADVECTION_OF_TRACERS</source>
- <translation>Schema pour la convection des traceurs</translation>
- </message>
- <message>
- <source>BINARY_DATA_FILE_2_FORMAT</source>
- <translation>Format du fichier de donnees binaire 2</translation>
- </message>
- <message>
- <source>COEFFICIENT_TO_CALIBRATE_SEA_LEVEL</source>
- <translation>Coefficient de calage du niveau de mer</translation>
- </message>
- <message>
- <source>OPTION_FOR_THE_DIFFUSION_OF_VELOCITIES</source>
- <translation>Option pour la diffusion des vitesses</translation>
- </message>
- <message>
- <source>INITIAL_GUESS_FOR_H</source>
- <translation>Ordre du tir initial pour H</translation>
- </message>
- <message>
- <source>MASS_LUMPING_ON_TRACERS</source>
- <translation>Mass-lumping sur les traceurs</translation>
- </message>
- <message>
- <source>OPTION_FOR_LIQUID_BOUNDARIES</source>
- <translation>Option pour les frontieres liquides</translation>
- </message>
- <message>
- <source>GEOMETRY_FILE</source>
- <translation>Fichier de geometrie</translation>
- </message>
- <message>
- <source>WAQTEL_STEERING_FILE</source>
- <translation>Fichier des parametres de waqtel</translation>
- </message>
- <message>
- <source>MAXIMUM_NUMBER_OF_ITERATIONS_FOR_ADVECTION_SCHEMES</source>
- <translation>Maximum d'iterations pour les schemas de convection</translation>
- </message>
- <message>
- <source>FLUXLINE_INPUT_FILE</source>
- <translation>Fichier de fluxline</translation>
- </message>
- <message>
- <source>RAIN_OR_EVAPORATION</source>
- <translation>Pluie ou evaporation</translation>
- </message>
- <message>
- <source>LAW_OF_BOTTOM_FRICTION</source>
- <translation>Loi de frottement sur le fond</translation>
- </message>
- <message>
- <source>MATRIX_VECTOR_PRODUCT</source>
- <translation>Produit matrice-vecteur</translation>
- </message>
- <message>
- <source>ACCURACY_FOR_DIFFUSION_OF_TRACERS</source>
- <translation>Precision pour la diffusion des traceurs</translation>
- </message>
- <message>
- <source>MEAN_TEMPERATURE</source>
- <translation>Temperature moyenne</translation>
- </message>
- <message>
- <source>FRICTION, STEADY</source>
- <translation>FROTTEMENT, PERMANENT</translation>
- </message>
- <message>
- <source>PARTITIONING_TOOL</source>
- <translation>Partitionneur</translation>
- </message>
- <message>
- <source>MAXIMUM_NUMBER_OF_BOUNDARIES</source>
- <translation>Nombre maximum de frontieres</translation>
- </message>
- <message>
- <source>OPTION_FOR_THE_SOLVER_FOR_K_EPSILON_MODEL</source>
- <translation>Option du solveur pour le modele K-Epsilon</translation>
- </message>
- <message>
- <source>SAINT-VENANT FV</source>
- <translation>SAINT-VENANT VF</translation>
- </message>
- <message>
- <source>SPATIAL_PROJECTION_TYPE</source>
- <translation>Type de projection spatiale</translation>
- </message>
- <message>
- <source>THRESHOLD_FOR_NEGATIVE_DEPTHS</source>
- <translation>Seuil pour les profondeurs negatives</translation>
- </message>
- <message>
- <source>DEFAULT_PARALLEL_EXECUTABLE</source>
- <translation>Executable parallele par defaut</translation>
- </message>
- <message>
- <source>INITIAL_GUESS_FOR_U</source>
- <translation>Ordre du tir initial pour U</translation>
- </message>
- <message>
- <source>DIFFUSION_OF_TRACERS</source>
- <translation>Diffusion des traceurs</translation>
- </message>
- <message>
- <source>DEFAULT_EXECUTABLE</source>
- <translation>Executable par defaut</translation>
- </message>
- <message>
- <source>FORMATTED_RESULTS_FILE</source>
- <translation>Fichier de resultats formate</translation>
- </message>
- <message>
- <source>VALUES_OF_TRACERS_IN_THE_RAIN</source>
- <translation>Valeurs des traceurs dans la pluie</translation>
- </message>
- <message>
- <source>VERTICAL_STRUCTURES</source>
- <translation>Structures verticales</translation>
- </message>
- <message>
- <source>MAXIMUM_NUMBER_OF_ITERATIONS_FOR_K_AND_EPSILON</source>
- <translation>Maximum d'iterations pour k et epsilon</translation>
- </message>
- <message>
- <source>UPWIND_COEFFICIENTS</source>
- <translation>Coefficients de decentrement</translation>
- </message>
- <message>
- <source>FRICTION_DATA</source>
- <translation>Donnees pour le frottement</translation>
- </message>
- <message>
- <source>NUMBER_OF_WEIRS</source>
- <translation>Nombre de seuils</translation>
- </message>
- <message>
- <source>OPTION_FOR_TSUNAMI_GENERATION</source>
- <translation>Option pour la generation de tsunami</translation>
- </message>
- <message>
- <source>VARIABLE_TIME_STEP</source>
- <translation>Pas de temps variable</translation>
- </message>
- <message>
- <source>WAVE_DRIVEN_CURRENTS</source>
- <translation>Courants de Houle</translation>
- </message>
- <message>
- <source>INFORMATION_ABOUT_K_EPSILON_MODEL</source>
- <translation>Informations sur le modele K-Epsilon</translation>
- </message>
- <message>
- <source>ZONES_FILE</source>
- <translation>Fichier des zones</translation>
- </message>
- <message>
- <source>SPHERICAL_COORDINATES</source>
- <translation>Coordonnees spheriques</translation>
- </message>
- <message>
- <source>NORTH</source>
- <translation>Nord</translation>
- </message>
- <message>
- <source>TREATMENT_OF_THE_LINEAR_SYSTEM</source>
- <translation>Traitement du systeme lineaire</translation>
- </message>
- <message>
- <source>REFERENCE_FILE</source>
- <translation>Fichier de reference</translation>
- </message>
- <message>
- <source>DENSITY_EFFECTS</source>
- <translation>Effets de densite</translation>
- </message>
- <message>
- <source>ASCII_DATABASE_FOR_TIDE</source>
- <translation>Base ASCII de donnees de maree</translation>
- </message>
- <message>
- <source>THRESHOLD_DEPTH_FOR_RECEDING_PROCEDURE</source>
- <translation>Profondeur limite pour procedure de ressuyage</translation>
- </message>
- <message>
- <source>OIL_SPILL_MODEL</source>
- <translation>Modele de nappes d'hydrocarbures</translation>
- </message>
- <message>
- <source>SOLVER</source>
- <translation>Solveur</translation>
- </message>
- <message>
- <source>TIME_STEP_REDUCTION_FOR_K_EPSILON_MODEL</source>
- <translation>Reduction du pas de temps pour le modele K-Epsilon</translation>
- </message>
- <message>
- <source>STOCHASTIC_DIFFUSION_MODEL</source>
- <translation>Modele de diffusion stochastique</translation>
- </message>
- <message>
- <source>ORIGINAL_DATE_OF_TIME</source>
- <translation>Date de l'origine des temps</translation>
- </message>
- <message>
- <source>GEOGRAPHIC_SYSTEM</source>
- <translation>Systeme geographique</translation>
- </message>
- <message>
- <source>FORTRAN_FILE</source>
- <translation>Fichier fortran</translation>
- </message>
- <message>
- <source>PROPAGATION_OPTION</source>
- <translation>Option de propagation</translation>
- </message>
- <message>
- <source>OIL_SPILL_STEERING_FILE</source>
- <translation>Fichier de commandes hydrocarbures</translation>
- </message>
- <message>
- <source>TIDAL_DATA_BASE</source>
- <translation>Base de donnees de maree</translation>
- </message>
- <message>
- <source>TIDAL_MODEL_FILE</source>
- <translation>Fichier du modele de maree</translation>
- </message>
- <message>
- <source>BREACH</source>
- <translation>Breche</translation>
- </message>
- <message>
- <source>SISYPHE</source>
- <translation>SISYPHE</translation>
- </message>
- <message>
- <source>TREATMENT_OF_NEGATIVE_DEPTHS</source>
- <translation>Traitement des hauteurs negatives</translation>
- </message>
- <message>
- <source>SCOTCH</source>
- <translation>SCOTCH</translation>
- </message>
- <message>
- <source>INITIAL_VALUES_OF_TRACERS</source>
- <translation>Valeurs initiales des traceurs</translation>
- </message>
-</context>
-</TS>
+++ /dev/null
-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...
+++ /dev/null
-[c_pre_polymer_data_management]
-gui = True
-data_base = local/
-backup = False
-folder_output = /tmp
+++ /dev/null
-# -*- 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 <b>%s</b> 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)
+++ /dev/null
-# 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 <http://www.gnu.org/licenses/>.
-
-# --- 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)
+++ /dev/null
-# 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 <http://www.gnu.org/licenses/>.
-
-# --- 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)