-// 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
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;
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 );
}