]> SALOME platform Git repositories - modules/adao.git/blob - src/daSalome/daYacsSchemaCreator/infos_daComposant.py
Salome HOME
Ajout de AlgorithmParameters
[modules/adao.git] / src / daSalome / daYacsSchemaCreator / infos_daComposant.py
1 #-*-coding:iso-8859-1-*-
2 #  Copyright (C) 2010 EDF R&D
3 #
4 #  This library is free software; you can redistribute it and/or
5 #  modify it under the terms of the GNU General Public
6 #  License as published by the Free Software Foundation; either
7 #  version 2.1 of the License.
8 #
9 #  This library is distributed in the hope that it will be useful,
10 #  but WITHOUT ANY WARRANTY; without even the implied warranty of
11 #  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
12 #  Lesser General Public License for more details.
13 #
14 #  You should have received a copy of the GNU Lesser General Public
15 #  License along with this library; if not, write to the Free Software
16 #  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
17 #
18 # --
19 # Author : André RIBES (EDF R&D)
20 # --
21
22
23 # -- Infos pour le parser --
24
25 AnalysisData = {}
26 AnalysisFromList = ["String", "File"]
27
28 # -- Infos from daCore --
29 AssimData = ["Background", "BackgroundError",
30              "Observation", "ObservationError", "ObservationOperator", "ObservationOperatorAppliedToX",
31              "EvolutionModel", "EvolutionError", "AlgorithmParameters"]
32
33 AssimType = {}
34 AssimType["Background"] = ["Vector"]
35 AssimType["BackgroundError"] = ["Matrix"]
36 AssimType["Observation"] = ["Vector"]
37 AssimType["ObservationError"] = ["Matrix"]
38 AssimType["ObservationOperator"] = ["Matrix", "Function"]
39 AssimType["ObservationOperatorAppliedToX"] = ["List"]
40 AssimType["AlgorithmParameters"] = ["Dict"]
41
42 FromNumpyList = {}
43 FromNumpyList["Vector"] = ["String", "Script"]
44 FromNumpyList["Matrix"] = ["String", "Script"]
45 FromNumpyList["Function"] = ["Dict"]
46 FromNumpyList["List"] = ["List"]
47 FromNumpyList["Dict"] = ["Script"]
48
49 # -- Infos from daAlgorithms --
50 AssimAlgos = ["Blue", "EnsembleBlue", "Kalman", "LinearLeastSquares", "3DVAR"]
51
52 AlgoDataRequirements = {}
53 AlgoDataRequirements["Blue"] = ["Background", "BackgroundError",
54                                 "Observation", "ObservationOperator", "ObservationError"]
55
56 AlgoDataRequirements["3DVAR"] = ["Background", "BackgroundError",
57                                  "Observation", "ObservationOperator", "ObservationError"]
58 AlgoType = {}
59 #AlgoType["Blue"] = "Direct"
60 AlgoType["Blue"] = "Optim"
61 AlgoType["3DVAR"] = "Optim"