Lines Matching refs:mesh

320   DM_Patch         *mesh = (DM_Patch *)dm->data;  in DMPatchView_ASCII()  local
331 PetscCall(DMView(mesh->dmCoarse, viewer)); in DMPatchView_ASCII()
351 DM_Patch *mesh = (DM_Patch *)dm->data; in DMDestroy_Patch() local
354 if (--mesh->refct > 0) PetscFunctionReturn(PETSC_SUCCESS); in DMDestroy_Patch()
355 PetscCall(DMDestroy(&mesh->dmCoarse)); in DMDestroy_Patch()
357 PetscCall(PetscFree(mesh)); in DMDestroy_Patch()
363 DM_Patch *mesh = (DM_Patch *)dm->data; in DMSetUp_Patch() local
367 PetscCall(DMSetUp(mesh->dmCoarse)); in DMSetUp_Patch()
373 DM_Patch *mesh = (DM_Patch *)dm->data; in DMCreateGlobalVector_Patch() local
377 PetscCall(DMCreateGlobalVector(mesh->dmCoarse, g)); in DMCreateGlobalVector_Patch()
383 DM_Patch *mesh = (DM_Patch *)dm->data; in DMCreateLocalVector_Patch() local
387 PetscCall(DMCreateLocalVector(mesh->dmCoarse, l)); in DMCreateLocalVector_Patch()
398 DM_Patch *mesh = (DM_Patch *)dm->data; in DMPatchGetCoarse() local
402 *dmCoarse = mesh->dmCoarse; in DMPatchGetCoarse()
408 DM_Patch *mesh = (DM_Patch *)dm->data; in DMPatchGetPatchSize() local
413 *patchSize = mesh->patchSize; in DMPatchGetPatchSize()
419 DM_Patch *mesh = (DM_Patch *)dm->data; in DMPatchSetPatchSize() local
423 mesh->patchSize = patchSize; in DMPatchSetPatchSize()
429 DM_Patch *mesh = (DM_Patch *)dm->data; in DMPatchGetCommSize() local
434 *commSize = mesh->commSize; in DMPatchGetCommSize()
440 DM_Patch *mesh = (DM_Patch *)dm->data; in DMPatchSetCommSize() local
444 mesh->commSize = commSize; in DMPatchSetCommSize()