| /petsc/src/vec/vec/utils/tagger/impls/ |
| H A D | andor.c | 10 for (i = 0; i < andOr->nsubs; i++) PetscCall(VecTaggerDestroy(&andOr->subs[i])); in VecTaggerDestroy_AndOr() 11 if (andOr->mode == PETSC_OWN_POINTER) PetscCall(PetscFree(andOr->subs)); in VecTaggerDestroy_AndOr() 16 PetscErrorCode VecTaggerGetSubs_AndOr(VecTagger tagger, PetscInt *nsubs, VecTagger **subs) in VecTaggerGetSubs_AndOr() argument 26 if (subs) { in VecTaggerGetSubs_AndOr() 27 PetscAssertPointer(subs, 3); in VecTaggerGetSubs_AndOr() 28 *subs = andOr->subs; in VecTaggerGetSubs_AndOr() 33 PetscErrorCode VecTaggerSetSubs_AndOr(VecTagger tagger, PetscInt nsubs, VecTagger *subs, PetscCopyM… in VecTaggerSetSubs_AndOr() argument 40 if (subs) PetscAssertPointer(subs, 3); in VecTaggerSetSubs_AndOr() 41 …if (nsubs == andOr->nsubs && subs == andOr->subs && mode != PETSC_COPY_VALUES) PetscFunctionReturn… in VecTaggerSetSubs_AndOr() 42 if (subs) { in VecTaggerSetSubs_AndOr() [all …]
|
| H A D | or.c | 20 PetscErrorCode VecTaggerOrGetSubs(VecTagger tagger, PetscInt *nsubs, VecTagger *subs[]) in VecTaggerOrGetSubs() argument 23 PetscCall(VecTaggerGetSubs_AndOr(tagger, nsubs, subs)); in VecTaggerOrGetSubs() 42 PetscErrorCode VecTaggerOrSetSubs(VecTagger tagger, PetscInt nsubs, VecTagger subs[], PetscCopyMode… in VecTaggerOrSetSubs() argument 45 PetscCall(VecTaggerSetSubs_AndOr(tagger, nsubs, subs, mode)); in VecTaggerOrSetSubs() 53 VecTagger *subs; in VecTaggerComputeBoxes_Or() local 59 PetscCall(VecTaggerOrGetSubs(tagger, &nsubs, &subs)); in VecTaggerComputeBoxes_Or() 62 PetscCall(VecTaggerComputeBoxes(subs[i], vec, &numSubBoxes[i], &subBoxes[i], &boxlisted)); in VecTaggerComputeBoxes_Or() 110 VecTagger *subs; in VecTaggerComputeIS_Or() local 120 PetscCall(VecTaggerOrGetSubs(tagger, &nsubs, &subs)); in VecTaggerComputeIS_Or() 125 PetscCall(VecTaggerComputeIS(subs[i], vec, &subIS, &boxlisted)); in VecTaggerComputeIS_Or()
|
| H A D | and.c | 20 PetscErrorCode VecTaggerAndGetSubs(VecTagger tagger, PetscInt *nsubs, VecTagger *subs[]) in VecTaggerAndGetSubs() argument 23 PetscCall(VecTaggerGetSubs_AndOr(tagger, nsubs, subs)); in VecTaggerAndGetSubs() 42 PetscErrorCode VecTaggerAndSetSubs(VecTagger tagger, PetscInt nsubs, VecTagger subs[], PetscCopyMod… in VecTaggerAndSetSubs() argument 45 PetscCall(VecTaggerSetSubs_AndOr(tagger, nsubs, subs, mode)); in VecTaggerAndSetSubs() 53 VecTagger *subs; in VecTaggerComputeBoxes_And() local 59 PetscCall(VecTaggerOrGetSubs(tagger, &nsubs, &subs)); in VecTaggerComputeBoxes_And() 62 PetscCall(VecTaggerComputeBoxes(subs[i], vec, &numSubBoxes[i], &subBoxes[i], &sublisted)); in VecTaggerComputeBoxes_And() 130 VecTagger *subs; in VecTaggerComputeIS_And() local 140 PetscCall(VecTaggerOrGetSubs(tagger, &nsubs, &subs)); in VecTaggerComputeIS_And() 145 PetscCall(VecTaggerComputeIS(subs[0], vec, &isectIS, &boxlisted)); in VecTaggerComputeIS_And() [all …]
|
| H A D | andor.h | 6 VecTagger *subs; member
|
| /petsc/src/mat/tests/ |
| H A D | ex202.c | 12 Mat subs[2 * 3], **block; in TestInitialMatrix() local 25 …< (nr * nc); i++) PetscCall(MatCreateSeqDense(PETSC_COMM_WORLD, arow[i], acol[i], NULL, &subs[i])); in TestInitialMatrix() 26 PetscCall(MatCreateNest(PETSC_COMM_WORLD, nr, NULL, nc, NULL, subs, &A)); in TestInitialMatrix() 91 for (i = 0; i < (nr * nc); i++) PetscCall(MatDestroy(&subs[i])); in TestInitialMatrix() 103 Mat subs[2 * 2], **block; in TestReuseMatrix() local 112 …for (i = 0; i < (n * n); i++) PetscCall(MatCreateSeqDense(PETSC_COMM_WORLD, n, n, NULL, &subs[i])); in TestReuseMatrix() 113 PetscCall(MatCreateNest(PETSC_COMM_WORLD, n, NULL, n, NULL, subs, &A)); in TestReuseMatrix() 128 for (i = 0; i < (n * n); i++) PetscCall(MatDestroy(&subs[i])); in TestReuseMatrix()
|
| /petsc/src/vec/is/section/interface/ |
| H A D | section.c | 2027 …cSectionCreateSubsection(PetscSection s, PetscInt len, const PetscInt fields[], PetscSection *subs) in PetscSectionCreateSubsection() argument 2035 PetscAssertPointer(subs, 4); in PetscSectionCreateSubsection() 2038 PetscCall(PetscSectionCreate(PetscObjectComm((PetscObject)s), subs)); in PetscSectionCreateSubsection() 2039 PetscCall(PetscSectionSetNumFields(*subs, len)); in PetscSectionCreateSubsection() 2046 PetscCall(PetscSectionSetFieldName(*subs, f, name)); in PetscSectionCreateSubsection() 2048 PetscCall(PetscSectionSetFieldComponents(*subs, f, numComp)); in PetscSectionCreateSubsection() 2051 PetscCall(PetscSectionSetComponentName(*subs, f, c, name)); in PetscSectionCreateSubsection() 2054 PetscCall(PetscSectionSetFieldSym(*subs, f, sym)); in PetscSectionCreateSubsection() 2057 PetscCall(PetscSectionSetChart(*subs, pStart, pEnd)); in PetscSectionCreateSubsection() 2063 PetscCall(PetscSectionSetFieldDof(*subs, p, f, fdof)); in PetscSectionCreateSubsection() [all …]
|
| /petsc/src/ksp/ksp/tutorials/output/ |
| H A D | ex71_bddc_elast_4lev.out | 57 Local subs : 1 1 170 Local subs : 1 1 289 Local subs : 1 1
|
| H A D | ex71_bddc_elast_3lev.out | 57 Local subs : 1 1 170 Local subs : 1 1
|
| H A D | ex59_bddc_fetidp_ml_2.out | 57 Local subs : 1 1 168 Local subs : 1 1
|
| H A D | ex71_bddc_elast_3lev_alt.out | 57 Local subs : 1 1 170 Local subs : 1 1
|
| H A D | ex59_bddc_fetidp_ml_1.out | 57 Local subs : 1 1 168 Local subs : 1 1
|
| H A D | ex71_bddc_cusparse.out | 57 Local subs : 1 1
|
| H A D | ex71_bddc_elast_deluxe_layers.out | 57 Local subs : 1 1
|
| H A D | ex71_bddc_2.out | 57 Local subs : 1 1
|
| H A D | ex71_bddc_elast.out | 57 Local subs : 1 1
|
| H A D | ex71_bddc_1.out | 57 Local subs : 1 1
|
| H A D | ex59_bddc_fetidp_ml_3.out | 57 Local subs : 1 1
|
| H A D | ex71_fetidp_1.out | 97 Local subs : 1 1
|
| /petsc/src/snes/tutorials/output/ |
| H A D | ex12_p4est_full_q2_nonconformal_parallel_bddcfas.out | 88 Local subs : 1 1 263 Local subs : 1 1 439 Local subs : 1 1
|
| H A D | ex12_p4est_full_q2_nonconformal_parallel_bddcfas_alt.out | 88 Local subs : 1 1 263 Local subs : 1 1 439 Local subs : 1 1
|
| H A D | ex12_quad_bddc.out | 84 Local subs : 1 1
|
| H A D | ex12_p4est_full_q2_nonconformal_parallel_bddc.out | 74 Local subs : 1 1
|
| H A D | ex12_tri_parmetis_bddc.out | 82 Local subs : 1 1
|
| H A D | ex12_tri_bddc.out | 85 Local subs : 1 1
|
| H A D | ex12_p4est_full_q2_nonconformal_parallel_bddc_alt.out | 74 Local subs : 1 1
|