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: 3DVAR
25 .. _section_ref_algorithm_3DVAR:
27 Algorithme de calcul "*3DVAR*"
28 ------------------------------
30 .. ------------------------------------ ..
31 .. include:: snippets/Header2Algo01.rst
33 Cet algorithme réalise une estimation d'état par minimisation variationnelle de
34 la fonctionnelle :math:`J` d'écart classique en assimilation de données
37 .. math:: J(\mathbf{x})=(\mathbf{x}-\mathbf{x}^b)^T.\mathbf{B}^{-1}.(\mathbf{x}-\mathbf{x}^b)+(\mathbf{y}^o-H(\mathbf{x}))^T.\mathbf{R}^{-1}.(\mathbf{y}^o-H(\mathbf{x}))
39 qui est usuellement désignée comme la fonctionnelle "*3D-VAR*" (voir par exemple
42 .. ------------------------------------ ..
43 .. include:: snippets/Header2Algo02.rst
45 .. include:: snippets/Background.rst
47 .. include:: snippets/BackgroundError.rst
49 .. include:: snippets/Observation.rst
51 .. include:: snippets/ObservationError.rst
53 .. include:: snippets/ObservationOperator.rst
55 .. ------------------------------------ ..
56 .. include:: snippets/Header2Algo03AdOp.rst
58 .. include:: snippets/BoundsWithNone.rst
60 .. include:: snippets/CostDecrementTolerance.rst
62 .. include:: snippets/GradientNormTolerance.rst
64 .. include:: snippets/MaximumNumberOfSteps.rst
66 .. include:: snippets/Minimizer_xDVAR.rst
68 .. include:: snippets/NumberOfSamplesForQuantiles.rst
70 .. include:: snippets/ProjectedGradientTolerance.rst
72 .. include:: snippets/Quantiles.rst
74 .. include:: snippets/SetSeed.rst
76 .. include:: snippets/SimulationForQuantiles.rst
78 StoreSupplementaryCalculations
79 .. index:: single: StoreSupplementaryCalculations
81 Cette liste indique les noms des variables supplémentaires qui peuvent être
82 disponibles à la fin de l'algorithme, si elles sont initialement demandées par
83 l'utilisateur. Cela implique potentiellement des calculs ou du stockage
84 coûteux. La valeur par défaut est une liste vide, aucune de ces variables
85 n'étant calculée et stockée par défaut sauf les variables inconditionnelles.
86 Les noms possibles sont dans la liste suivante : [
88 "APosterioriCorrelations",
89 "APosterioriCovariance",
90 "APosterioriStandardDeviations",
91 "APosterioriVariances",
94 "CostFunctionJAtCurrentOptimum",
96 "CostFunctionJbAtCurrentOptimum",
98 "CostFunctionJoAtCurrentOptimum",
99 "CurrentIterationNumber",
104 "InnovationAtCurrentState",
105 "JacobianMatrixAtBackground",
106 "JacobianMatrixAtOptimum",
107 "KalmanGainAtOptimum",
108 "MahalanobisConsistency",
112 "SimulatedObservationAtBackground",
113 "SimulatedObservationAtCurrentOptimum",
114 "SimulatedObservationAtCurrentState",
115 "SimulatedObservationAtOptimum",
116 "SimulationQuantiles",
120 ``{"StoreSupplementaryCalculations":["BMA", "CurrentState"]}``
122 .. ------------------------------------ ..
123 .. include:: snippets/Header2Algo04.rst
125 .. include:: snippets/Analysis.rst
127 .. include:: snippets/CostFunctionJ.rst
129 .. include:: snippets/CostFunctionJb.rst
131 .. include:: snippets/CostFunctionJo.rst
133 .. ------------------------------------ ..
134 .. include:: snippets/Header2Algo05.rst
136 .. include:: snippets/Analysis.rst
138 .. include:: snippets/APosterioriCorrelations.rst
140 .. include:: snippets/APosterioriCovariance.rst
142 .. include:: snippets/APosterioriStandardDeviations.rst
144 .. include:: snippets/APosterioriVariances.rst
146 .. include:: snippets/BMA.rst
148 .. include:: snippets/CostFunctionJ.rst
150 .. include:: snippets/CostFunctionJAtCurrentOptimum.rst
152 .. include:: snippets/CostFunctionJb.rst
154 .. include:: snippets/CostFunctionJbAtCurrentOptimum.rst
156 .. include:: snippets/CostFunctionJo.rst
158 .. include:: snippets/CostFunctionJoAtCurrentOptimum.rst
160 .. include:: snippets/CurrentIterationNumber.rst
162 .. include:: snippets/CurrentOptimum.rst
164 .. include:: snippets/CurrentState.rst
166 .. include:: snippets/IndexOfOptimum.rst
168 .. include:: snippets/Innovation.rst
170 .. include:: snippets/InnovationAtCurrentState.rst
172 .. include:: snippets/JacobianMatrixAtBackground.rst
174 .. include:: snippets/JacobianMatrixAtOptimum.rst
176 .. include:: snippets/KalmanGainAtOptimum.rst
178 .. include:: snippets/MahalanobisConsistency.rst
180 .. include:: snippets/OMA.rst
182 .. include:: snippets/OMB.rst
184 .. include:: snippets/SigmaObs2.rst
186 .. include:: snippets/SimulatedObservationAtBackground.rst
188 .. include:: snippets/SimulatedObservationAtCurrentOptimum.rst
190 .. include:: snippets/SimulatedObservationAtCurrentState.rst
192 .. include:: snippets/SimulatedObservationAtOptimum.rst
194 .. include:: snippets/SimulationQuantiles.rst
196 .. ------------------------------------ ..
197 .. include:: snippets/Header2Algo09.rst
199 .. literalinclude:: scripts/simple_3DVAR.py
201 .. include:: snippets/Header2Algo10.rst
203 .. literalinclude:: scripts/simple_3DVAR.res
205 .. ------------------------------------ ..
206 .. include:: snippets/Header2Algo06.rst
208 - :ref:`section_ref_algorithm_Blue`
209 - :ref:`section_ref_algorithm_ExtendedBlue`
210 - :ref:`section_ref_algorithm_LinearityTest`
212 .. ------------------------------------ ..
213 .. include:: snippets/Header2Algo07.rst