Searched refs:Cols (Results 1 – 2 of 2) sorted by relevance
| /petsc/src/tao/matrix/ |
| H A D | submatfree.c | 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() [all …]
|
| H A D | submatfree.h | 9 IS Rows, Cols; member
|