Lines Matching refs:dd

9   DM_DA *dd = (DM_DA *)da->data;  in DMDestroy_DA()  local
14 PetscCall(PetscFree(dd->startghostedout[i])); in DMDestroy_DA()
15 PetscCall(PetscFree(dd->startghostedin[i])); in DMDestroy_DA()
16 PetscCall(PetscFree(dd->startout[i])); in DMDestroy_DA()
17 PetscCall(PetscFree(dd->startin[i])); in DMDestroy_DA()
20 PetscCall(VecScatterDestroy(&dd->gtol)); in DMDestroy_DA()
21 PetscCall(VecScatterDestroy(&dd->ltol)); in DMDestroy_DA()
22 PetscCall(VecDestroy(&dd->natural)); in DMDestroy_DA()
23 PetscCall(VecScatterDestroy(&dd->gton)); in DMDestroy_DA()
24 PetscCall(AODestroy(&dd->ao)); in DMDestroy_DA()
25 PetscCall(PetscFree(dd->aotype)); in DMDestroy_DA()
27 PetscCall(PetscFree(dd->lx)); in DMDestroy_DA()
28 PetscCall(PetscFree(dd->ly)); in DMDestroy_DA()
29 PetscCall(PetscFree(dd->lz)); in DMDestroy_DA()
31 PetscCall(PetscFree(dd->refine_x_hier)); in DMDestroy_DA()
32 PetscCall(PetscFree(dd->refine_y_hier)); in DMDestroy_DA()
33 PetscCall(PetscFree(dd->refine_z_hier)); in DMDestroy_DA()
35 if (dd->fieldname) { in DMDestroy_DA()
36 for (PetscInt i = 0; i < dd->w; i++) PetscCall(PetscFree(dd->fieldname[i])); in DMDestroy_DA()
37 PetscCall(PetscFree(dd->fieldname)); in DMDestroy_DA()
39 if (dd->coordinatename) { in DMDestroy_DA()
40 for (PetscInt i = 0; i < da->dim; i++) PetscCall(PetscFree(dd->coordinatename[i])); in DMDestroy_DA()
41 PetscCall(PetscFree(dd->coordinatename)); in DMDestroy_DA()
43 PetscCall(ISColoringDestroy(&dd->localcoloring)); in DMDestroy_DA()
44 PetscCall(ISColoringDestroy(&dd->ghostedcoloring)); in DMDestroy_DA()
46 PetscCall(PetscFree(dd->neighbors)); in DMDestroy_DA()
47 PetscCall(PetscFree(dd->dfill)); in DMDestroy_DA()
48 PetscCall(PetscFree(dd->ofill)); in DMDestroy_DA()
49 PetscCall(PetscFree(dd->ofillcols)); in DMDestroy_DA()
50 PetscCall(PetscFree(dd->e)); in DMDestroy_DA()
51 PetscCall(ISDestroy(&dd->ecorners)); in DMDestroy_DA()
55 PetscCall(PetscFree(dd)); in DMDestroy_DA()