X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FHEXABLOCK%2FHexElements_ter.cxx;h=3b4a17b26ba30c4e85ea8cb2a0b1278989eaca14;hb=5f7c68a2d0182cb6adf02b2b17032febac539364;hp=e3f2aa41d5e984f48ee41d318f9caa1a67a5029a;hpb=7284b8dc8b692554fdfccaaa111c4b7b78ffbc77;p=modules%2Fhexablock.git diff --git a/src/HEXABLOCK/HexElements_ter.cxx b/src/HEXABLOCK/HexElements_ter.cxx index e3f2aa4..3b4a17b 100755 --- a/src/HEXABLOCK/HexElements_ter.cxx +++ b/src/HEXABLOCK/HexElements_ter.cxx @@ -1,11 +1,11 @@ // C++ : Table d'hexaedres (Evol Versions 3) -// Copyright (C) 2009-2013 CEA/DEN, EDF R&D +// Copyright (C) 2009-2016 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 @@ -37,7 +37,7 @@ BEGIN_NAMESPACE_HEXA -// static bool db=false; +static bool db=false; // ====================================================== getCylPoint int Elements::getCylPoint (int nr, int na, int nh, double& px, double& py, @@ -203,8 +203,9 @@ void Elements::assoCylinders (double* ori, double* vk, double angle, double pmax = t_angles [ny+1]/360; Edge* edge = getEdgeJ (nx, ny, nz); geom->addAssociation (edge, subid, pmin, pmax); - cout << " assoCylinders : ny= " << ny << ", nz= " << nz - << " param = (" << pmin << ", " << pmax << ")\n"; + if (db) cout << " assoCylinders : ny= " << ny + << ", nz= " << nz << " param = (" + << pmin << ", " << pmax << ")\n"; } } }