Lines Matching refs:Cols
28 PetscErrorCode MatCreateSubMatrixFree(Mat mat, IS Rows, IS Cols, Mat *J) in MatCreateSubMatrixFree() argument
44 ctx->Cols = Cols; in MatCreateSubMatrixFree()
46 PetscCall(PetscObjectReference((PetscObject)Cols)); in MatCreateSubMatrixFree()
67 PetscErrorCode MatSMFResetRowColumn(Mat mat, IS Rows, IS Cols) in MatSMFResetRowColumn() argument
74 PetscCall(ISDestroy(&ctx->Cols)); in MatSMFResetRowColumn()
76 PetscCall(PetscObjectReference((PetscObject)Cols)); in MatSMFResetRowColumn()
77 ctx->Cols = Cols; in MatSMFResetRowColumn()
89 PetscCall(VecISSet(ctx->VR, ctx->Cols, 0.0)); in MatMult_SMF()
104 PetscCall(VecISSet(y, ctx->Cols, 0.0)); in MatMultTranspose_SMF()
126 PetscCall(ISDestroy(&ctx->Cols)); in MatDestroy_SMF()
158 PetscCall(MatCreateSubMatrixFree(ctx->A, ctx->Rows, ctx->Cols, M)); in MatDuplicate_SMF()
171 PetscCall(ISEqual(ctx1->Cols, ctx2->Cols, &flg3)); in MatEqual_SMF()