Searched refs:origCoords (Results 1 – 1 of 1) sorted by relevance
243 PetscScalar *coords = NULL, *origCoords, *newCoords; in CheckCell() local252 PetscCall(PetscMalloc2(coordSize, &origCoords, coordSize, &newCoords)); in CheckCell()255 for (c = 0; c < coordSize; ++c) origCoords[c] = coords[c]; in CheckCell()274 for (c = 0; c < coordSize; ++c) newCoords[c] = origCoords[c]; in CheckCell()428 PetscCall(PetscFree2(origCoords, newCoords)); in CheckCell()