X-Git-Url: http://git.salome-platform.org/gitweb/?p=modules%2Fsmesh.git;a=blobdiff_plain;f=src%2FSMDS%2FSMDS_Downward.cxx;h=f3fbd0efcd6ced7b9bb5292b8a01e27f23867b84;hp=561b10b202e264d542b5cfd2f31fd99b5b260ec1;hb=0c16e57723ec8522693f2f0b6d3216b4f4e3d686;hpb=a399364c85efef719b8f0f1d1a81fc57a60b4601 diff --git a/src/SMDS/SMDS_Downward.cxx b/src/SMDS/SMDS_Downward.cxx index 561b10b20..f3fbd0efc 100644 --- a/src/SMDS/SMDS_Downward.cxx +++ b/src/SMDS/SMDS_Downward.cxx @@ -322,8 +322,8 @@ int SMDS_Down1D::computeVtkCells(int *pts, std::vector& vtkIds) // --- find all the cells the points belong to, and how many of the points belong to a given cell - int cellIds[100]; - int cellCnt[100]; + int cellIds[1000]; + int cellCnt[1000]; int cnt = 0; for (int i = 0; i < _nbDownCells; i++) { @@ -347,7 +347,7 @@ int SMDS_Down1D::computeVtkCells(int *pts, std::vector& vtkIds) { cellIds[cnt] = vtkCellId; cellCnt[cnt] = 1; - // TODO ASSERT(cnt<100); + // TODO ASSERT(cnt<1000); cnt++; } } @@ -531,8 +531,8 @@ int SMDS_Down2D::computeVolumeIdsFromNodesFace(int* pts, int npts, int* ids) // --- find all the cells the points belong to, and how many of the points belong to a given cell - int cellIds[100]; - int cellCnt[100]; + int cellIds[1000]; + int cellCnt[1000]; int cnt = 0; for (int i = 0; i < npts; i++) { @@ -557,7 +557,7 @@ int SMDS_Down2D::computeVolumeIdsFromNodesFace(int* pts, int npts, int* ids) { cellIds[cnt] = vtkCellId; cellCnt[cnt] = 1; - // TODO ASSERT(cnt<100); + // TODO ASSERT(cnt<1000); cnt++; } }