Searched refs:nnzO (Results 1 – 1 of 1) sorted by relevance
| /petsc/src/dm/impls/plex/ |
| H A D | plextree.c | 3523 PetscInt rowStart, rowEnd, colStart, colEnd, *nnzD, *nnzO; in DMPlexComputeInjectorTree() local 3559 PetscCall(PetscCalloc2(rowEnd - rowStart, &nnzD, rowEnd - rowStart, &nnzO)); in DMPlexComputeInjectorTree() 3608 nnzO[rowIndex - rowStart] = 1; in DMPlexComputeInjectorTree() 3653 nnzO[rowIndex - rowStart] += numO; in DMPlexComputeInjectorTree() 3660 PetscCall(MatXAIJSetPreallocation(mat, 1, nnzD, nnzO, NULL, NULL)); in DMPlexComputeInjectorTree() 3661 PetscCall(PetscFree2(nnzD, nnzO)); in DMPlexComputeInjectorTree()
|