Home
last modified time | relevance | path

Searched refs:subset (Results 1 – 25 of 79) sorted by relevance

1234

/petsc/src/dm/dt/interface/
H A Ddtaltv.c104 PetscInt *subset, *perm; in PetscDTAltVApply() local
110 PetscCall(PetscMalloc2(k, &subset, k, &perm)); in PetscDTAltVApply()
114 PetscCall(PetscDTEnumSubset(N, k, i, subset)); in PetscDTAltVApply()
121 for (l = 0; l < k; l++) prod *= v[perm[l] * N + subset[l]]; in PetscDTAltVApply()
126 PetscCall(PetscFree2(subset, perm)); in PetscDTAltVApply()
182 PetscInt *subset, *subsetjk, *subsetj, *subsetk; in PetscDTAltVWedge() local
187 PetscCall(PetscMalloc4(j + k, &subset, j + k, &subsetjk, j, &subsetj, k, &subsetk)); in PetscDTAltVWedge()
192 PetscCall(PetscDTEnumSubset(N, j + k, i, subset)); in PetscDTAltVWedge()
198 for (m = 0; m < j; m++) subsetj[m] = subset[subsetjk[m]]; in PetscDTAltVWedge()
199 for (m = 0; m < k; m++) subsetk[m] = subset[subsetjk[j + m]]; in PetscDTAltVWedge()
[all …]
/petsc/src/dm/dt/tests/output/
H A Dex7_1234.out6 subset 0: |, even
29 subset 0: | 0, even
52 subset 0: 0 |, even
91 subset 0: | 0 1, even
121 subset 0: 0 | 1, even
122 subset 1: 1 | 0, odd
189 subset 0: 0 1 |, even
233 subset 0: | 0 1 2, even
272 subset 0: 0 | 1 2, even
273 subset 1: 1 | 0 2, odd
[all …]
/petsc/src/vec/vec/tests/
H A Dex29.c11 PetscBool inv = PETSC_FALSE, subset = PETSC_FALSE, flg; in main() local
20 PetscCall(PetscOptionsGetBool(NULL, NULL, "-subset", &subset, NULL)); in main()
30 if (subset) PetscCall(VecSetOption(x, VEC_SUBSET_OFF_PROC_ENTRIES, PETSC_TRUE)); in main()
50 if (subset) PetscCall(VecSetOption(x, VEC_SUBSET_OFF_PROC_ENTRIES, PETSC_TRUE)); in main()
/petsc/src/ksp/pc/impls/bddc/
H A Dbddcgraph.c128 …SynchronizedPrintf(viewer, " interface subset id: %" PetscInt_FMT "\n", graph->nodes[i].subset)); in PCBDDCGraphASCIIView()
129subset && graph->subset_ncc) PetscCall(PetscViewerASCIISynchronizedPrintf(viewer, " ncc for subs… in PCBDDCGraphASCIIView()
594 if (!nodes[dof].touched && nodes[dof].subset == pid) { in PCBDDCGraphComputeCC_Private()
604 if (!nodes[dof].touched && nodes[dof].subset == pid) { in PCBDDCGraphComputeCC_Private()
623 if (!nodes[dof].touched && nodes[dof].subset == pid && local_subs[dof] == sid) { in PCBDDCGraphComputeCC_Private()
633 if (!nodes[dof].touched && nodes[dof].subset == pid && local_subs[dof] == sid) { in PCBDDCGraphComputeCC_Private()
647 if (!nodes[dof].touched && nodes[dof].subset == pid && local_subs[dof] == sid) { in PCBDDCGraphComputeCC_Private()
657 if (!nodes[dof].touched && nodes[dof].subset == pid) { in PCBDDCGraphComputeCC_Private()
729 IS subset; in PCBDDCGraphSetUp() local
893 graph->nodes[is_indices[i]].subset = 0; in PCBDDCGraphSetUp()
[all …]
/petsc/src/vec/is/is/interface/
H A Dindex.c34 PetscErrorCode ISRenumber(IS subset, IS subset_mult, PetscInt *N, IS *subset_n) in ISRenumber() argument
46 PetscValidHeaderSpecific(subset, IS_CLASSID, 1); in ISRenumber()
50 PetscCall(ISGetLocalSize(subset, &n)); in ISRenumber()
58 PetscCall(ISGetIndices(subset, &idxs)); in ISRenumber()
59 PetscCall(ISGetBlockSize(subset, &ibs)); in ISRenumber()
60 PetscCall(PetscObjectTypeCompare((PetscObject)subset, ISBLOCK, &isblock)); in ISRenumber()
90 PetscCall(PetscGlobalMinMaxInt(PetscObjectComm((PetscObject)subset), lbounds, gbounds)); in ISRenumber()
95 …PetscCall(ISCreateGeneral(PetscObjectComm((PetscObject)subset), n_n, gidxs, PETSC_COPY_VALUES, sub… in ISRenumber()
99 PetscCall(ISRestoreIndices(subset, &idxs)); in ISRenumber()
108 PetscCall(PetscLayoutCreate(PetscObjectComm((PetscObject)subset), &map)); in ISRenumber()
[all …]
/petsc/src/dm/tutorials/output/
H A Dex22_1.out42 subset MPI subcomm size is : 1, includes global rank : 0
/petsc/src/ts/tutorials/optimal_control/output/
H A Dex1_3.out29 Active Set subset type: subvec
69 Active Set subset type: subvec
H A Dex1_2.out29 Active Set subset type: subvec
71 Active Set subset type: subvec
/petsc/src/dm/dt/tests/
H A Dex7.c135 PetscInt *subset; in main() local
143 PetscCall(PetscMalloc1(N, &subset)); in main()
149 PetscCall(PetscDTEnumSplit(N, k, j, subset, &isOdd)); in main()
150 PetscCall(PetscDTPermIndex(N, subset, &kCheck, &isOddCheck)); in main()
156 … for (l = 0; l < k; l++) PetscCall(PetscPrintf(PETSC_COMM_WORLD, " %" PetscInt_FMT, subset[l])); in main()
158 … for (l = k; l < N; l++) PetscCall(PetscPrintf(PETSC_COMM_WORLD, " %" PetscInt_FMT, subset[l])); in main()
161 PetscCall(PetscDTSubsetIndex(N, k, subset, &jCheck)); in main()
165 PetscCall(PetscFree(subset)); in main()
/petsc/src/tao/bound/tutorials/output/
H A Dplate2_20_alt.out29 Active Set subset type: subvec
89 Active Set subset type: subvec
H A Dplate2_20.out29 Active Set subset type: subvec
89 Active Set subset type: subvec
H A Dplate2_10.out28 Active Set subset type: subvec
91 Active Set subset type: subvec
H A Dplate2_12.out29 Active Set subset type: subvec
92 Active Set subset type: subvec
H A Dplate2_11.out29 Active Set subset type: subvec
92 Active Set subset type: subvec
H A Dplate2_18.out28 Active Set subset type: subvec
88 Active Set subset type: subvec
H A Dplate2_19.out29 Active Set subset type: subvec
89 Active Set subset type: subvec
H A Djbearing2_18.out41 Active Set subset type: subvec
106 Active Set subset type: subvec
H A Djbearing2_17.out41 Active Set subset type: subvec
110 Active Set subset type: subvec
H A Dplate2_15.out53 Active Set subset type: subvec
117 Active Set subset type: subvec
H A Dplate2_17.out46 Active Set subset type: subvec
124 Active Set subset type: subvec
H A Dplate2_16.out46 Active Set subset type: subvec
121 Active Set subset type: subvec
H A Dplate2_14.out53 Active Set subset type: subvec
117 Active Set subset type: subvec
/petsc/src/mat/tests/output/
H A Dex2_2.out49 B(a subset of A):
/petsc/include/
H A Dpetscdt.h456 static inline PetscErrorCode PetscDTEnumSubset(PetscInt n, PetscInt k, PetscInt j, PetscInt *subset) in PetscDTEnumSubset() argument
467 subset[l++] = i; in PetscDTEnumSubset()
496 static inline PetscErrorCode PetscDTSubsetIndex(PetscInt n, PetscInt k, const PetscInt *subset, Pet… in PetscDTSubsetIndex() argument
507 if (subset[l] == i) { in PetscDTSubsetIndex()
/petsc/src/binding/petsc4py/docs/source/
H A Dindex.rst23 This package provides an important subset of PETSc functionalities

1234