Searched refs:jdxm (Results 1 – 3 of 3) sorted by relevance
| /petsc/src/mat/impls/nest/ |
| H A D | matnest.c | 1060 static PetscErrorCode MatNestGetSubMat_Nest(Mat A, PetscInt idxm, PetscInt jdxm, Mat *mat) in MatNestGetSubMat_Nest() argument 1066 …scCheck(jdxm < bA->nc, PetscObjectComm((PetscObject)A), PETSC_ERR_ARG_OUTOFRANGE, "Col too large: … in MatNestGetSubMat_Nest() 1067 *mat = bA->m[idxm][jdxm]; in MatNestGetSubMat_Nest() 1089 PetscErrorCode MatNestGetSubMat(Mat A, PetscInt idxm, PetscInt jdxm, Mat *sub) in MatNestGetSubMat() argument 1094 PetscValidLogicalCollectiveInt(A, jdxm, 3); in MatNestGetSubMat() 1096 PetscUseMethod(A, "MatNestGetSubMat_C", (Mat, PetscInt, PetscInt, Mat *), (A, idxm, jdxm, sub)); in MatNestGetSubMat() 1100 static PetscErrorCode MatNestSetSubMat_Nest(Mat A, PetscInt idxm, PetscInt jdxm, Mat mat) in MatNestSetSubMat_Nest() argument 1107 …scCheck(jdxm < bA->nc, PetscObjectComm((PetscObject)A), PETSC_ERR_ARG_OUTOFRANGE, "Col too large: … in MatNestSetSubMat_Nest() 1113 PetscCall(ISGetLocalSize(bA->isglobal.col[jdxm], &ni)); in MatNestSetSubMat_Nest() 1114 PetscCall(ISGetSize(bA->isglobal.col[jdxm], &Ni)); in MatNestSetSubMat_Nest() [all …]
|
| /petsc/src/mat/interface/ |
| H A D | matrix.c | 1790 PetscInt buf[8192], *bufm = NULL, *bufn = NULL, *jdxm, *jdxn; in MatSetValuesStencil() local 1802 jdxm = buf; in MatSetValuesStencil() 1806 jdxm = bufm; in MatSetValuesStencil() 1817 jdxm[i] = tmp; in MatSetValuesStencil() 1829 PetscCall(MatSetValuesLocal(mat, m, jdxm, n, jdxn, v, addv)); in MatSetValuesStencil() 1905 PetscInt buf[8192], *bufm = NULL, *bufn = NULL, *jdxm, *jdxn; in MatSetValuesBlockedStencil() local 1918 jdxm = buf; in MatSetValuesBlockedStencil() 1922 jdxm = bufm; in MatSetValuesBlockedStencil() 1933 jdxm[i] = tmp; in MatSetValuesBlockedStencil() 1945 PetscCall(MatSetValuesBlockedLocal(mat, m, jdxm, n, jdxn, v, addv)); in MatSetValuesBlockedStencil() [all …]
|
| /petsc/src/binding/petsc4py/src/petsc4py/PETSc/ |
| H A D | Mat.pyx | 5879 cdef PetscInt jdxm = asInt(j) 5880 CHKERR(MatNestGetSubMat(self.mat, idxm, jdxm, &submat.mat))
|