Lines Matching refs:n_B

2277     PetscCall(MatSetSizes(A_IB, pcis->n - pcis->n_B, pcis->n_B, PETSC_DECIDE, PETSC_DECIDE));  in PCBDDCBenignShellMat()
2742 for (i = 0; i < pcis->n_B; i++) vals[i] = 0.; in PCBDDCBenignCheck()
2743 PetscCall(VecSetValues(pcis->vec2_N, pcis->n_B, idxs, vals, INSERT_VALUES)); in PCBDDCBenignCheck()
2768 for (i = 0; i < pcis->n_B; i++) count[idxs[i]]++; in PCBDDCBenignCheck()
4299 PetscInt i, n_R, n_D, n_B; in PCBDDCSetUpCorrection() local
4317 n_B = pcis->n_B; in PCBDDCSetUpCorrection()
4318 n_D = pcis->n - n_B; in PCBDDCSetUpCorrection()
4405 PetscCall(PetscMalloc1(n_B * n_eff_vertices, &B_eff_V_J)); in PCBDDCSetUpCorrection()
4406 PetscCall(PetscMalloc1(n_B * n_eff_constraints, &B_eff_C_J)); in PCBDDCSetUpCorrection()
4409 for (PetscInt i = 0; i < n_B * n_eff_vertices; i++) B_eff_V_J[i] = -1; in PCBDDCSetUpCorrection()
4410 for (PetscInt i = 0; i < n_B * n_eff_constraints; i++) B_eff_C_J[i] = -1; in PCBDDCSetUpCorrection()
4423 for (PetscInt i = 0; i < n_B; i++) { in PCBDDCSetUpCorrection()
4604 …PetscCall(MatCreateSeqDense(PETSC_COMM_SELF, n_B, n_eff_constraints, NULL, &pcbddc->local_auxmat2)… in PCBDDCSetUpCorrection()
4702 …_n; i++) PetscCall(PetscFindInt(pcbddc->benign_p0_lidx[i], pcis->n - pcis->n_B, idxs, &p0_lidx_I[i… in PCBDDCSetUpCorrection()
4714 …PetscCall(MatCreateSeqDense(PETSC_COMM_SELF, n_B, pcbddc->local_primal_size, NULL, &pcbddc->coarse… in PCBDDCSetUpCorrection()
4910 PetscCall(MatCreateSeqDense(PETSC_COMM_SELF, n_B, n_eff_vertices, NULL, &B)); in PCBDDCSetUpCorrection()
5194 …PetscCall(MatCreateSeqDense(PETSC_COMM_SELF, n_B, pcbddc->local_primal_size, NULL, &pcbddc->coarse… in PCBDDCSetUpCorrection()
5354 …PetscCall(MatCreateSeqDense(PETSC_COMM_SELF, pcis->n_B, pcbddc->local_primal_size - pcbddc->benign… in PCBDDCSetUpCorrection()
5714 PetscInt n_vertices, i, j, n_R, n_D, n_B; in PCBDDCSetUpLocalScatters() local
5733 n_B = pcis->n_B; in PCBDDCSetUpLocalScatters()
5734 n_D = pcis->n - n_B; in PCBDDCSetUpLocalScatters()
5809 …T ", dirichlet_size = %" PetscInt_FMT ", boundary_size = %" PetscInt_FMT "\n", pcis->n, n_D, n_B)); in PCBDDCSetUpLocalScatters()
5821 PetscCall(PetscMalloc1(pcis->n_B - n_vertices, &aux_array1)); in PCBDDCSetUpLocalScatters()
5822 PetscCall(PetscMalloc1(pcis->n_B - n_vertices, &aux_array2)); in PCBDDCSetUpLocalScatters()
5831 for (i = 0, j = 0; i < n_B; i++) { in PCBDDCSetUpLocalScatters()
6004 n_D = pcis->n - pcis->n_B; in PCBDDCSetUpLocalSolvers()
7173 PetscCall(PetscBTCreate(pcis->n_B, &is_primal)); in PCBDDCConstraintsSetUp()
9383 pcisf->n_B = pcis->n_B; in PCBDDCComputeFakeChange()