Searched refs:is_row (Results 1 – 4 of 4) sorted by relevance
| /petsc/src/mat/impls/nest/ftn-custom/ |
| H A D | zmatnestf.c | 14 PETSC_EXTERN void matcreatenest_(MPI_Fint *comm, PetscInt *nr, IS is_row[], PetscInt *nc, IS is_col… in matcreatenest_() argument 19 CHKFORTRANNULLOBJECT(is_row); in matcreatenest_() 34 *ierr = MatCreateNest(MPI_Comm_f2c(*comm), *nr, is_row, *nc, is_col, m, B); in matcreatenest_() 39 PETSC_EXTERN void matnestsetsubmats_(Mat *B, PetscInt *nr, IS is_row[], PetscInt *nc, IS is_col[], … in matnestsetsubmats_() argument 45 CHKFORTRANNULLOBJECT(is_row); in matnestsetsubmats_() 62 *ierr = MatNestSetSubMats(*B, *nr, is_row, *nc, is_col, m); in matnestsetsubmats_()
|
| /petsc/src/mat/impls/sbaij/mpi/ |
| H A D | sbaijov.c | 14 IS *is_new, *is_row; in MatIncreaseOverlap_MPISBAIJ() local 41 PetscCall(PetscMalloc1(is_max, &is_row)); in MatIncreaseOverlap_MPISBAIJ() 42 PetscCall(ISCreateStride(PETSC_COMM_SELF, Mbs, 0, 1, &is_row[0])); in MatIncreaseOverlap_MPISBAIJ() 44 for (i = 1; i < is_max; i++) is_row[i] = is_row[0]; /* reuse is_row[0] */ in MatIncreaseOverlap_MPISBAIJ() 76 …PetscCall(MatCreateSubMatrices_MPIBAIJ_local(C, max_no, is_row + pos, is_new + pos, MAT_INITIAL_MA… in MatIncreaseOverlap_MPISBAIJ() 120 PetscCall(ISDestroy(&is_row[0])); in MatIncreaseOverlap_MPISBAIJ() 121 PetscCall(PetscFree(is_row)); in MatIncreaseOverlap_MPISBAIJ()
|
| /petsc/src/mat/impls/nest/ |
| H A D | matnest.c | 350 IS *is_row, *is_col; in MatTranspose_Nest() local 353 PetscCall(PetscMalloc2(nr, &is_row, nc, &is_col)); in MatTranspose_Nest() 354 PetscCall(MatNestGetISs(A, is_row, is_col)); in MatTranspose_Nest() 361 PetscCall(MatCreateNest(PetscObjectComm((PetscObject)A), nc, is_col, nr, is_row, subs, &C)); in MatTranspose_Nest() 363 PetscCall(PetscFree2(is_row, is_col)); in MatTranspose_Nest() 1362 static PetscErrorCode MatNestSetSubMats_Nest(Mat A, PetscInt nr, const IS is_row[], PetscInt nc, co… in MatNestSetSubMats_Nest() argument 1408 PetscCall(MatSetUp_NestIS_Private(A, nr, is_row, nc, is_col)); in MatNestSetSubMats_Nest() 1479 PetscErrorCode MatNestSetSubMats(Mat A, PetscInt nr, const IS is_row[], PetscInt nc, const IS is_co… in MatNestSetSubMats() argument 1485 if (nr && is_row) { in MatNestSetSubMats() 1486 PetscAssertPointer(is_row, 3); in MatNestSetSubMats() [all …]
|
| /petsc/src/dm/dt/dualspace/impls/sum/ |
| H A D | dualspacesum.c | 415 IS is_row, is_col; in PetscDualSpaceSumCreateMappings() local 434 PetscCall(ISCreateStride(PETSC_COMM_SELF, subNb, roffset[0], rstride, &is_row)); in PetscDualSpaceSumCreateMappings() 452 PetscCall(ISCreateGeneral(PETSC_COMM_SELF, subNb, rows, PETSC_OWN_POINTER, &is_row)); in PetscDualSpaceSumCreateMappings() 477 PetscCall(ISLocalToGlobalMappingCreateIS(is_row, &map_row[s])); in PetscDualSpaceSumCreateMappings() 479 PetscCall(ISDestroy(&is_row)); in PetscDualSpaceSumCreateMappings()
|