1 # -*- coding: utf-8 -*-
5 from blocFissure import gmu
6 from blocFissure.gmu import initLog
8 # -----------------------------------------------------------------------------------------------
12 #initLog.setPerfTests()
14 # ---tous les cas en sequence, ou les cas selectionnés ...
17 torun = [ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,]
18 else: #prob 0, 1, 2, 3, 4, 5, 6, 7, 8, 9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27
19 torun = [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0,]
20 # -----------------------------------------------------------------------------------------------
22 from blocFissure.gmu import geomsmesh
23 from blocFissure.gmu.casStandard import casStandard
28 from blocFissure.CasTests.fissure_Coude import fissure_Coude
29 problemes.append(fissure_Coude(cas))
32 from blocFissure.CasTests.faceGauche import faceGauche
33 problemes.append(faceGauche(cas))
36 from blocFissure.CasTests.faceGauche_2 import faceGauche_2
37 problemes.append(faceGauche_2(cas))
40 from blocFissure.CasTests.ellipse_1 import ellipse_1
41 problemes.append(ellipse_1(cas))
44 from blocFissure.CasTests.fissure_Coude_4 import fissure_Coude_4
45 problemes.append(fissure_Coude_4(cas))
48 from blocFissure.CasTests.cylindre import cylindre
49 problemes.append(cylindre(cas))
52 from blocFissure.CasTests.cylindre_2 import cylindre_2
53 problemes.append(cylindre_2(cas))
56 from blocFissure.CasTests.eprouvetteCourbe import eprouvetteCourbe
57 problemes.append(eprouvetteCourbe(cas))
60 from blocFissure.CasTests.eprouvetteDroite import eprouvetteDroite
61 problemes.append(eprouvetteDroite(cas))
64 from blocFissure.CasTests.eprouvetteDroite_2 import eprouvetteDroite_2
65 problemes.append(eprouvetteDroite_2(cas))
68 from blocFissure.CasTests.cubeAngle import cubeAngle
69 problemes.append(cubeAngle(cas))
72 from blocFissure.CasTests.fissureCoude_1 import fissureCoude_1
73 problemes.append(fissureCoude_1(cas))
76 from blocFissure.CasTests.fissureCoude_2 import fissureCoude_2
77 problemes.append(fissureCoude_2(cas))
80 from blocFissure.CasTests.fissureCoude_3 import fissureCoude_3
81 problemes.append(fissureCoude_3(cas))
84 from blocFissure.CasTests.fissureCoude_4 import fissureCoude_4
85 problemes.append(fissureCoude_4(cas))
88 from blocFissure.CasTests.fissureCoude_5 import fissureCoude_5
89 problemes.append(fissureCoude_5(cas))
92 from blocFissure.CasTests.ellipse_2 import ellipse_2
93 problemes.append(ellipse_2(cas))
96 from blocFissure.CasTests.cubeAngle2 import cubeAngle2
97 problemes.append(cubeAngle2(cas))
100 from blocFissure.CasTests import disquePerce
101 problemes.append(casStandard(disquePerce.dicoParams, disquePerce.referencesMaillageFissure, cas))
104 from blocFissure.CasTests.fissureCoude_6 import fissureCoude_6
105 problemes.append(fissureCoude_6(cas))
108 from blocFissure.CasTests.fissureCoude_7 import fissureCoude_7
109 problemes.append(fissureCoude_7(cas))
112 from blocFissure.CasTests.fissureCoude_8 import fissureCoude_8
113 problemes.append(fissureCoude_8(cas))
116 from blocFissure.CasTests.fissureCoude_9 import fissureCoude_9
117 problemes.append(fissureCoude_9(cas))
120 from blocFissure.CasTests.fissureCoude_10 import fissureCoude_10
121 problemes.append(fissureCoude_10(cas))
124 from blocFissure.CasTests.vis_1 import vis_1
125 problemes.append(vis_1(cas))
128 from blocFissure.CasTests import cubeCoin
129 problemes.append(casStandard(cubeCoin.dicoParams, cubeCoin.referencesMaillageFissure, cas))
132 from blocFissure.CasTests import cubeMilieu
133 problemes.append(casStandard(cubeMilieu.dicoParams, cubeMilieu.referencesMaillageFissure, cas))
136 from blocFissure.CasTests import cubeTransverse
137 problemes.append(casStandard(cubeTransverse.dicoParams, cubeTransverse.referencesMaillageFissure, cas))
140 for i in range(len(problemes)):
142 logging.critical("=== Execution cas %s", i)
144 problemes[i].executeProbleme()
146 traceback.print_exc()
147 print "---------------------------------------------------------------------"