]> SALOME platform Git repositories - modules/homard.git/commitdiff
Salome HOME
coquilles
authorGerald NICOLAS <D68518@dsp0677846.(none)>
Wed, 13 Jan 2016 14:52:52 +0000 (15:52 +0100)
committerGerald NICOLAS <D68518@dsp0677846.(none)>
Wed, 13 Jan 2016 14:52:52 +0000 (15:52 +0100)
CMakeLists.txt
src/tests/Test/test_1.py
src/tests/Test/test_2.py
src/tests/Test/test_3.py
src/tests/Test/test_4.py

index de79735f531dc3a1d611216c478ed4d7394113a4..28003189500499adeb5b9876f5386cea24b25fcf 100755 (executable)
@@ -185,7 +185,7 @@ SET(SALOME_INSTALL_RES "${SALOME_INSTALL_RES}" CACHE PATH "Install path: SALOME
 SET(SALOME_INSTALL_DOC "${SALOME_INSTALL_DOC}" CACHE PATH "Install path: SALOME documentation")
 
 # Specific to HOMARD:
-SET(SALOME_HOMARD_INSTALL_RES_DATA "${SALOME_INSTALL_RES}/homard" CACHE PATH 
+SET(SALOME_HOMARD_INSTALL_RES_DATA "${SALOME_INSTALL_RES}/homard" CACHE PATH
   "Install path: SALOME HOMARD specific data")
 SET(SALOME_HOMARD_INSTALL_SAMPLES share/salome/homardsamples CACHE PATH
   "Install path: SALOME HOMARD samples")
@@ -199,6 +199,7 @@ MARK_AS_ADVANCED(SALOME_INSTALL_SCRIPT_SCRIPTS SALOME_INSTALL_SCRIPT_DATA SALOME
 MARK_AS_ADVANCED(SALOME_INSTALL_APPLISKEL_SCRIPTS  SALOME_INSTALL_APPLISKEL_PYTHON SALOME_INSTALL_CMAKE_LOCAL SALOME_INSTALL_RES)
 MARK_AS_ADVANCED(SALOME_INSTALL_PYTHON SALOME_INSTALL_PYTHON_SHARED)
 MARK_AS_ADVANCED(SALOME_INSTALL_AMCONFIG_LOCAL SALOME_INSTALL_DOC)
+MARK_AS_ADVANCED(SALOME_HOMARD_INSTALL_TEST)
 MARK_AS_ADVANCED(SALOME_HOMARD_INSTALL_RES_DATA)
 
 # Accumulate environment variables for HOMARD module
index 0d7746c1fecc7d9bcecfaf47341a37e955c273cd..79d100f2ca6e533fb59488a902c3d1a2984c3194 100755 (executable)
@@ -120,10 +120,9 @@ Python script for HOMARD
   # Creation of the cases
   # =====================
     # Creation of the case
-    casename = "Case_" + TEST_NAME
-    print "-------- Creation of the case", casename
+    print "-------- Creation of the case", TEST_NAME
     mesh_file = os.path.join(REP_DATA, TEST_NAME + '.00.med')
-    case_test_1 = HOMARD.CreateCase(casename, 'MAILL', mesh_file)
+    case_test_1 = HOMARD.CreateCase(TEST_NAME, 'MAILL', mesh_file)
     case_test_1.SetDirName(DIRCASE)
   #
   # Creation of the iterations
index e4120362c03f22971c832863100d0f2e2e2b79ee..2d121d40a4195ab0e5062f8940c15d26390e81c1 100755 (executable)
@@ -107,9 +107,8 @@ Python script for HOMARD
   # Creation of the cases
   # =====================
     # Creation of the case
-    casename = "case_" + TEST_NAME
     mesh_file = os.path.join(REP_DATA, TEST_NAME + '.00.med')
-    case_test_2 = HOMARD.CreateCase(casename, 'PLAQUE_0', mesh_file)
+    case_test_2 = HOMARD.CreateCase(TEST_NAME, 'PLAQUE_0', mesh_file)
     case_test_2.SetDirName(DIRCASE)
     case_test_2.AddBoundaryGroup('internal_boundary', '')
   #
index cf1333256d7df6bf4f0bd64ab1c2deced2c118b0..1c4527f56e1ecc9346386b4e5f7cec663530e7ad 100755 (executable)
@@ -108,10 +108,9 @@ Python script for HOMARD
   # Creation of the case case_test_3
   # ===========================
       if ( num <= 1 ) :
-        casename = "case_" + TEST_NAME
-        print "-------- Creation of the case", casename
+        print "-------- Creation of the case", TEST_NAME
         mesh_file = os.path.join(REP_DATA, TEST_NAME + '.00.med')
-        case_test_3 = HOMARD.CreateCase(casename, 'MOYEU', mesh_file)
+        case_test_3 = HOMARD.CreateCase(TEST_NAME, 'MOYEU', mesh_file)
         case_test_3.SetDirName(DIRCASE)
         case_test_3.AddBoundaryGroup('courbes', '')
         case_test_3.AddBoundaryGroup('cyl_ext', 'EXT')
index c2ec0752826774601b55c1a50ce4061aabf82912..335c5d4bd9c329a16710d6ab55a6be8d4c2da52f 100755 (executable)
@@ -256,10 +256,9 @@ Python script for HOMARD
   # Creation of the cases
   # =====================
     # Creation of the case
-    casename = "case_" + TEST_NAME
-    print "-------- Creation of the case", casename
+    print "-------- Creation of the case", TEST_NAME
     mesh_file = os.path.join(DIRCASE, 'maill.00.med')
-    case_test_4 = HOMARD.CreateCase(casename, 'MESH', mesh_file)
+    case_test_4 = HOMARD.CreateCase(TEST_NAME, 'MESH', mesh_file)
     case_test_4.SetDirName(DIRCASE)
   #
   # Creation of the iterations