Salome HOME
0839785af5ac00a8eb337e7ab49d751f0f3257c4
[modules/med.git] / src / MEDMEM / checkScript
1 # Copyright (C) 2007-2013  CEA/DEN, EDF R&D, OPEN CASCADE
2 #
3 # Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
4 # CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
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.
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
23 ./test_MEDMEM_nArray >   Essai1
24 ./test_copie_fieldT pointe.med maa1 fieldnodeint >   Essai2
25 ./med_test pointe.med maa1 fieldnodeint    >   Essai3
26 ./med_test pointe.med maa1 fieldnodedouble >   Essai4
27 ./test_copie_fieldT pointe.med maa1 fieldnodeint     >   Essai5
28 ./test_copie_fieldT pointe.med maa1 fieldnodedouble  >   Essai6
29 ./test_MEDMEM_Array        >   Essai7
30 ./test_MEDMEM_CellModel    >   Essai8
31 ./test_MEDMEM_Meshing   Essai9
32 h5dump Essai9.med > Essai9.log && rm Essai9.med
33 ./test_MEDMEM_ModulusArray  >   Essai10
34 ./test_MEDMEM_SkyLineArray  >   Essai12
35 ./test_operation_fielddouble pointe.med maa1 fieldnodedouble     >   Essai13
36 ./test_operation_fielddouble pointe.med maa1 fieldcelldouble     >   Essai14
37 ./test_operation_fieldint pointe.med maa1 fieldnodeint     >   Essai15
38 ./test_operation_fieldint pointe.med maa1 fieldcellint     >   Essai16
39 #./test_porflow_driver   Essai17
40 ./testUArray        >   Essai18
41 ./testUCellModel    >   Essai19
42 ./testUCoordinate    >   Essai20
43 ./testUGeoNameMeshEntities >   Essai21
44 ./testUMedException        >   Essai22
45 ./testUModulusArray        >   Essai23
46 ./test_affect_medarray     >   Essai24
47 ./test_copie_connectivity pointe.med maa1  >   Essai25
48 ./test_copie_coordinate pointe.med maa1    >   Essai26
49 ./test_copie_family pointe.med maa1        >   Essai27
50 ./test_copie_field_ pointe.med maa1 fieldnodedouble  >   Essai28
51 ./test_copie_group pointe.med maa1    >   Essai29
52 ./test_copie_medarray pointe.med maa1 >   Essai30
53 ./test_copie_mesh pointe.med maa1     >   Essai31
54 ./test_copie_support pointe.med maa1  >   Essai32
55 #./test_gibi_driver pointe.med maa1    >   Essai33
56 ./duplicateMED pointe.med   Essai34
57
58 #RESUZERODEPL____________________ 1 1 sur NOEUDS, 3 composantes, 1 points de Gauss,  taille de profil 18 
59 #RESUZEROERRE_ELGA_NORE__________ 1 1 sur TETRA10, 6 composantes, 1 points de Gauss,  taille de profil 3 
60 #RESUZEROSIEF_ELGA_DEPL__________ 1 1 sur TETRA10, 6 composantes, 5 points de Gauss,  taille de profil 3 
61 #RESUZEROSIGM_ELNO_DEPL__________ 1 1 sur TETRA10, 6 composantes, 10 points de Gauss, taille de profil 3  
62
63 rm -f Copy_nomesh_zzzz121b_without_tr6.med Copy_withmesh_zzzz121b_without_tr6.med &&  ./test_profil_MedFieldDriver zzzz121b_without_tr6.med RESUZERODEPL____________________ 1 1 > Essai35
64 rm -f Copy_nomesh_zzzz121b_without_tr6.med Copy_withmesh_zzzz121b_without_tr6.med &&  ./test_profil_MedFieldDriver zzzz121b_without_tr6.med RESUZEROERRE_ELGA_NORE__________ 1 1 > Essai36
65 rm -f Copy_nomesh_zzzz121b_without_tr6.med Copy_withmesh_zzzz121b_without_tr6.med &&  ./test_profil_gauss_MedFieldDriver zzzz121b_without_tr6.med RESUZEROSIEF_ELGA_DEPL__________ 1 1 > Essai37
66 rm -f Copy_nomesh_zzzz121b_without_tr6.med Copy_withmesh_zzzz121b_without_tr6.med &&  ./test_profil_gauss_MedFieldDriver zzzz121b_without_tr6.med RESUZEROSIGM_ELNO_DEPL__________ 1 1 > Essai38
67
68 # Le fichier maill.00.med ne peut pas passer en mode 2
69 # - En MODE 1 il faut débrayer la génération du fichier Copy_withmesh_maill.00.med et utiliser celui fourni.
70 # - En MODE 2, le problème est qu'à la lecture du fichier (qui contient SEG2 TRIA3 et QUAD4) le driver mesh crée de nouveaux SEG2 or
71 # le champ qui a été chargé au préalable a pris le maillage contenu dans le fichier comme référence du coup à la réécriture des numéros
72 # de profils il décale d'un nombre d'entités cumulées trop important. 
73
74 # MODE 1 avec modif du fichier test
75 #cp maill.00_nofield.med Copy_withmesh_maill.00.med;./test_profil_MedFieldDriver maill.00.med Indicateur_d_erreur_00 2 2
76 # MODE 3 en activant uniquement le mode 3
77 ##rm -f Copy_withmesh_maill.00.med Copy_nomesh_maill.00.med && cp maill.00_nofield.med Copy_withmesh_maill.00.med;cp maill.00_nomesh.med Copy_nomesh_maill.00.med;./test_profil_MedFieldDriver maill.00.med Indicateur_d_erreur_00 2 2
78
79 #Indicateur_d_erreur_00 1 1 TRIA3, 1 composante, 1 point de Gauss, pas de profil
80 #Indicateur_d_erreur_00 1 1 QUAD4, 1 composante, 1 point de Gauss, pas de profil
81
82 #Indicateur_d_erreur_00 2 2 TRIA3, 1 composante, 1 point de Gauss, taille de profil 4
83 #Indicateur_d_erreur_00 2 2 QAUD4, 1 composante, 1 point de Gauss, taille de profil 2
84
85 #Indicateur_d_erreur_00 3 3 TRIA3, 1 composante, 3 point de Gauss, pas de profil
86 #Indicateur_d_erreur_00 3 3 QAUD4, 1 composante, 4 point de Gauss, pas de prrofil
87
88 #Indicateur_d_erreur_00 4 4 TRIA3, 1 composante, 3 point de Gauss, taille de profil 4
89 #Indicateur_d_erreur_00 4 4 QAUD4, 1 composante, 4 point de Gauss, taille de profil 2
90
91 rm Copy*; ./test_profil_MedFieldDriver maill.00_without_seg2.med Indicateur_d_erreur_00 1 1 > Essai39
92 rm Copy*; ./test_profil_MedFieldDriver maill.00_without_seg2.med Indicateur_d_erreur_00 2 2 > Essai40
93 rm Copy*; ./test_profil_gauss_MedFieldDriver maill.00_without_seg2.med Indicateur_d_erreur_00 3 3 > Essai41
94 rm Copy*; ./test_profil_gauss_MedFieldDriver maill.00_without_seg2.med Indicateur_d_erreur_00 4 4 > Essai42
95
96