Searched refs:cellFlags (Results 1 – 1 of 1) sorted by relevance
| /petsc/src/dm/impls/forest/p4est/ |
| H A D | pforest.h | 902 PetscInt *cellFlags; in DMSetUp_pforest() local 914 PetscCall(PetscMalloc1(cEnd - cStart, &cellFlags)); in DMSetUp_pforest() 915 … for (c = cStart; c < cEnd; c++) PetscCall(DMLabelGetValue(adaptLabel, c, &cellFlags[c - cStart])); in DMSetUp_pforest() 918 PetscCall(PetscSFReduceBegin(cellSF, MPIU_INT, cellFlags, cellFlags, MPI_MAX)); in DMSetUp_pforest() 919 PetscCall(PetscSFReduceEnd(cellSF, MPIU_INT, cellFlags, cellFlags, MPI_MAX)); in DMSetUp_pforest() 921 PetscCall(PetscSFReduceBegin(cellSF, MPIU_INT, cellFlags, cellFlags, MPI_MIN)); in DMSetUp_pforest() 922 PetscCall(PetscSFReduceEnd(cellSF, MPIU_INT, cellFlags, cellFlags, MPI_MIN)); in DMSetUp_pforest() 932 q->p.user_int = cellFlags[count++]; in DMSetUp_pforest() 935 PetscCall(PetscFree(cellFlags)); in DMSetUp_pforest()
|