Salome HOME
Minor documentation and source improvements
[modules/adao.git] / doc / en / ref_checking_keywords.rst
1 ..
2    Copyright (C) 2008-2015 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: CHECKING_STUDY
25 .. _section_ref_checking_keywords:
26
27 List of commands and keywords for an ADAO checking case
28 -------------------------------------------------------
29
30 .. index:: single: Algorithm
31 .. index:: single: AlgorithmParameters
32 .. index:: single: CheckingPoint
33 .. index:: single: BackgroundError
34 .. index:: single: Debug
35 .. index:: single: Observation
36 .. index:: single: ObservationError
37 .. index:: single: ObservationOperator
38 .. index:: single: Observer
39 .. index:: single: Observers
40 .. index:: single: Observer Template
41 .. index:: single: StudyName
42 .. index:: single: StudyRepertory
43 .. index:: single: UserDataInit
44
45 This set of commands is related to the description of a checking case, that is a
46 procedure to check required properties on information, used somewhere else by a
47 calculation case. The terms are ordered in alphabetical order, except the first,
48 which describes the choice between calculation or checking.
49
50 The different commands are the following:
51
52   **CHECKING_STUDY**
53     *Required command*. This is the general command describing the checking
54     case. It hierarchically contains all the other commands.
55
56   AlgorithmParameters
57     *Required command*. This indicates the checking algorithm chosen by the
58     keyword "*Algorithm*", and its potential optional parameters. The algorithm
59     choices are available through the GUI. There exists for example
60     "FunctionTest", "GradientTest"... Each algorithm is defined, below, by a
61     specific subsection. Optionaly, the command allows also to add some
62     parameters to control the algorithm. Their values are defined either
63     explicitly or in a "*Dict*" type object. See the
64     :ref:`section_ref_options_Algorithm_Parameters` for the detailed use of this
65     command part.
66
67   CheckingPoint
68     *Required command*. This indicates the vector used as the state around which
69     to perform the required check, noted :math:`\mathbf{x}` and similar to the
70     background :math:`\mathbf{x}^b`. It is defined as a "*Vector*" type object.
71
72   BackgroundError
73     *Required command*. This indicates the background error covariance matrix,
74     previously noted as :math:`\mathbf{B}`. Its value is defined as a "*Matrix*"
75     type object, a "*ScalarSparseMatrix*" type object, or a
76     "*DiagonalSparseMatrix*" type object.
77
78   Debug
79     *Optional command*. This define the level of trace and intermediary debug
80     information. The choices are limited between 0 (for False) and 1 (for
81     True).
82
83   Observation
84     *Required command*. This indicates the observation vector used for data
85     assimilation or optimization, previously noted as :math:`\mathbf{y}^o`. It
86     is defined as a "*Vector*" or a *VectorSerie* type object.
87
88   ObservationError
89     *Required command*. This indicates the observation error covariance matrix,
90     previously noted as :math:`\mathbf{R}`. It is defined as a "*Matrix*" type
91     object, a "*ScalarSparseMatrix*" type object, or a "*DiagonalSparseMatrix*"
92     type object.
93
94   ObservationOperator
95     *Required command*. This indicates the observation operator, previously
96     noted :math:`H`, which transforms the input parameters :math:`\mathbf{x}` to
97     results :math:`\mathbf{y}` to be compared to observations
98     :math:`\mathbf{y}^o`. Its value is defined as a "*Function*" type object or
99     a "*Matrix*" type one. In the case of "*Function*" type, different
100     functional forms can be used, as described in the section
101     :ref:`section_ref_operator_requirements`. If there is some control :math:`U`
102     included in the observation, the operator has to be applied to a pair
103     :math:`(X,U)`.
104
105   Observers
106     *Optional command*. This command allows to set internal observers, that are
107     functions linked with a particular variable, which will be executed each
108     time this variable is modified. It is a convenient way to monitor variables
109     of interest during the data assimilation or optimization process, by
110     printing or plotting it, etc. Common templates are provided to help the user
111     to start or to quickly make his case.
112
113   StudyName
114     *Required command*. This is an open string to describe the ADAO study by a
115     name or a sentence.
116
117   StudyRepertory
118     *Optional command*. If available, this directory is used as base name for
119     calculation, and used to find all the script files, given by name without
120     path, that can be used to define some other commands by scripts.
121
122   UserDataInit
123     *Optional command*. This commands allows to initialize some parameters or
124     data automatically before algorithm input processing. It indicates a script
125     file name to be executed before entering in initialization phase of chosen
126     variables.