Lines Matching refs:tree
603 p4est_tree_t *tree = &(((p4est_tree_t *)p4est->trees->array)[t]); in DMPforestGetRefinementLevel() local
604 maxlevelloc = PetscMax((PetscInt)tree->maxlevel, maxlevelloc); in DMPforestGetRefinementLevel()
926 p4est_tree_t *tree = &(((p4est_tree_t *)p4est->trees->array)[t]); in DMSetUp_pforest() local
927 PetscInt numQuads = (PetscInt)tree->quadrants.elem_count, i; in DMSetUp_pforest()
928 p4est_quadrant_t *quads = (p4est_quadrant_t *)tree->quadrants.array; in DMSetUp_pforest()
947 p4est_tree_t *tree = &(((p4est_tree_t *)pforest->forest->trees->array)[t]); in DMSetUp_pforest() local
949 PetscInt numQuads = (PetscInt)tree->quadrants.elem_count; in DMSetUp_pforest()
951 p4est_quadrant_t *quads = (p4est_quadrant_t *)tree->quadrants.array; in DMSetUp_pforest()
2453 p4est_tree_t *tree = &(((p4est_tree_t *)p4estC->trees->array)[t]); in DMPforestGetTransferSF_Point() local
2456 …PetscCall(PetscMemcpy(&coverQuadsSend[count], tree->quadrants.array, tree->quadrants.elem_count * … in DMPforestGetTransferSF_Point()
2457 …for (q = 0; (size_t)q < tree->quadrants.elem_count; q++) coverQuadsSend[count + q].p.which_tree = … in DMPforestGetTransferSF_Point()
2458 count += tree->quadrants.elem_count; in DMPforestGetTransferSF_Point()
2490 p4est_tree_t *tree = &(((p4est_tree_t *)p4estC->trees->array)[t]); in DMPforestGetTransferSF_Point() local
2492 treeQuadCounts[t - fltF] = (PetscInt)tree->quadrants.elem_count; in DMPforestGetTransferSF_Point()
2493 treeQuads[t - fltF] = (p4est_quadrant_t *)tree->quadrants.array; in DMPforestGetTransferSF_Point()
2532 p4est_tree_t *tree = &(((p4est_tree_t *)p4estF->trees->array)[t]); in DMPforestGetTransferSF_Point() local
2533 PetscInt numFineQuads = (PetscInt)tree->quadrants.elem_count; in DMPforestGetTransferSF_Point()
2535 p4est_quadrant_t *fineQuads = (p4est_quadrant_t *)tree->quadrants.array; in DMPforestGetTransferSF_Point()
2537 PetscInt offset = tree->quadrants_offset; in DMPforestGetTransferSF_Point()
3064 p4est_tree_t *tree = &trees[t]; in DMPforestLabelsInitialize() local
3065 p4est_quadrant_t *quads = (p4est_quadrant_t *)tree->quadrants.array; in DMPforestLabelsInitialize()
3066 PetscInt numQuads = (PetscInt)tree->quadrants.elem_count; in DMPforestLabelsInitialize()
3229 p4est_tree_t *tree; in DMPforestLabelsInitialize() local
3232 tree = &trees[guess]; in DMPforestLabelsInitialize()
3233 if (c < tree->quadrants_offset) { in DMPforestLabelsInitialize()
3235 } else if (c < tree->quadrants_offset + (PetscInt)tree->quadrants.elem_count) { in DMPforestLabelsInitialize()
3236 q = &((p4est_quadrant_t *)tree->quadrants.array)[c - (PetscInt)tree->quadrants_offset]; in DMPforestLabelsInitialize()
3762 p4est_tree_t *tree = &trees[t]; in DMPforestMapCoordinates() local
3764 …if (cell >= tree->quadrants_offset && (size_t)cell < tree->quadrants_offset + tree->quadrants.elem… in DMPforestMapCoordinates()
3804 p4est_tree_t *tree = &trees[t]; in DMPforestMapCoordinates() local
3805 PetscInt offset = cLocalStart + tree->quadrants_offset, i; in DMPforestMapCoordinates()
3806 PetscInt numQuads = (PetscInt)tree->quadrants.elem_count; in DMPforestMapCoordinates()
3807 p4est_quadrant_t *quads = (p4est_quadrant_t *)tree->quadrants.array; in DMPforestMapCoordinates()
3996 p4est_tree_t *tree = &trees[t]; in DMPforestLocalizeCoordinates() local
3997 PetscInt offset = cLocalStart + tree->quadrants_offset; in DMPforestLocalizeCoordinates()
3998 PetscInt numQuads = (PetscInt)tree->quadrants.elem_count; in DMPforestLocalizeCoordinates()
3999 p4est_quadrant_t *quads = (p4est_quadrant_t *)tree->quadrants.array; in DMPforestLocalizeCoordinates()
4055 p4est_tree_t *tree = &trees[t]; in DMPforestLocalizeCoordinates() local
4056 PetscInt offset = cLocalStart + tree->quadrants_offset; in DMPforestLocalizeCoordinates()
4057 PetscInt numQuads = (PetscInt)tree->quadrants.elem_count; in DMPforestLocalizeCoordinates()
4058 p4est_quadrant_t *quads = (p4est_quadrant_t *)tree->quadrants.array; in DMPforestLocalizeCoordinates()