Salome HOME
Update copyrights
[modules/hexablock.git] / src / TEST_CPP / ModelTest.cxx
old mode 100755 (executable)
new mode 100644 (file)
index 023a412..d5dfaf7
@@ -1,9 +1,9 @@
-// Copyright (C) 2009-2013  CEA/DEN, EDF R&D
+// Copyright (C) 2009-2019  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
 // License as published by the Free Software Foundation; either
-// version 2.1 of the License.
+// version 2.1 of the License, or (at your option) any later version.
 //
 // This library is distributed in the hope that it will be useful,
 // but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -218,7 +218,7 @@ void ModelTest::Test_joint ()
    Hex::Vector*   vectj = doc->addVector (0,1,0);
    Hex::Vector*   vecti = doc->addVector (1,0,0);
    Hex::Elements* grid2 = doc->makeCylindrical (orig2, vecti, vectj,
-                   1, 180, 1,        dimz,dimy,dimx);
+                   1, 180, 1,        dimz,dimy,dimx, true);
 
    int mx = dimx/2;
    int my = dimy/2;
@@ -965,10 +965,10 @@ void ModelTest::Test_deux_cyl ()
    int    nl = 10;
 
    /* Hex::Elements* cyl1 = */ doc->makeCylindrical(orig1, vy,vz, dr, da,
-                                       dl,nr,na,nl);
+                                       dl,nr,na,nl, false);
 
    /* Hex::Elements* cyl2 = */ doc->makeCylindrical(orig2, vz,vx, dr/2, da,
-                                       dl,nr,na,nl);
+                                       dl,nr,na,nl, false);
    doc->saveVtk ("deux_cylindres.vtk");
    CPPUNIT_ASSERT( true );
 }