Home
last modified time | relevance | path

Searched refs:method_DMShellGetNumberOfCells (Results 1 – 2 of 2) sorted by relevance

/petsc/src/dm/impls/swarm/
H A Dswarmpic_sort.c282 PetscErrorCode (*method_DMShellGetNumberOfCells)(DM, PetscInt *); in DMSwarmSortGetAccess() local
284 …etscObjectQueryFunction((PetscObject)dm, "DMGetNumberOfCells_C", &method_DMShellGetNumberOfCells)); in DMSwarmSortGetAccess()
285 if (method_DMShellGetNumberOfCells) { in DMSwarmSortGetAccess()
286 PetscCall(method_DMShellGetNumberOfCells(dm, &ncells)); in DMSwarmSortGetAccess()
H A Dswarmpic.c795 PetscErrorCode (*method_DMShellGetNumberOfCells)(DM, PetscInt *); in DMSwarmCreatePointPerCellCount() local
797 …etscObjectQueryFunction((PetscObject)dm, "DMGetNumberOfCells_C", &method_DMShellGetNumberOfCells)); in DMSwarmCreatePointPerCellCount()
798 if (method_DMShellGetNumberOfCells) { in DMSwarmCreatePointPerCellCount()
799 PetscCall(method_DMShellGetNumberOfCells(dm, &nel)); in DMSwarmCreatePointPerCellCount()