Lines Matching refs:p4est

54 static int DMRefinePattern_Corner(p4est_t *p4est, p4est_topidx_t which_tree, p4est_quadrant_t *quad…  in DMRefinePattern_Corner()  argument
59 ctx = (DMRefinePatternCtx *)p4est->user_pointer; in DMRefinePattern_Corner()
72 static int DMRefinePattern_Center(p4est_t *p4est, p4est_topidx_t which_tree, p4est_quadrant_t *quad… in DMRefinePattern_Center() argument
78 ctx = (DMRefinePatternCtx *)p4est->user_pointer; in DMRefinePattern_Center()
89 static int DMRefinePattern_Fractal(p4est_t *p4est, p4est_topidx_t which_tree, p4est_quadrant_t *qua… in DMRefinePattern_Fractal() argument
94 ctx = (DMRefinePatternCtx *)p4est->user_pointer; in DMRefinePattern_Fractal()
144 static int DMRefinePattern_Hash(p4est_t *p4est, p4est_topidx_t which_tree, p4est_quadrant_t *quadra… in DMRefinePattern_Hash() argument
150 ctx = (DMRefinePatternCtx *)p4est->user_pointer; in DMRefinePattern_Hash()
429 static int pforest_coarsen_currlevel(p4est_t *p4est, p4est_topidx_t which_tree, p4est_quadrant_t *q… in pforest_coarsen_currlevel() argument
431 PforestAdaptCtx *ctx = (PforestAdaptCtx *)p4est->user_pointer; in pforest_coarsen_currlevel()
439 static int pforest_coarsen_uniform(p4est_t *p4est, p4est_topidx_t which_tree, p4est_quadrant_t *qua… in pforest_coarsen_uniform() argument
441 PforestAdaptCtx *ctx = (PforestAdaptCtx *)p4est->user_pointer; in pforest_coarsen_uniform()
447 static int pforest_coarsen_flag_any(p4est_t *p4est, p4est_topidx_t which_tree, p4est_quadrant_t *qu… in pforest_coarsen_flag_any() argument
451 PforestAdaptCtx *ctx = (PforestAdaptCtx *)p4est->user_pointer; in pforest_coarsen_flag_any()
468 static int pforest_coarsen_flag_all(p4est_t *p4est, p4est_topidx_t which_tree, p4est_quadrant_t *qu… in pforest_coarsen_flag_all() argument
472 PforestAdaptCtx *ctx = (PforestAdaptCtx *)p4est->user_pointer; in pforest_coarsen_flag_all()
485 static void pforest_init_determine(p4est_t *p4est, p4est_topidx_t which_tree, p4est_quadrant_t *qua… in pforest_init_determine() argument
490 static int pforest_refine_uniform(p4est_t *p4est, p4est_topidx_t which_tree, p4est_quadrant_t *quad… in pforest_refine_uniform() argument
492 PforestAdaptCtx *ctx = (PforestAdaptCtx *)p4est->user_pointer; in pforest_refine_uniform()
498 static int pforest_refine_flag(p4est_t *p4est, p4est_topidx_t which_tree, p4est_quadrant_t *quadran… in pforest_refine_flag() argument
500 PforestAdaptCtx *ctx = (PforestAdaptCtx *)p4est->user_pointer; in pforest_refine_flag()
594 p4est_t *p4est; in DMPforestGetRefinementLevel() local
599 p4est = pforest->forest; in DMPforestGetRefinementLevel()
600 flt = p4est->first_local_tree; in DMPforestGetRefinementLevel()
601 llt = p4est->last_local_tree; in DMPforestGetRefinementLevel()
603 p4est_tree_t *tree = &(((p4est_tree_t *)p4est->trees->array)[t]); in DMPforestGetRefinementLevel()
901 p4est_t *p4est = pforest->forest; in DMSetUp_pforest() local
926 p4est_tree_t *tree = &(((p4est_tree_t *)p4est->trees->array)[t]); in DMSetUp_pforest()
1876 static PetscErrorCode P4estToPlex_Local(p4est_t *p4est, DM *plex) in P4estToPlex_Local() argument
1892 …PetscCallP4est(p4est_get_plex_data, (p4est, P4EST_CONNECT_FULL, 0, &first_local_quad, points_per_d… in P4estToPlex_Local()
3054 p4est_t *p4est = pforest->forest; in DMPforestLabelsInitialize() local
3055 p4est_tree_t *trees = (p4est_tree_t *)p4est->trees->array; in DMPforestLabelsInitialize()
3056 p4est_topidx_t t, flt = p4est->first_local_tree; in DMPforestLabelsInitialize()