SMDS_Iterator<const SMDS_MeshElement *> * itNodes=elem->nodesIterator();
while(itNodes->more())
fprintf(myFileId, "%d ", itNodes->next()->GetID());
+ delete itNodes;
fprintf(myFileId, "\n");
}
SMDS_Iterator<const SMDS_MeshElement *> * itNodes=elem->nodesIterator();
while(itNodes->more())
fprintf(myFileId, "%d ", itNodes->next()->GetID());
-
+ delete itNodes;
+
fprintf(myFileId, "\n");
}
delete itVolumes;
/* allocation memoire */
connectivite =
(med_int *) malloc(sizeof(med_int) * taille * nmailles[i]);
- nomele =
+ /* nomele =
(char *)malloc(sizeof(char) * MED_TAILLE_PNOM *
- nmailles[i] + 1);
+ nmailles[i] + 1);*/
+ nomele = "";
numele = (med_int *) malloc(sizeof(med_int) * nmailles[i]);
nufael = (med_int *) malloc(sizeof(med_int) * nmailles[i]);
- nomele = "";
nbNodes = typmai[i] % 100;
for (j = 0; j < nmailles[i]; j++)
/* liberation memoire */
free(connectivite);
free(numele);
- free(nomele);
free(nufael);
MESSAGE(" End " << typmai[i]);
}
int ij1 = j1 * nbdown + i1;
quad->uv_grid[ij1].node = node;
}
+ delete itf;
for (int i1 = 0; i1 < nbdown; i1++)
for (int j1 = 0; j1 < nbright; j1++)