2 Copyright (C) 2008-2020 EDF R&D
4 This file is part of SALOME ADAO module.
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.
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.
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
20 See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
22 Author: Jean-Philippe Argaud, jean-philippe.argaud@edf.fr, EDF R&D
24 .. index:: single: ObserverTest
25 .. _section_ref_algorithm_ObserverTest:
27 Algorithme de vérification "*ObserverTest*"
28 -------------------------------------------
30 .. ------------------------------------ ..
31 .. include:: snippets/Header2Algo01.rst
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
39 .. ------------------------------------ ..
40 .. include:: snippets/Header2Algo02.rst
42 .. include:: snippets/Observers.rst
44 Les commandes optionnelles générales, disponibles dans l'interface en édition,
45 sont indiquées dans la :ref:`section_ref_checking_keywords`.
47 *Astuce pour cet algorithme :*
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 cet algorithme, et ne sont donc pas utilisées. La manière
53 la plus simple est de donner "1" comme un STRING pour les deux,
54 l'*"ObservationOperator"* devant être de type *Matrix*.