Lines Matching refs:q
5 DMPlexPointQueue q; in DMPlexPointQueueCreate() local
9 PetscCall(PetscCalloc1(1, &q)); in DMPlexPointQueueCreate()
10 q->size = size; in DMPlexPointQueueCreate()
11 PetscCall(PetscMalloc1(q->size, &q->points)); in DMPlexPointQueueCreate()
12 q->num = 0; in DMPlexPointQueueCreate()
13 q->front = 0; in DMPlexPointQueueCreate()
14 q->back = q->size - 1; in DMPlexPointQueueCreate()
15 *queue = q; in DMPlexPointQueueCreate()
21 DMPlexPointQueue q = *queue; in DMPlexPointQueueDestroy() local
24 PetscCall(PetscFree(q->points)); in DMPlexPointQueueDestroy()
25 PetscCall(PetscFree(q)); in DMPlexPointQueueDestroy()