Home
last modified time | relevance | path

Searched refs:primals (Results 1 – 3 of 3) sorted by relevance

/petsc/src/ksp/ksp/tutorials/
H A Dex59.c810 IS primals, dirichletIS = 0, neumannIS = 0, *bddc_dofs_splitting; in ComputeKSPBDDC() local
880 PetscCall(ISCreateGeneral(dd.gcomm, 8, vidx, PETSC_COPY_VALUES, &primals)); in ComputeKSPBDDC()
881 PetscCall(PCBDDCSetPrimalVerticesLocalIS(pc, primals)); in ComputeKSPBDDC()
882 PetscCall(ISDestroy(&primals)); in ComputeKSPBDDC()
/petsc/src/ksp/pc/impls/bddc/
H A Dbddcprivate.c161 IS lned, primals, allprimals, nedfieldlocal, elements_corners = NULL; in PCBDDCNedelecSupport() local
828 PetscCall(ISCreateGeneral(comm, cum, marks, PETSC_COPY_VALUES, &primals)); in PCBDDCNedelecSupport()
830 PetscCall(PetscObjectSetName((PetscObject)primals, "prescribed_primal_dofs")); in PCBDDCNedelecSupport()
831 PetscCall(ISView(primals, NULL)); in PCBDDCNedelecSupport()
835 PetscCall(PCBDDCSetPrimalVerticesLocalIS(pc, primals)); in PCBDDCNedelecSupport()
836 PetscCall(ISDestroy(&primals)); in PCBDDCNedelecSupport()
924 PetscCall(ISGlobalToLocalMappingApplyIS(fl2g, IS_GTOLM_DROP, allprimals, &primals)); in PCBDDCNedelecSupport()
929 primals = allprimals; in PCBDDCNedelecSupport()
934 PetscCall(ISGetLocalSize(primals, &cum)); in PCBDDCNedelecSupport()
935 PetscCall(ISGetIndices(primals, &idxs)); in PCBDDCNedelecSupport()
[all …]
H A Dbddc.c2579 IS primals; in PCBDDCCreateFETIDPOperators_BDDC() local
2581 PetscCall(MatISSubMatrixEmbedLocalIS(M, pcbddc->user_primal_vertices_local, &primals)); in PCBDDCCreateFETIDPOperators_BDDC()
2582 PetscCall(PCBDDCSetPrimalVerticesLocalIS(bddcipc_ctx->bddc, primals)); in PCBDDCCreateFETIDPOperators_BDDC()
2583 PetscCall(ISDestroy(&primals)); in PCBDDCCreateFETIDPOperators_BDDC()