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 *Liste de noms*. Cette liste indique les noms des variables supplémentaires
82 qui peuvent être disponibles au cours du déroulement ou à la fin de
83 l'algorithme, si elles sont initialement demandées par l'utilisateur. Cela
84 implique potentiellement des calculs ou du stockage coûteux. La valeur par
85 défaut est une liste vide, aucune de ces variables n'étant calculée et
86 stockée par défaut sauf les variables inconditionnelles. Les noms possibles
87 sont dans la liste suivante : [
89 "APosterioriCorrelations",
90 "APosterioriCovariance",
91 "APosterioriStandardDeviations",
92 "APosterioriVariances",
95 "CostFunctionJAtCurrentOptimum",
97 "CostFunctionJbAtCurrentOptimum",
99 "CostFunctionJoAtCurrentOptimum",
100 "CurrentIterationNumber",
105 "InnovationAtCurrentState",
106 "JacobianMatrixAtBackground",
107 "JacobianMatrixAtOptimum",
108 "KalmanGainAtOptimum",
109 "MahalanobisConsistency",
113 "SimulatedObservationAtBackground",
114 "SimulatedObservationAtCurrentOptimum",
115 "SimulatedObservationAtCurrentState",
116 "SimulatedObservationAtOptimum",
117 "SimulationQuantiles",
121 ``{"StoreSupplementaryCalculations":["BMA", "CurrentState"]}``
123 .. ------------------------------------ ..
124 .. include:: snippets/Header2Algo04.rst
126 .. include:: snippets/Analysis.rst
128 .. include:: snippets/CostFunctionJ.rst
130 .. include:: snippets/CostFunctionJb.rst
132 .. include:: snippets/CostFunctionJo.rst
134 .. ------------------------------------ ..
135 .. include:: snippets/Header2Algo05.rst
137 .. include:: snippets/Analysis.rst
139 .. include:: snippets/APosterioriCorrelations.rst
141 .. include:: snippets/APosterioriCovariance.rst
143 .. include:: snippets/APosterioriStandardDeviations.rst
145 .. include:: snippets/APosterioriVariances.rst
147 .. include:: snippets/BMA.rst
149 .. include:: snippets/CostFunctionJ.rst
151 .. include:: snippets/CostFunctionJAtCurrentOptimum.rst
153 .. include:: snippets/CostFunctionJb.rst
155 .. include:: snippets/CostFunctionJbAtCurrentOptimum.rst
157 .. include:: snippets/CostFunctionJo.rst
159 .. include:: snippets/CostFunctionJoAtCurrentOptimum.rst
161 .. include:: snippets/CurrentIterationNumber.rst
163 .. include:: snippets/CurrentOptimum.rst
165 .. include:: snippets/CurrentState.rst
167 .. include:: snippets/IndexOfOptimum.rst
169 .. include:: snippets/Innovation.rst
171 .. include:: snippets/InnovationAtCurrentState.rst
173 .. include:: snippets/JacobianMatrixAtBackground.rst
175 .. include:: snippets/JacobianMatrixAtOptimum.rst
177 .. include:: snippets/KalmanGainAtOptimum.rst
179 .. include:: snippets/MahalanobisConsistency.rst
181 .. include:: snippets/OMA.rst
183 .. include:: snippets/OMB.rst
185 .. include:: snippets/SigmaObs2.rst
187 .. include:: snippets/SimulatedObservationAtBackground.rst
189 .. include:: snippets/SimulatedObservationAtCurrentOptimum.rst
191 .. include:: snippets/SimulatedObservationAtCurrentState.rst
193 .. include:: snippets/SimulatedObservationAtOptimum.rst
195 .. include:: snippets/SimulationQuantiles.rst
197 .. ------------------------------------ ..
198 .. include:: snippets/Header2Algo09.rst
200 .. include:: scripts/simple_3DVAR.rst
202 .. literalinclude:: scripts/simple_3DVAR.py
204 .. include:: snippets/Header2Algo10.rst
206 .. literalinclude:: scripts/simple_3DVAR.res
208 .. ------------------------------------ ..
209 .. include:: snippets/Header2Algo06.rst
211 - :ref:`section_ref_algorithm_Blue`
212 - :ref:`section_ref_algorithm_ExtendedBlue`
213 - :ref:`section_ref_algorithm_LinearityTest`
215 .. ------------------------------------ ..
216 .. include:: snippets/Header2Algo07.rst