Home
last modified time | relevance | path

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

/petsc/src/ksp/pc/impls/bddc/
H A Dbddcscalingbasic.c407 PetscInt n_com, n_dir; in PCBDDCScalingSetUp_Deluxe() local
410 n_dir = 0; in PCBDDCScalingSetUp_Deluxe()
411 if (sub_schurs->is_dir) PetscCall(ISGetLocalSize(sub_schurs->is_dir, &n_dir)); in PCBDDCScalingSetUp_Deluxe()
413 deluxe_ctx->n_simple = n_dir + n_com; in PCBDDCScalingSetUp_Deluxe()
424 if (n_dir) { in PCBDDCScalingSetUp_Deluxe()
429 …PetscCall(ISGlobalToLocalMappingApply(pcis->BtoNmap, IS_GTOLM_DROP, n_dir, idxs, &nmap, deluxe_ctx… in PCBDDCScalingSetUp_Deluxe()
430n_dir, PETSC_COMM_SELF, PETSC_ERR_PLIB, "Error when mapping simply scaled dofs (sub_schurs->is_di… in PCBDDCScalingSetUp_Deluxe()
435n_dir + n_com, PETSC_COMM_SELF, PETSC_ERR_PLIB, "Number of simply scaled dofs %" PetscInt_FMT " is… in PCBDDCScalingSetUp_Deluxe()
H A Dbddcschurs.c886 PetscInt n_dir; in PCBDDCSubSchursSetUp() local
888 PetscCall(ISGetLocalSize(sub_schurs->is_dir, &n_dir)); in PCBDDCSubSchursSetUp()
890 PetscCall(PetscArraycpy(all_local_idx_N + cum, idxs, n_dir)); in PCBDDCSubSchursSetUp()
892 for (PetscInt j = 0; j < n_dir; j++) all_local_subid_N[j + cum] = local_subs[idxs[j]]; in PCBDDCSubSchursSetUp()
894 cum += n_dir; in PCBDDCSubSchursSetUp()