Salome HOME
Documentation improvements and post analysis
[modules/adao.git] / doc / fr / ref_algorithm_ObserverTest.rst
1 ..
2    Copyright (C) 2008-2021 EDF R&D
3
4    This file is part of SALOME ADAO module.
5
6    This library is free software; you can redistribute it and/or
7    modify it under the terms of the GNU Lesser General Public
8    License as published by the Free Software Foundation; either
9    version 2.1 of the License, or (at your option) any later version.
10
11    This library is distributed in the hope that it will be useful,
12    but WITHOUT ANY WARRANTY; without even the implied warranty of
13    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14    Lesser General Public License for more details.
15
16    You should have received a copy of the GNU Lesser General Public
17    License along with this library; if not, write to the Free Software
18    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
19
20    See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
21
22    Author: Jean-Philippe Argaud, jean-philippe.argaud@edf.fr, EDF R&D
23
24 .. index:: single: ObserverTest
25 .. _section_ref_algorithm_ObserverTest:
26
27 Algorithme de vérification "*ObserverTest*"
28 -------------------------------------------
29
30 .. ------------------------------------ ..
31 .. include:: snippets/Header2Algo01.rst
32
33 Cet algorithme permet de vérifier une fonction externe et fournie par
34 l'utilisateur, utilisée comme un *observer*. Cette fonction externe peut être
35 appliquée à chacune des variables potentiellement observables. Elle n'est
36 activée que sur celles qui sont explicitement associées avec l'*observer* dans
37 l'interface.
38
39 .. ------------------------------------ ..
40 .. include:: snippets/Header2Algo02.rst
41
42 .. include:: snippets/Observers.rst
43
44 Les commandes optionnelles générales, disponibles dans l'interface en édition,
45 sont indiquées dans la :ref:`section_ref_checking_keywords`.
46
47 *Astuce pour cet algorithme :*
48
49     Comme les commandes *"CheckingPoint"* et *"ObservationOperator"* sont
50     requises pour TOUS les algorithmes de vérification dans l'interface, vous
51     devez fournir une valeur, malgré le fait que ces commandes ne soient pas
52     nécessaires pour ce test, et ne sont donc pas utilisées. La manière la plus
53     simple est de donner "1" comme un STRING pour les deux,
54     l'*"ObservationOperator"* devant être de type *Matrix*.