Salome HOME
merge V5_1_4
[modules/smesh.git] / src / SMDS / SMDS_Downward.cxx
index 561b10b202e264d542b5cfd2f31fd99b5b260ec1..f3fbd0efcd6ced7b9bb5292b8a01e27f23867b84 100644 (file)
@@ -322,8 +322,8 @@ int SMDS_Down1D::computeVtkCells(int *pts, std::vector<int>& vtkIds)
 
   // --- find all the cells the points belong to, and how many of the points belong to a given cell
 
 
   // --- 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++)
     {
   int cnt = 0;
   for (int i = 0; i < _nbDownCells; i++)
     {
@@ -347,7 +347,7 @@ int SMDS_Down1D::computeVtkCells(int *pts, std::vector<int>& vtkIds)
             {
               cellIds[cnt] = vtkCellId;
               cellCnt[cnt] = 1;
             {
               cellIds[cnt] = vtkCellId;
               cellCnt[cnt] = 1;
-              // TODO ASSERT(cnt<100);
+              // TODO ASSERT(cnt<1000);
               cnt++;
             }
         }
               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
 
 
   // --- 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++)
     {
   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;
             {
               cellIds[cnt] = vtkCellId;
               cellCnt[cnt] = 1;
-              // TODO ASSERT(cnt<100);
+              // TODO ASSERT(cnt<1000);
               cnt++;
             }
         }
               cnt++;
             }
         }