Salome HOME
projects
/
modules
/
smesh.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
merge V5_1_4
[modules/smesh.git]
/
src
/
SMDS
/
SMDS_Downward.cxx
diff --git
a/src/SMDS/SMDS_Downward.cxx
b/src/SMDS/SMDS_Downward.cxx
index 561b10b202e264d542b5cfd2f31fd99b5b260ec1..f3fbd0efcd6ced7b9bb5292b8a01e27f23867b84 100644
(file)
--- a/
src/SMDS/SMDS_Downward.cxx
+++ b/
src/SMDS/SMDS_Downward.cxx
@@
-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[100
0
];
+ int cellCnt[100
0
];
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<100
0
);
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[100
0
];
+ int cellCnt[100
0
];
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<100
0
);
cnt++;
}
}
cnt++;
}
}