Searched refs:isp (Results 1 – 4 of 4) sorted by relevance
| /petsc/src/ksp/ksp/tests/ |
| H A D | ex11.c | 9 static PetscErrorCode replace_submats(Mat A, IS isu, IS isp) in replace_submats() argument 17 PetscCall(MatCreateSubMatrix(A, isu, isp, MAT_INITIAL_MATRIX, &A12)); in replace_submats() 18 PetscCall(MatCreateSubMatrix(A, isp, isu, MAT_INITIAL_MATRIX, &A21)); in replace_submats() 19 PetscCall(MatCreateSubMatrix(A, isp, isp, MAT_INITIAL_MATRIX, &A22)); in replace_submats() 152 IS isu, isp; in port_lsd_bfbt() local 156 PetscCall(LoadTestMatrices(&A, &x, &b, &isu, &isp)); in port_lsd_bfbt() 186 PetscCall(PCFieldSplitSetIS(pc_A, "pressure", isp)); in port_lsd_bfbt() 200 PetscCall(MatCreateSubMatrix(A, isp, isp, MAT_INITIAL_MATRIX, &A22)); in port_lsd_bfbt() 210 PetscCall(VecScatterCreate(x, isp, pvec, NULL, &pscat)); in port_lsd_bfbt() 254 PetscCall(replace_submats(A, isu, isp)); in port_lsd_bfbt() [all …]
|
| H A D | ex84.c | 39 IS isu, isp; in port_lsd_bfbt() local 50 if (commute_lsc) PetscCall(LSCLoadOperators(&A, &Q, &L, &b, &isu, &isp)); in port_lsd_bfbt() 51 else PetscCall(LSCLoadOperators(&A, &Q, NULL, &b, &isu, &isp)); in port_lsd_bfbt() 62 PetscCall(PCFieldSplitSetIS(pc_A, "pressure", isp)); in port_lsd_bfbt() 83 PetscCall(ISDestroy(&isp)); in port_lsd_bfbt()
|
| /petsc/src/ts/tutorials/ |
| H A D | ex30.c | 1718 IS isp; in SetInitialConditionsAndTolerances() local 1730 PetscCall(PetscObjectQuery((PetscObject)dm, "IS potential", (PetscObject *)&isp)); in SetInitialConditionsAndTolerances() 1731 PetscCheck(isp, PetscObjectComm((PetscObject)dm), PETSC_ERR_PLIB, "Missing potential IS"); in SetInitialConditionsAndTolerances() 1738 PetscCall(VecISSet(vatol, isp, -1)); in SetInitialConditionsAndTolerances() 1740 PetscCall(VecISSet(vrtol, isp, -1)); in SetInitialConditionsAndTolerances() 1813 if (!sctp) PetscCall(VecScatterCreate(u, isp, p, NULL, &sctp)); in SetInitialConditionsAndTolerances() 1834 PetscCall(VecISSet(vatol, isp, -1)); in SetInitialConditionsAndTolerances() 1836 PetscCall(VecISSet(vrtol, isp, -1)); in SetInitialConditionsAndTolerances()
|
| /petsc/src/ksp/pc/impls/bddc/ |
| H A D | bddcprivate.c | 4636 IS isp, ispi; in PCBDDCSetUpCorrection() local 4638 isp = is_C_perm; in PCBDDCSetUpCorrection() 4640 PetscCall(ISInvertPermutation(isp, PETSC_DECIDE, &ispi)); in PCBDDCSetUpCorrection() 4641 PetscCall(MatPermute(S_CC, isp, isp, &T)); in PCBDDCSetUpCorrection()
|