Home
last modified time | relevance | path

Searched refs:osm (Results 1 – 2 of 2) sorted by relevance

/petsc/src/ksp/pc/impls/asm/
H A Dasm.c18 PC_ASM *osm = (PC_ASM *)pc->data; in PCView_ASM() local
31 …if (osm->overlap >= 0) PetscCall(PetscSNPrintf(overlaps, sizeof(overlaps), "amount of overlap = %"… in PCView_ASM()
32 …if (osm->n > 0) PetscCall(PetscSNPrintf(blocks, sizeof(blocks), "total subdomain blocks = %" Petsc… in PCView_ASM()
34 …(PetscViewerASCIIPrintf(viewer, " restriction/interpolation type - %s\n", PCASMTypes[osm->type])); in PCView_ASM()
35 …if (osm->dm_subdomains) PetscCall(PetscViewerASCIIPrintf(viewer, " Additive Schwarz: using DM to … in PCView_ASM()
36osm->loctype != PC_COMPOSITE_ADDITIVE) PetscCall(PetscViewerASCIIPrintf(viewer, " Additive Schwar… in PCView_ASM()
40 if (osm->ksp) { in PCView_ASM()
47 PetscCall(KSPView(osm->ksp[0], sviewer)); in PCView_ASM()
54 …zedPrintf(viewer, " [%d] number of local blocks = %" PetscInt_FMT "\n", rank, osm->n_local_true)); in PCView_ASM()
60 for (i = 0; i < osm->n_local_true; i++) { in PCView_ASM()
[all …]
/petsc/src/ksp/pc/impls/gasm/
H A Dgasm.c41 PC_GASM *osm = (PC_GASM *)pc->data; in PCGASMComputeGlobalSubdomainNumbering_Private() local
46 PetscCall(PetscMalloc2(osm->n, numbering, osm->n, permutation)); in PCGASMComputeGlobalSubdomainNumbering_Private()
47 …bjectsListGetGlobalNumbering(PetscObjectComm((PetscObject)pc), osm->n, (PetscObject *)osm->iis, NU… in PCGASMComputeGlobalSubdomainNumbering_Private()
48 for (i = 0; i < osm->n; ++i) (*permutation)[i] = i; in PCGASMComputeGlobalSubdomainNumbering_Private()
49 PetscCall(PetscSortIntWithPermutation(osm->n, *numbering, *permutation)); in PCGASMComputeGlobalSubdomainNumbering_Private()
55 PC_GASM *osm = (PC_GASM *)pc->data; in PCGASMSubdomainView_Private() local
62osm->n, PetscObjectComm((PetscObject)viewer), PETSC_ERR_ARG_WRONG, "Invalid subdomain %" PetscInt_… in PCGASMSubdomainView_Private()
75 PetscCall(ISGetLocalSize(osm->iis[i], &nidx)); in PCGASMSubdomainView_Private()
78 PetscCall(ISGetIndices(osm->iis[i], &idx)); in PCGASMSubdomainView_Private()
80 PetscCall(ISRestoreIndices(osm->iis[i], &idx)); in PCGASMSubdomainView_Private()
[all …]