| /petsc/src/ksp/ksp/utils/schurm/ |
| H A D | schurm.c | 601 … IS iscol1, MatReuse mreuse, Mat *S, MatSchurComplementAinvType ainvtype, MatReuse preuse, Mat *Sp) in MatGetSchurComplement_Basic() argument 618 if (preuse == MAT_REUSE_MATRIX) PetscValidHeaderSpecific(*Sp, MAT_CLASSID, 10); in MatGetSchurComplement_Basic() 644 …se != MAT_IGNORE_MATRIX) PetscCall(MatCreateSchurComplementPmat(A, B, C, D, ainvtype, preuse, Sp)); in MatGetSchurComplement_Basic() 696 … IS iscol1, MatReuse mreuse, Mat *S, MatSchurComplementAinvType ainvtype, MatReuse preuse, Mat *Sp) in MatGetSchurComplement() argument 710 if (preuse == MAT_REUSE_MATRIX) PetscValidHeaderSpecific(*Sp, MAT_CLASSID, 10); in MatGetSchurComplement() 716 if (f) PetscCall((*f)(A, isrow0, iscol0, isrow1, iscol1, mreuse, S, preuse, Sp)); in MatGetSchurComplement() 717 …l(MatGetSchurComplement_Basic(A, isrow0, iscol0, isrow1, iscol1, mreuse, S, ainvtype, preuse, Sp)); in MatGetSchurComplement() 805 …(Mat A00, Mat A01, Mat A10, Mat A11, MatSchurComplementAinvType ainvtype, MatReuse preuse, Mat *Sp) in MatCreateSchurComplementPmat() argument 819 PetscCall(MatDuplicate(A11, MAT_COPY_VALUES, Sp)); in MatCreateSchurComplementPmat() 822 PetscCall(MatCopy(A11, *Sp, DIFFERENT_NONZERO_PATTERN)); in MatCreateSchurComplementPmat() [all …]
|
| /petsc/src/ksp/ksp/tests/ |
| H A D | ex21.c | 107 Mat A, S = NULL, Sexplicit = NULL, Sp, B, C; in main() local 131 PetscCall(MatSchurComplementGetPmat(S, MAT_INITIAL_MATRIX, &Sp)); in main() 132 PetscCall(MatMultEqual(Sp, Sexplicit, 10, &flg)); in main() 135 PetscCall(MatDestroy(&Sp)); in main() 196 PetscCall(MatSchurComplementGetPmat(S, MAT_INITIAL_MATRIX, &Sp)); in main() 197 PetscCall(MatMultEqual(Sp, Sexplicit, 10, &flg)); in main() 200 PetscCall(MatDestroy(&Sp)); in main()
|
| /petsc/lib/petsc/bin/maint/abi-compliance-checker/modules/Internals/ |
| H A D | Basic.pm | 182 my $Sp = 0; 184 $Sp = shift(@_); 196 if(not $Sp) 663 my ($Params, $Comma, $Sp) = @_; 686 if(not $Sp)
|
| /petsc/doc/manual/ |
| H A D | ksp.md | 2331 availability of a good preconditioner $\hat Sp$ for the Schur 2333 $\hat Sp$ via 2334 `PCFieldSplitSetSchurPre(pc,PC_FIELDSPLIT_SCHUR_PRE_USER,Sp)`. 2335 Without a good problem-specific $\hat Sp$, you can use 2342 $\hat Sp = A_{11}$ is used to build a preconditioner for 2346 $\hat Sp = \hat S$ and use the Schur complement matrix itself to 2353 approximately, to ensure the sparsity of $\hat Sp$ as much 2356 $\hat Sp = A_{11} - A_{10} \text{inv}(A_{00}) A_{01}$. 2380 done by attaching the matrix/matrices to the $Sp$ matrix they 2384 PetscObjectCompose((PetscObject)Sp,"LSC_L",(PetscObject)L); [all …]
|
| /petsc/src/dm/impls/plex/ |
| H A D | plexcreate.c | 4011 …5, Kp = 36, Lp = 37, Mp = 38, Np = 39, Op = 40, Pp = 41, Qp = 42, Rp = 43, Sp = 44, Tp = 45, Up = … in DMPlexCreateTPSMesh_Internal() local 4060 {Kp, Mp, Sp, Rp }, in DMPlexCreateTPSMesh_Internal() 4061 {Mp, Ip, Qp, Sp }, in DMPlexCreateTPSMesh_Internal() 4069 {Rp, Sp, Aq, Yp }, in DMPlexCreateTPSMesh_Internal() 4070 {Sp, Qp, Wp, Aq }, in DMPlexCreateTPSMesh_Internal()
|
| /petsc/lib/petsc/bin/maint/abi-compliance-checker/ |
| H A D | abi-compliance-checker.pl | 4348 foreach my $Sp ("KV", "VK", "K", "V") 4350 if($PSymbol=~s/\A_ZN$Sp/_ZN/ 4351 or $PSymbol=~s/\A_ZN/_ZN$Sp/)
|