| /petsc/src/mat/tests/output/ |
| H A D | ex26_1.out | 35 CSR for seqaij: shift 0 symmetric 1 compressed 1 46 CSR for seqbaij: shift 0 symmetric 1 compressed 1 57 CSR for seqsbaij: shift 0 symmetric 1 compressed 1 68 CSR for seqaij: shift 0 symmetric 1 compressed 0 79 CSR for seqbaij: shift 0 symmetric 1 compressed 0 90 CSR for seqsbaij: shift 0 symmetric 1 compressed 0 101 CSR for seqaij: shift 0 symmetric 0 compressed 1 112 CSR for seqbaij: shift 0 symmetric 0 compressed 1 123 CSR for seqsbaij: shift 0 symmetric 0 compressed 1 134 CSR for seqaij: shift 0 symmetric 0 compressed 0 [all …]
|
| H A D | ex26_2.out | 56 CSR for seqaij: shift 0 symmetric 1 compressed 1 74 CSR for seqbaij: shift 0 symmetric 1 compressed 1 84 CSR for seqsbaij: shift 0 symmetric 1 compressed 1 94 CSR for seqaij: shift 0 symmetric 1 compressed 0 112 CSR for seqbaij: shift 0 symmetric 1 compressed 0 130 CSR for seqsbaij: shift 0 symmetric 1 compressed 0 148 CSR for seqaij: shift 0 symmetric 0 compressed 1 166 CSR for seqbaij: shift 0 symmetric 0 compressed 1 176 CSR for seqsbaij: shift 0 symmetric 0 compressed 1 186 CSR for seqaij: shift 0 symmetric 0 compressed 0 [all …]
|
| /petsc/src/mat/tests/ |
| H A D | ex26.c | 5 PetscErrorCode DumpCSR(Mat A, PetscInt shift, PetscBool symmetric, PetscBool compressed) in DumpCSR() argument 17 PetscCall(MatGetRowIJ(A, shift, symmetric, compressed, &nr, &ia, &ja, &done)); in DumpCSR() 19 …nt_FMT " compressed %" PetscInt_FMT "\n", type, shift, (PetscInt)symmetric, (PetscInt)compressed)); in DumpCSR() 25 PetscCall(MatRestoreRowIJ(A, shift, symmetric, compressed, &nr, &ia, &ja, &done)); in DumpCSR() 113 PetscBool compressed = ((k > 0) ? PETSC_FALSE : PETSC_TRUE); in main() local 114 PetscCall(DumpCSR(A, shift, symmetric, compressed)); in main() 115 PetscCall(DumpCSR(B, shift, symmetric, compressed)); in main() 116 PetscCall(DumpCSR(C, shift, symmetric, compressed)); in main()
|
| /petsc/src/sys/fileio/ |
| H A D | fretrieve.c | 342 PetscBool flg1, flg2, flg3, flg4, download, compressed = PETSC_FALSE; in PetscFileRetrieve() local 352 if (len == 3) compressed = PETSC_TRUE; in PetscFileRetrieve() 361 if (!download && !compressed) { in PetscFileRetrieve() 373 if (compressed) { in PetscFileRetrieve() 384 if (compressed) { in PetscFileRetrieve() 422 } else if (compressed) { in PetscFileRetrieve() 427 if (compressed) { in PetscFileRetrieve()
|
| /petsc/doc/overview/ |
| H A D | matrix_table.md | 70 - Block compressed sparse row 75 - Upper triangular compressed sparse row
|
| /petsc/src/binding/petsc4py/test/ |
| H A D | test_mat_aij.py | 426 compressed = bool(self.BSIZE) 427 ai, aj = A.getRowIJ(compressed=compressed) 431 ai, aj = A.getColumnIJ(compressed=compressed) 656 ai, aj = A.getRowIJ(compressed=True) 661 ai, aj = A.getColumnIJ(compressed=True) 871 ai, aj = A.getColumnIJ(compressed=bool(self.BSIZE))
|
| /petsc/src/vec/is/utils/hdf5/ |
| H A D | hdf5io.c | 80 PetscBool compressed; in PetscViewerHDF5ReadSizes_Private() local 86 PetscCall(PetscViewerHDF5HasAttribute(viewer, ctx->name, "compressed", &compressed)); in PetscViewerHDF5ReadSizes_Private() 87 if (compressed && uncompress) { in PetscViewerHDF5ReadSizes_Private()
|
| /petsc/doc/developers/ |
| H A D | matrices.md | 62 matrix-vector product using three approaches: a basic compressed row 64 `-mat_seqaij -mat_nounroll)`; the same compressed row format using 110 format (also called the compressed sparse row format, CSR).
|
| H A D | objects.md | 31 compressed sparse row) has its own data fields for storing the actual
|
| /petsc/share/petsc/matlab/ |
| H A D | PetscBinaryWrite.m | 57 if min(size(A)) == 1 %a one-rank matrix will be compressed to a
|
| /petsc/doc/manual/ |
| H A D | mat.md | 7 dense storage and compressed sparse row storage (both sequential and 111 When using the block compressed sparse row matrix format (`MATSEQBAIJ` 159 been called, the matrices are compressed and can be used for 162 is compressed out by assembling with `MAT_FINAL_ASSEMBLY`. If you 165 compressed out. Once the matrix has been assembled, inserting new values 219 format (also called the compressed sparse 222 (such as block compressed row and block symmetric storage, which are 1284 the usual format for parallel compressed sparse row storage, using
|
| H A D | getting_started.md | 380 This causes the matrix `A` to use the compressed sparse row storage
|
| /petsc/src/vec/is/is/impls/general/ |
| H A D | general.c | 440 const PetscBool compressed = PETSC_TRUE; in ISView_General_HDF5_Compressed() local 451 …scViewerHDF5WriteObjectAttribute(viewer, (PetscObject)cis, "compressed", PETSC_BOOL, &compressed)); in ISView_General_HDF5_Compressed()
|
| /petsc/src/binding/petsc4py/src/petsc4py/PETSc/ |
| H A D | Mat.pyx | 721 Optional compressed sparse row layout information. 766 Optional block-compressed sparse row layout information. 811 Optional block-compressed sparse row layout information. 857 Optional compressed sparse row layout information. 977 Local matrix data in compressed sparse row layout format. 981 Must use the block-compressed form with `Type.BAIJ` and `Type.SBAIJ`. 1038 Local matrix data in compressed sparse row format. 2598 …def getRowIJ(self, symmetric: bool = False, compressed: bool = False) -> tuple[ArrayInt, ArrayInt]: 2607 compressed 2608 If `True`, return the compressed graph. [all …]
|
| /petsc/src/mat/impls/aij/seq/seqhipsparse/ |
| H A D | aijhipsparse.hip.cxx | 3028 PetscBool compressed; in MatMultAddKernel_SeqAIJHIPSPARSE() local 3053 compressed = matstruct->cprowIndices ? PETSC_TRUE : PETSC_FALSE; in MatMultAddKernel_SeqAIJHIPSPARSE() 3066 dptr = compressed ? hipsparsestruct->workVector->data().get() : zarray; in MatMultAddKernel_SeqAIJHIPSPARSE() 3067 beta = (yy == zz && !compressed) ? matstruct->beta_one : matstruct->beta_zero; in MatMultAddKernel_SeqAIJHIPSPARSE() 3081 xptr = compressed ? hipsparsestruct->workVector->data().get() : xarray; in MatMultAddKernel_SeqAIJHIPSPARSE() 3084 if (compressed) { /* Scatter x to work vector */ in MatMultAddKernel_SeqAIJHIPSPARSE() 3133 …if (compressed) { /* A is compressed. We first copy yy to zz, then Scatt… in MatMultAddKernel_SeqAIJHIPSPARSE() 3138 …} else if (compressed) { /* MatMult: zz = A*xx. A is compressed, so we zero zz first, then Scatter… in MatMultAddKernel_SeqAIJHIPSPARSE() 3143 if (compressed) { in MatMultAddKernel_SeqAIJHIPSPARSE() 3841 PetscErrorCode MatSeqAIJHIPSPARSEGetIJ(Mat A, PetscBool compressed, const int *i[], const int *j[]) in MatSeqAIJHIPSPARSEGetIJ() argument [all …]
|
| /petsc/doc/changes/ |
| H A D | 2028.md | 238 - Binary and ASCII viewers can create compressed files by simply
|
| /petsc/src/mat/impls/aij/seq/seqcusparse/ |
| H A D | aijcusparse.cu | 3562 PetscBool compressed; in MatMultAddKernel_SeqAIJCUSPARSE() local 3589 compressed = matstruct->cprowIndices ? PETSC_TRUE : PETSC_FALSE; in MatMultAddKernel_SeqAIJCUSPARSE() 3603 dptr = compressed ? cusparsestruct->workVector->data().get() : zarray; in MatMultAddKernel_SeqAIJCUSPARSE() 3604 beta = (yy == zz && !compressed) ? matstruct->beta_one : matstruct->beta_zero; in MatMultAddKernel_SeqAIJCUSPARSE() 3620 xptr = compressed ? cusparsestruct->workVector->data().get() : xarray; in MatMultAddKernel_SeqAIJCUSPARSE() 3623 if (compressed) { /* Scatter x to work vector */ in MatMultAddKernel_SeqAIJCUSPARSE() 3695 …if (compressed) { /* A is compressed. We first copy yy to zz, then Scat… in MatMultAddKernel_SeqAIJCUSPARSE() 3700 …} else if (compressed) { /* MatMult: zz = A*xx. A is compressed, so we zero zz first, then Scatter… in MatMultAddKernel_SeqAIJCUSPARSE() 3705 if (compressed) { in MatMultAddKernel_SeqAIJCUSPARSE() 4484 PetscErrorCode MatSeqAIJCUSPARSEGetIJ(Mat A, PetscBool compressed, const int **i, const int **j) in MatSeqAIJCUSPARSEGetIJ() argument [all …]
|
| /petsc/doc/ |
| H A D | petsc.bib | 8806 title = {Vectorized sparse matrix multiply for compressed row storage format},
|