]> SALOME platform Git repositories - modules/adao.git/blob - src/tests/daSalome/test_aster_zzzz159a_init_algorithm.py
Salome HOME
d0f892767702a9acdab2e80d603f2e63513333a7
[modules/adao.git] / src / tests / daSalome / test_aster_zzzz159a_init_algorithm.py
1 # Copyright (C) 2010-2013 EDF R&D
2 #
3 # This library is free software; you can redistribute it and/or
4 # modify it under the terms of the GNU Lesser General Public
5 # License as published by the Free Software Foundation; either
6 # version 2.1 of the License.
7 #
8 # This library is distributed in the hope that it will be useful,
9 # but WITHOUT ANY WARRANTY; without even the implied warranty of
10 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
11 # Lesser General Public License for more details.
12 #
13 # You should have received a copy of the GNU Lesser General Public
14 # License along with this library; if not, write to the Free Software
15 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
16 #
17 # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
18 #
19 # Author: André Ribes, andre.ribes@edf.fr, EDF R&D
20
21 debug = init_data["debug"]
22 parametres = init_data["parametres"]
23
24 Bornes = []
25 for parametre in parametres:
26     Bornes.append(parametre[2:4])
27
28 if debug:
29     print
30     print "Bornes  = ",Bornes
31     print
32
33 AlgorithmParameters = { "Minimizer"           : "TNC",
34     "Bounds"              : Bornes,
35     }