Searched refs:isu (Results 1 – 3 of 3) 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 16 PetscCall(MatCreateSubMatrix(A, isu, isu, MAT_INITIAL_MATRIX, &A11)); in replace_submats() 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() 152 IS isu, isp; in port_lsd_bfbt() local 156 PetscCall(LoadTestMatrices(&A, &x, &b, &isu, &isp)); in port_lsd_bfbt() 185 PetscCall(PCFieldSplitSetIS(pc_A, "velocity", isu)); in port_lsd_bfbt() 199 PetscCall(MatCreateSubMatrix(A, isu, isu, MAT_INITIAL_MATRIX, &A11)); in port_lsd_bfbt() 206 PetscCall(VecScatterCreate(x, isu, uvec, NULL, &uscat)); 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() 61 PetscCall(PCFieldSplitSetIS(pc_A, "velocity", isu)); in port_lsd_bfbt() 82 PetscCall(ISDestroy(&isu)); in port_lsd_bfbt()
|
| /petsc/src/tao/bound/utils/ |
| H A D | isutil.c | 191 PetscInt *isl = NULL, *isu = NULL, *isf = NULL, *isa = NULL, *isi = NULL; in TaoEstimateActiveBounds() local 248 PetscCall(PetscMalloc1(n, &isu)); in TaoEstimateActiveBounds() 267 isu[n_isu] = low + i; in TaoEstimateActiveBounds() 299 PetscCall(ISCreateGeneral(comm, n_isu, isu, PETSC_OWN_POINTER, active_upper)); in TaoEstimateActiveBounds() 301 PetscCall(PetscFree(isu)); in TaoEstimateActiveBounds()
|