Lines Matching refs:A_loc
5077 PetscErrorCode MatAIJGetLocalMat(Mat A, Mat *A_loc) in MatAIJGetLocalMat() argument
5084 PetscCall(MatMPIAIJGetLocalMat(A, MAT_INITIAL_MATRIX, A_loc)); in MatAIJGetLocalMat()
5086 *A_loc = A; in MatAIJGetLocalMat()
5087 PetscCall(PetscObjectReference((PetscObject)*A_loc)); in MatAIJGetLocalMat()
5120 PetscErrorCode MatMPIAIJGetLocalMat(Mat A, MatReuse scall, Mat *A_loc) in MatMPIAIJGetLocalMat() argument
5139 *A_loc = mpimat->A; in MatMPIAIJGetLocalMat()
5141 PetscCall(MatCopy(mpimat->A, *A_loc, SAME_NONZERO_PATTERN)); in MatMPIAIJGetLocalMat()
5187 PetscCall(MatCreateSeqAIJWithArrays(PETSC_COMM_SELF, am, A->cmap->N, ci, cj, ca, A_loc)); in MatMPIAIJGetLocalMat()
5190 mat = (Mat_SeqAIJ *)(*A_loc)->data; in MatMPIAIJGetLocalMat()
5195 mat = (Mat_SeqAIJ *)(*A_loc)->data; in MatMPIAIJGetLocalMat()
5198 PetscCall(MatSeqAIJGetArrayWrite(*A_loc, &cam)); in MatMPIAIJGetLocalMat()
5217 PetscCall(MatSeqAIJRestoreArrayWrite(*A_loc, &cam)); in MatMPIAIJGetLocalMat()
5247 PetscErrorCode MatMPIAIJGetLocalMatMerge(Mat A, MatReuse scall, IS *glob, Mat *A_loc) in MatMPIAIJGetLocalMatMerge() argument
5260 *A_loc = Ad; in MatMPIAIJGetLocalMatMerge()
5262 PetscCall(MatCopy(Ad, *A_loc, SAME_NONZERO_PATTERN)); in MatMPIAIJGetLocalMatMerge()
5270 PetscCall((*f)(A, scall, glob, A_loc)); in MatMPIAIJGetLocalMatMerge()
5308 PetscCall(MatCreateSeqAIJWithArrays(PETSC_COMM_SELF, am, dn + on, ci, cj, ca, A_loc)); in MatMPIAIJGetLocalMatMerge()
5311 c = (Mat_SeqAIJ *)(*A_loc)->data; in MatMPIAIJGetLocalMatMerge()
5315 PetscCall(MatSetType(*A_loc, ((PetscObject)Ad)->type_name)); in MatMPIAIJGetLocalMatMerge()
5317 PetscCall(MatSeqAIJGetArrayWrite(*A_loc, &ca)); in MatMPIAIJGetLocalMatMerge()
5326 PetscCall(MatSeqAIJRestoreArrayWrite(*A_loc, &ca)); in MatMPIAIJGetLocalMatMerge()
5362 PetscErrorCode MatMPIAIJGetLocalMatCondensed(Mat A, MatReuse scall, IS *row, IS *col, Mat *A_loc) in MatMPIAIJGetLocalMatCondensed() argument
5401 aloc[0] = *A_loc; in MatMPIAIJGetLocalMatCondensed()
5407 *A_loc = aloc[0]; in MatMPIAIJGetLocalMatCondensed()