Lines Matching refs:container
63 PetscContainer container; in DMPlexGetFEGeom() local
68 PetscCall(PetscObjectQuery((PetscObject)pointIS, composeStr, (PetscObject *)&container)); in DMPlexGetFEGeom()
69 if (container) { in DMPlexGetFEGeom()
70 PetscCall(PetscContainerGetPointer(container, geom)); in DMPlexGetFEGeom()
73 PetscCall(PetscContainerCreate(PETSC_COMM_SELF, &container)); in DMPlexGetFEGeom()
74 PetscCall(PetscContainerSetPointer(container, (void *)*geom)); in DMPlexGetFEGeom()
75 PetscCall(PetscContainerSetCtxDestroy(container, PetscContainerCtxDestroy_PetscFEGeom)); in DMPlexGetFEGeom()
76 PetscCall(PetscObjectCompose((PetscObject)pointIS, composeStr, (PetscObject)container)); in DMPlexGetFEGeom()
77 PetscCall(PetscContainerDestroy(&container)); in DMPlexGetFEGeom()
4363 PetscContainer container; in DMSNESGetFEGeom() local
4368 PetscCall(PetscObjectQuery((PetscObject)pointIS, composeStr, (PetscObject *)&container)); in DMSNESGetFEGeom()
4369 if (container) { in DMSNESGetFEGeom()
4370 PetscCall(PetscContainerGetPointer(container, geom)); in DMSNESGetFEGeom()
4373 PetscCall(PetscContainerCreate(PETSC_COMM_SELF, &container)); in DMSNESGetFEGeom()
4374 PetscCall(PetscContainerSetPointer(container, (void *)*geom)); in DMSNESGetFEGeom()
4375 PetscCall(PetscContainerSetCtxDestroy(container, PetscContainerCtxDestroy_PetscFEGeom)); in DMSNESGetFEGeom()
4376 PetscCall(PetscObjectCompose((PetscObject)pointIS, composeStr, (PetscObject)container)); in DMSNESGetFEGeom()
4377 PetscCall(PetscContainerDestroy(&container)); in DMSNESGetFEGeom()