]> SALOME platform Git repositories - tools/eficas.git/commitdiff
Salome HOME
CCAR:mise a niveau aster 8.2.22
authorChristian Caremoli <>
Mon, 29 May 2006 08:16:50 +0000 (08:16 +0000)
committerChristian Caremoli <>
Mon, 29 May 2006 08:16:50 +0000 (08:16 +0000)
Tests/testcomm/c.comm
Tests/testcomm/e.comm
Tests/testcomm/g.comm
Tests/testcomm/testcomm.py
Tests/testcomm/titi.comm

index 36906c57dea13363929059003588eb8c53c19654..26c16b364f1e8016380a43aaddcf483437bc7f13 100644 (file)
@@ -44,6 +44,6 @@ DEFI_FICHIER (ACTION='LIBERER',UNITE=50)
 DEFI_FICHIER (ACTION='LIBERER',UNITE=u)
 
 # test de validateur qui accepte tout (typ=assd)
-IMPR_CO(CO=MA)
+IMPR_CO(CONCEPT=_F(NOM=MA))
 
 FIN()
index ffd118576dceaa606756f962d219b602ea12171d..15bf32614db9f588621bafd4a050376556ca7322 100644 (file)
@@ -63,8 +63,8 @@ CHS2=[None]*5
 
 # parse: +affectation
 
-for k in range(1,5):
-  DS1[k] = CREA_CHAMP( OPERATION='EXTR', TYPE_CHAM='NOEU_DEPL_R',
-                  RESULTAT= MODESTA1, NUME_ORDRE=k, NOM_CHAM = 'DEPL');
+#for k in range(1,5):
+#  DS1[k] = CREA_CHAMP( OPERATION='EXTR', TYPE_CHAM='NOEU_DEPL_R',
+#                  RESULTAT= MODESTA1, NUME_ORDRE=k, NOM_CHAM = 'DEPL');
 
 FIN()
index f8393148683447cf166a1814f50cd97675e5ab9b..8756209bac9d6159132b6e6e4543393ce3560e69 100644 (file)
@@ -5,7 +5,7 @@ sensible=[2.1E11, 0.3,  1.E-6,   1.E-6,   ]
 n=len(sensible)
 PS=[None]*n
 
-for i in range(n):
-    PS[i]=DEFI_PARA_SENSI(VALE=sensible[i])
+#for i in range(n):
+#    PS[i]=DEFI_PARA_SENSI(VALE=sensible[i])
 
 FIN()
index 9622ffb28882024a4b7483eaaffac4c5c3967dd7..0945bf98036c92cc87c40dc7e3b7320a7dc4caf5 100644 (file)
@@ -40,13 +40,14 @@ class TestCase(unittest.TestCase):
 
       i=i+1
       exec """def test%s(self,file="%s"):
+                  "fichier:%s"
                   self.commtest(file)
-""" % (i,f)
+""" % (i,f,f)
    del i
 
    def commtest(self,file):
       """ Test generique"""
-      print file
+      #print file
       j=self.app.openJDC(file=file)
       assert j.isvalid(),j.report()
       CONTEXT.unset_current_step()
index 62077618a0ee4c24c74629b05f743ab2f493611d..a235be8af98def877aa70272c81590fbbfe8a248 100644 (file)
@@ -60,28 +60,6 @@ THETA0=CALC_THETA(       MODELE=MO,
                         DIRECTION=(1., 0., 0.,)
                      )
 
-G0=CALC_G_THETA_T(      RESULTAT=DEP,
-                        THETA=THETA0,
-                        SYME_CHAR='SANS',
-                        COMP_ELAS=_F( RELATION = 'ELAS',
-                                      DEFORMATION = 'PETIT')
-                      )
-
-DG0=CALC_G_THETA_T(     RESULTAT=DEP,
-                        SENSIBILITE = (FORC),
-                        THETA=THETA0,
-                        SYME_CHAR='SANS',
-                        COMP_ELAS=_F( RELATION = 'ELAS',
-                                      DEFORMATION = 'PETIT')
-                      )
-
-TEST_TABLE(       TABLE=DG0,
-                       NOM_PARA='G',
-                          SENSIBILITE = (FORC),
-                           VALE=1.06E-2,
-                      REFERENCE='ANALYTIQUE',
-                      PRECISION=0.0005    )
-
 
 FIN()
 MA1=LIRE_MAILLAGE()