Searched refs:tmpd (Results 1 – 2 of 2) sorted by relevance
540 PetscObject *tmpd; in PetscDSEnlarge_Static() local554 PetscCall(PetscMalloc4(NfNew, &tmpd, NfNew, &tmpi, NfNew, &tmpc, NfNew, &tmpk)); in PetscDSEnlarge_Static()556 tmpd[f] = prob->disc[f]; in PetscDSEnlarge_Static()562 tmpd[f] = NULL; in PetscDSEnlarge_Static()569 prob->disc = tmpd; in PetscDSEnlarge_Static()
5492 DMSpace *tmpd; in DMDSEnlarge_Static() local5497 PetscCall(PetscMalloc1(NdsNew, &tmpd)); in DMDSEnlarge_Static()5498 for (s = 0; s < Nds; ++s) tmpd[s] = dm->probs[s]; in DMDSEnlarge_Static()5500 tmpd[s].ds = NULL; in DMDSEnlarge_Static()5501 tmpd[s].label = NULL; in DMDSEnlarge_Static()5502 tmpd[s].fields = NULL; in DMDSEnlarge_Static()5506 dm->probs = tmpd; in DMDSEnlarge_Static()