Searched refs:Ncol (Results 1 – 2 of 2) sorted by relevance
| /petsc/src/sys/error/ |
| H A D | err.c | 453 PetscErrorCode PetscIntViewNumColumns(PetscInt N, PetscInt Ncol, const PetscInt idx[], PetscViewer … in PetscIntViewNumColumns() argument 456 PetscInt j, i, n = N / Ncol, p = N % Ncol; in PetscIntViewNumColumns() 474 … PetscCall(PetscViewerASCIISynchronizedPrintf(viewer, "[%d] %" PetscInt_FMT ":", rank, Ncol * i)); in PetscIntViewNumColumns() 476 PetscCall(PetscViewerASCIISynchronizedPrintf(viewer, "%" PetscInt_FMT ":", Ncol * i)); in PetscIntViewNumColumns() 478 …for (j = 0; j < Ncol; j++) PetscCall(PetscViewerASCIISynchronizedPrintf(viewer, " %" PetscInt_FMT,… in PetscIntViewNumColumns() 483 … PetscCall(PetscViewerASCIISynchronizedPrintf(viewer, "[%d] %" PetscInt_FMT ":", rank, Ncol * n)); in PetscIntViewNumColumns() 485 PetscCall(PetscViewerASCIISynchronizedPrintf(viewer, "%" PetscInt_FMT ":", Ncol * n)); in PetscIntViewNumColumns() 487 …; i++) PetscCall(PetscViewerASCIISynchronizedPrintf(viewer, " %" PetscInt_FMT, idx[Ncol * n + i])); in PetscIntViewNumColumns() 553 PetscErrorCode PetscRealViewNumColumns(PetscInt N, PetscInt Ncol, const PetscReal idx[], PetscViewe… in PetscRealViewNumColumns() argument 556 PetscInt j, i, n = N / Ncol, p = N % Ncol; in PetscRealViewNumColumns() [all …]
|
| /petsc/src/dm/impls/plex/ |
| H A D | plexpreallocate.c | 155 static PetscErrorCode PetscIntViewPairs(PetscInt N, PetscInt Ncol, const PetscInt idx1[], const Pet… in PetscIntViewPairs() argument 158 PetscInt j, i, n = N / Ncol, p = N % Ncol; in PetscIntViewPairs() 176 … PetscCall(PetscViewerASCIISynchronizedPrintf(viewer, "[%d] %" PetscInt_FMT ":", rank, Ncol * i)); in PetscIntViewPairs() 178 PetscCall(PetscViewerASCIISynchronizedPrintf(viewer, "%" PetscInt_FMT ":", Ncol * i)); in PetscIntViewPairs() 180 …; j < Ncol; j++) PetscCall(PetscViewerASCIISynchronizedPrintf(viewer, " (%" PetscInt_FMT ", %" Pet… in PetscIntViewPairs() 185 … PetscCall(PetscViewerASCIISynchronizedPrintf(viewer, "[%d] %" PetscInt_FMT ":", rank, Ncol * n)); in PetscIntViewPairs() 187 PetscCall(PetscViewerASCIISynchronizedPrintf(viewer, "%" PetscInt_FMT ":", Ncol * n)); in PetscIntViewPairs() 189 …dPrintf(viewer, " (%" PetscInt_FMT ", %" PetscInt_FMT ")", idx1[Ncol * n + i], idx2[Ncol * n + i])… in PetscIntViewPairs()
|