From: nge Date: Tue, 19 Jan 2010 10:25:22 +0000 (+0000) Subject: Missing include X-Git-Tag: V5_1_main_FINAL~242 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=3466d4443e233ec932e1a31d7ff58cb47e6c9ae9;p=tools%2Fmedcoupling.git Missing include Missing std:: --- diff --git a/src/INTERP_KERNEL/SplitterTetra.txx b/src/INTERP_KERNEL/SplitterTetra.txx index 80813882a..b7a82f1ce 100644 --- a/src/INTERP_KERNEL/SplitterTetra.txx +++ b/src/INTERP_KERNEL/SplitterTetra.txx @@ -33,6 +33,7 @@ #include #include #include +#include /// Smallest volume of the intersecting elements in the transformed space that will be returned as non-zero. /// Since the scale is always the same in the transformed space (the target tetrahedron is unitary), this number is independent of the scale of the meshes. @@ -803,10 +804,10 @@ namespace INTERP_KERNEL unsigned nbOfSons = cellModelCell.getNumberOfSons2(rawCellConn, rawNbCellNodes); // indices of nodes of a son - static vector allNodeIndices; // == 0,1,2,...,nbOfCellNodes-1 + static std::vector allNodeIndices; // == 0,1,2,...,nbOfCellNodes-1 while ( allNodeIndices.size() < nbOfCellNodes ) allNodeIndices.push_back( allNodeIndices.size() ); - vector classicFaceNodes(4); + std::vector classicFaceNodes(4); int* faceNodes = cellModelCell.isDynamic() ? &allNodeIndices[0] : &classicFaceNodes[0]; // nodes of tetrahedron @@ -942,7 +943,7 @@ namespace INTERP_KERNEL default: // convex 3d cell { // add barycenter of a cell - vector allIndices(nbOfNodesT); + std::vector allIndices(nbOfNodesT); for ( int i = 0; i < nbOfNodesT; ++i ) allIndices[i] = i; double* barycenter = new double[3]; calcBarycenter(nbOfNodesT, barycenter, &allIndices[0]);