Searched refs:method_DMShellGetNumberOfCells (Results 1 – 2 of 2) sorted by relevance
282 PetscErrorCode (*method_DMShellGetNumberOfCells)(DM, PetscInt *); in DMSwarmSortGetAccess() local284 …etscObjectQueryFunction((PetscObject)dm, "DMGetNumberOfCells_C", &method_DMShellGetNumberOfCells)); in DMSwarmSortGetAccess()285 if (method_DMShellGetNumberOfCells) { in DMSwarmSortGetAccess()286 PetscCall(method_DMShellGetNumberOfCells(dm, &ncells)); in DMSwarmSortGetAccess()
795 PetscErrorCode (*method_DMShellGetNumberOfCells)(DM, PetscInt *); in DMSwarmCreatePointPerCellCount() local797 …etscObjectQueryFunction((PetscObject)dm, "DMGetNumberOfCells_C", &method_DMShellGetNumberOfCells)); in DMSwarmCreatePointPerCellCount()798 if (method_DMShellGetNumberOfCells) { in DMSwarmCreatePointPerCellCount()799 PetscCall(method_DMShellGetNumberOfCells(dm, &nel)); in DMSwarmCreatePointPerCellCount()