Home
last modified time | relevance | path

Searched refs:isg (Results 1 – 6 of 6) sorted by relevance

/petsc/src/snes/tutorials/
H A Dex70.c61 IS isg[2]; /* index sets of split "0" and "1" */ member
105 PetscCall(PCFieldSplitSetIS(pc, "0", s->isg[0])); in StokesSetupPC()
106 PetscCall(PCFieldSplitSetIS(pc, "1", s->isg[1])); in StokesSetupPC()
147 PetscCall(MatNestGetISs(s->A, s->isg, NULL)); in StokesSetupIndexSets()
189 PetscCall(VecGetSubVector(s->y, s->isg[0], &y0)); in StokesExactSolution()
202 PetscCall(VecRestoreSubVector(s->y, s->isg[0], &y0)); in StokesExactSolution()
205 PetscCall(VecGetSubVector(s->y, s->isg[1], &y1)); in StokesExactSolution()
214 PetscCall(VecRestoreSubVector(s->y, s->isg[1], &y1)); in StokesExactSolution()
226 PetscCall(VecGetSubVector(s->b, s->isg[0], &b0)); in StokesRhs()
237 PetscCall(VecRestoreSubVector(s->b, s->isg[0], &b0)); in StokesRhs()
[all …]
H A Dex28.c311 IS *isg; in main() local
352 PetscCall(DMCompositeGetGlobalISs(pack, &isg)); in main()
407 PetscCall(PCFieldSplitSetIS(pc, "u", isg[0])); in main()
408 PetscCall(PCFieldSplitSetIS(pc, "k", isg[1])); in main()
448 PetscCall(ISDestroy(&isg[0])); in main()
449 PetscCall(ISDestroy(&isg[1])); in main()
450 PetscCall(PetscFree(isg)); in main()
/petsc/src/dm/impls/composite/
H A Dpackm.c7 IS *isg; in DMCreateMatrix_Composite_Nest() local
16 PetscCall(DMCompositeGetGlobalISs(dm, &isg)); in DMCreateMatrix_Composite_Nest()
29 PetscCall(MatCreateNest(PetscObjectComm((PetscObject)dm), n, isg, n, isg, submats, J)); in DMCreateMatrix_Composite_Nest()
32 for (i = 0; i < n; i++) PetscCall(ISDestroy(&isg[i])); in DMCreateMatrix_Composite_Nest()
33 PetscCall(PetscFree(isg)); in DMCreateMatrix_Composite_Nest()
/petsc/src/ksp/ksp/tests/
H A Dex57.c12 IS isg[3]; in main() local
115 PetscCall(MatNestGetISs(A, isg, NULL)); in main()
136 PetscCall(PCFieldSplitSetIS(pc, "a", isg[0])); in main()
137 PetscCall(PCFieldSplitSetIS(pc, "b", isg[1])); in main()
138 PetscCall(PCFieldSplitSetIS(pc, "c", isg[2])); in main()
/petsc/src/binding/petsc4py/demo/legacy/ode/
H A Dheat.py45 isg = PETSc.IS().createGeneral(list(gindices), comm=comm)
46 self.g2l = PETSc.Scatter().create(self.gvec, isg, self.lvec, None)
/petsc/doc/manual/
H A Dmat.md1333 ISPartitioningToNumbering(IS is,IS *isg);
1336 The resulting `isg` contains for each local node the new global number
1345 AOCreateBasicIS(isg,NULL,&ao);
1349 used in conjunction with the `is` and `isg` to move the relevant