- if (myID >= mesh->myCellLinksSize)
- {
- //points->SetNumberOfPoints(myID+SMDS_Mesh::chunkSize);
- vtkCellLinks *cellLinks = grid->GetCellLinks();
-
-// int imax = cellLinks->Size;
-// for (int i =0; i<imax; i++)
-// {
-// vtkCellLinks::Link &ilink = cellLinks->GetLink(i);
-// int ncells = ilink.ncells;
-// int *cells = ilink.cells;
-// MESSAGE("NODE " << i << " " << cellLinks << " " << cells << " " << ncells);
-// for (int j=0; j< ncells; j++)
-// MESSAGE(" " << j << " " << cells[j]);
-// }
-
- cellLinks->Resize(myID+SMDS_Mesh::chunkSize);
-
-// cellLinks = grid->GetCellLinks();
-// imax = cellLinks->Size;
-// for (int i =0; i<imax; i++)
-// {
-// vtkCellLinks::Link &ilink = cellLinks->GetLink(i);
-// int ncells = ilink.ncells;
-// int *cells = ilink.cells;
-// MESSAGE("NODE " << i << " " << cellLinks << " " << cells << " " << ncells);
-// for (int j=0; j< ncells; j++)
-// MESSAGE(" " << j << " " << cells[j]);
-// }
-
- mesh->myCellLinksSize = cellLinks->Size;
- //MESSAGE(" -------------------------------------- resize CellLinks " << myID << " --> " << mesh->myCellLinksSize);
- }
- //setXYZ(x, y, z);