X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FTEST_CPP%2FModelTest.cxx;h=d5dfaf74c348262cd182aa1d45e1d866e16524a3;hb=0ebe741f3ee8a69f147a5c02b41f33d3f3f02e0f;hp=023a412913ff771bc0ba1dba59a71e4104ce8e84;hpb=6924a056f811baefa30f31083b93b10f7dae3a35;p=modules%2Fhexablock.git diff --git a/src/TEST_CPP/ModelTest.cxx b/src/TEST_CPP/ModelTest.cxx old mode 100755 new mode 100644 index 023a412..d5dfaf7 --- a/src/TEST_CPP/ModelTest.cxx +++ b/src/TEST_CPP/ModelTest.cxx @@ -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 ); }