2 Copyright (C) 2008-2024 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 pour chacune des variables potentiellement observables. Elle n'est
36 activée que sur celles qui sont explicitement associées avec cet *observer*
39 .. ------------------------------------ ..
40 .. include:: snippets/Header2Algo12.rst
42 .. include:: snippets/FeaturePropDerivativeFree.rst
44 .. ------------------------------------ ..
45 .. include:: snippets/Header2Algo02.rst
47 .. include:: snippets/Observers.rst
49 Les commandes optionnelles générales, disponibles dans l'interface en édition,
50 sont indiquées dans la :ref:`section_ref_checking_keywords`.
52 *Astuce pour cet algorithme :*
54 Comme les commandes *"CheckingPoint"* et *"ObservationOperator"*, dans
55 l'interface graphique, sont requises pour TOUS les algorithmes de
56 vérification, il faut fournir une valeur, malgré le fait que ces commandes
57 ne soient pas nécessaires pour ce test (et que leurs valeurs ne sont donc
58 pas utilisées). La manière la plus simple est de donner "1" comme un STRING
59 pour les deux, avec un *"ObservationOperator"* devant être de type *Matrix*