To make future developments easier, it is strongly recommended to ensure that
your user scripts files use a Python 2 and a Python 3 compatible syntax. In
particular, it is recommended to use the functional syntax for "*print*" and not
-the "*command*" syntax, for example:
+the "*command*" syntax, for example::
# Python 2 & 3
x, unit = 1., "cm"
Keyword to indicate the standard errors diagonal matrix of *a posteriori*
analysis errors.
- BMA (Background minus Analysis)
- Difference between the background state and the optimal state estimation,
- noted as :math:`\mathbf{x}^b - \mathbf{x}^a`.
-
- OMA (Observation minus Analysis)
- Difference between the observations and the result of the simulation based
- on the optimal state estimation, the analysis, filtered to be compatible
- with the observation, noted as :math:`\mathbf{y}^o -
- \mathbf{H}\mathbf{x}^a`.
-
- OMB (Observation minus Background)
- Difference between the observations and the result of the simulation based
- on the background state, filtered to be compatible with the observation,
- noted as :math:`\mathbf{y}^o - \mathbf{H}\mathbf{x}^b`.
+ BMA
+ The acronym means *Background minus Analysis*. It is the difference
+ between the background state and the optimal state estimation,
+ corresponding to the mathematical expression :math:`\mathbf{x}^b -
+ \mathbf{x}^a`.
+
+ OMA
+ The acronym means *Observation minus Analysis*. It is the difference
+ between the observations and the result of the simulation based on the
+ optimal state estimation, the analysis, filtered to be compatible with
+ the observation, corresponding to the mathematical expression
+ :math:`\mathbf{y}^o - \mathbf{H}\mathbf{x}^a`.
+
+ OMB
+ The acronym means *Observation minus Background*. It is the difference
+ between the observations and the result of the simulation based on the
+ background state, filtered to be compatible with the observation,
+ corresponding to the mathematical expression :math:`\mathbf{y}^o -
+ \mathbf{H}\mathbf{x}^b`.
SigmaBck2
Keyword to indicate the Desroziers-Ivanov parameter measuring the
.. include:: snippets/Header2Algo06.rst
- :ref:`section_ref_algorithm_LinearityTest`
+- :ref:`section_ref_algorithm_ParallelFunctionTest`
--- /dev/null
+..
+ Copyright (C) 2008-2019 EDF R&D
+
+ This file is part of SALOME ADAO module.
+
+ This library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Lesser General Public
+ License as published by the Free Software Foundation; either
+ version 2.1 of the License, or (at your option) any later version.
+
+ This library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Lesser General Public License for more details.
+
+ You should have received a copy of the GNU Lesser General Public
+ License along with this library; if not, write to the Free Software
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+
+ See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+
+ Author: Jean-Philippe Argaud, jean-philippe.argaud@edf.fr, EDF R&D
+
+.. index:: single: ParallelFunctionTest
+.. _section_ref_algorithm_ParallelFunctionTest:
+
+Checking algorithm "*ParallelFunctionTest*"
+-------------------------------------------
+
+.. ------------------------------------ ..
+.. include:: snippets/Header2Algo01.rst
+
+This algorithm allows to verify that the observation operator is working
+correctly in parallel and that its call is compatible with its usage in ADAO
+algorithms. In practice, it allows to call one or several times the operator in
+parallel, activating or not the "debug" mode during execution.
+
+Statistics on input and output vectors for each execution of operator are given,
+and an another global statistic is given at the end of the checking algorithm.
+The precision of printed outputs can be controlled to facilitate automatic tests
+of operator.
+
+.. ------------------------------------ ..
+.. include:: snippets/Header2Algo02.rst
+
+.. include:: snippets/CheckingPoint.rst
+
+.. include:: snippets/ObservationOperator.rst
+
+.. ------------------------------------ ..
+.. include:: snippets/Header2Algo03Chck.rst
+
+.. include:: snippets/NumberOfPrintedDigits.rst
+
+.. include:: snippets/NumberOfRepetition.rst
+
+.. include:: snippets/SetDebug.rst
+
+StoreSupplementaryCalculations
+ .. index:: single: StoreSupplementaryCalculations
+
+ This list indicates the names of the supplementary variables that can be
+ available at the end of the algorithm, if they are initially required by the
+ user. It involves potentially costly calculations or memory consumptions. The
+ default is a void list, none of these variables being calculated and stored
+ by default excepted the unconditionnal variables. The possible names are in
+ the following list: [
+ "CurrentState",
+ "SimulatedObservationAtCurrentState",
+ ].
+
+ Example :
+ ``{"StoreSupplementaryCalculations":["BMA", "CurrentState"]}``
+
+.. ------------------------------------ ..
+.. include:: snippets/Header2Algo04.rst
+
+*None*
+
+.. ------------------------------------ ..
+.. include:: snippets/Header2Algo05.rst
+
+.. include:: snippets/CurrentState.rst
+
+.. include:: snippets/SimulatedObservationAtCurrentState.rst
+
+.. ------------------------------------ ..
+.. include:: snippets/Header2Algo06.rst
+
+- :ref:`section_ref_algorithm_FunctionTest`
+- :ref:`section_ref_algorithm_LinearityTest`
ref_algorithm_LinearityTest
ref_algorithm_LocalSensitivityTest
ref_algorithm_ObserverTest
+ ref_algorithm_ParallelFunctionTest
ref_algorithm_SamplingTest
ref_algorithm_TangentTest
ref_checking_keywords
Mot-clé indiquant la matrice diagonale des écarts-types des erreurs *a
posteriori* d'analyse.
- BMA (Background minus Analysis)
- Différence entre l'état d'ébauche et l'état optimal estimé, notée
- :math:`\mathbf{x}^b - \mathbf{x}^a`.
-
- OMA (Observation minus Analysis)
- Différence entre les observations et le résultat de la simulation basée
- sur l'état optimal estimé, l'analyse, filtré pour être compatible avec les
- observations, notée :math:`\mathbf{y}^o - \mathbf{H}\mathbf{x}^a`.
-
- OMB (Observation minus Background)
- Différence entre les observations et le résultat de la simulation basée
- sur l'état d'ébauche, filtré pour être compatible avec les observations,
- notée :math:`\mathbf{y}^o - \mathbf{H}\mathbf{x}^b`.
+ BMA
+ L'acronyme signifie *Background moins Analysis*. C'est la différence
+ entre l'état d'ébauche et l'état optimal estimé, correspondant à
+ l'expression mathématique :math:`\mathbf{x}^b - \mathbf{x}^a`.
+
+ OMA
+ L'acronyme signifie *Observation moins Analysis*. C'est la différence
+ entre les observations et le résultat de la simulation basée sur l'état
+ optimal estimé, l'analyse, filtré pour être compatible avec les
+ observations, correspondant à l'expression mathématique
+ :math:`\mathbf{y}^o - \mathbf{H}\mathbf{x}^a`.
+
+ OMB
+ L'acronyme signifie *Observation moins Background*. C'est la différence
+ entre les observations et le résultat de la simulation basée sur l'état
+ d'ébauche, filtré pour être compatible avec les observations,
+ correspondant à l'expression mathématique :math:`\mathbf{y}^o -
+ \mathbf{H}\mathbf{x}^b`.
SigmaBck2
Mot-clé indiquant le paramètre de Desroziers-Ivanov mesurant la
.. include:: snippets/Header2Algo06.rst
- :ref:`section_ref_algorithm_LinearityTest`
+- :ref:`section_ref_algorithm_ParallelFunctionTest`
--- /dev/null
+..
+ Copyright (C) 2008-2019 EDF R&D
+
+ This file is part of SALOME ADAO module.
+
+ This library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Lesser General Public
+ License as published by the Free Software Foundation; either
+ version 2.1 of the License, or (at your option) any later version.
+
+ This library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Lesser General Public License for more details.
+
+ You should have received a copy of the GNU Lesser General Public
+ License along with this library; if not, write to the Free Software
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+
+ See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+
+ Author: Jean-Philippe Argaud, jean-philippe.argaud@edf.fr, EDF R&D
+
+.. index:: single: ParallelFunctionTest
+.. _section_ref_algorithm_ParallelFunctionTest:
+
+Algorithme de vérification "*ParallelFunctionTest*"
+---------------------------------------------------
+
+.. ------------------------------------ ..
+.. include:: snippets/Header2Algo01.rst
+
+Cet algorithme permet de vérifier que l'opérateur d'observation fonctionne
+correctement en parallèle et que son appel se déroule de manière compatible
+avec son usage dans les algorithmes d'ADAO. De manière pratique, il permet
+d'appeler une ou plusieurs fois l'opérateur en parallèle, en activant ou non le
+mode "debug" lors de l'exécution.
+
+Une statistique sur les vecteurs en entrée et en sortie de chaque exécution de
+l'opérateur est indiquée, et une autre globale est fournie de manière
+récapitulative à la fin de l'algorithme de vérification. La précision
+d'affichage est contrôlable pour permettre l'automatisation des tests
+d'opérateur.
+
+.. ------------------------------------ ..
+.. include:: snippets/Header2Algo02.rst
+
+.. include:: snippets/CheckingPoint.rst
+
+.. include:: snippets/ObservationOperator.rst
+
+.. ------------------------------------ ..
+.. include:: snippets/Header2Algo03Chck.rst
+
+.. include:: snippets/NumberOfPrintedDigits.rst
+
+.. include:: snippets/NumberOfRepetition.rst
+
+.. include:: snippets/SetDebug.rst
+
+StoreSupplementaryCalculations
+ .. index:: single: StoreSupplementaryCalculations
+
+ Cette liste indique les noms des variables supplémentaires qui peuvent être
+ disponibles à la fin de l'algorithme, si elles sont initialement demandées par
+ l'utilisateur. Cela implique potentiellement des calculs ou du stockage
+ coûteux. La valeur par défaut est une liste vide, aucune de ces variables
+ n'étant calculée et stockée par défaut sauf les variables inconditionnelles.
+ Les noms possibles sont dans la liste suivante : [
+ "CurrentState",
+ "SimulatedObservationAtCurrentState",
+ ].
+
+ Exemple :
+ ``{"StoreSupplementaryCalculations":["BMA", "CurrentState"]}``
+
+.. ------------------------------------ ..
+.. include:: snippets/Header2Algo04.rst
+
+*Aucune*
+
+.. ------------------------------------ ..
+.. include:: snippets/Header2Algo05.rst
+
+.. include:: snippets/CurrentState.rst
+
+.. include:: snippets/SimulatedObservationAtCurrentState.rst
+
+.. ------------------------------------ ..
+.. include:: snippets/Header2Algo06.rst
+
+- :ref:`section_ref_algorithm_FunctionTest`
+- :ref:`section_ref_algorithm_LinearityTest`
ref_algorithm_LinearityTest
ref_algorithm_LocalSensitivityTest
ref_algorithm_ObserverTest
+ ref_algorithm_ParallelFunctionTest
ref_algorithm_SamplingTest
ref_algorithm_TangentTest
ref_checking_keywords