Searched refs:n_B (Results 1 – 6 of 6) sorted by relevance
| /petsc/src/ksp/pc/impls/is/ |
| H A D | pcis.c | 55 …n_B, PETSC_COMM_SELF, PETSC_ERR_ARG_INCOMP, "Invalid size for scaling vector. Expected %" PetscInt… in PCISSetSubdomainDiagonalScaling_IS() 170 for (i = 0, pcis->n_B = 0, n_I = 0; i < pcis->n; i++) { in PCISSetUp() 175 idx_B_local[pcis->n_B] = i; in PCISSetUp() 176 pcis->n_B++; in PCISSetUp() 183 idx_I_global = PetscSafePointerPlusOffset(idx_B_local, pcis->n_B); in PCISSetUp() 184 PetscCall(ISLocalToGlobalMappingApply(pcis->mapping, pcis->n_B, idx_B_local, idx_B_global)); in PCISSetUp() 188 …PetscCall(ISCreateGeneral(PETSC_COMM_SELF, pcis->n_B, idx_B_local, PETSC_COPY_VALUES, &pcis->is_B_… in PCISSetUp() 189 …PetscCall(ISCreateGeneral(PetscObjectComm((PetscObject)pc), pcis->n_B, idx_B_global, PETSC_COPY_VA… in PCISSetUp() 201 PetscCall(VecSetSizes(pcis->vec1_D, pcis->n - pcis->n_B, PETSC_DECIDE)); in PCISSetUp() 207 PetscCall(VecSetSizes(pcis->vec1_B, pcis->n_B, PETSC_DECIDE)); in PCISSetUp() [all …]
|
| /petsc/include/petsc/private/ |
| H A D | pcisimpl.h | 24 PetscInt n_B; /* number of interface nodes in this subdomain */ member
|
| /petsc/src/ksp/pc/impls/bddc/ |
| H A D | bddcfetidp.c | 243 dual_size = pcis->n_B - n_vertices; in PCBDDCSetupFETIDPMatContext() 459 …tscCall(MatSetSizes(fetidpmat_ctx->B_delta, n_local_lambda, pcis->n_B, n_local_lambda, pcis->n_B)); in PCBDDCSetupFETIDPMatContext() 483 …scCall(MatSetSizes(fetidpmat_ctx->B_Ddelta, n_local_lambda, pcis->n_B, n_local_lambda, pcis->n_B)); in PCBDDCSetupFETIDPMatContext() 502 PetscCall(PetscCalloc1(pcis->n_B, &nnz)); in PCBDDCSetupFETIDPMatContext() 515 PetscCall(MatSetSizes(T, pcis->n_B, pcis->n_B, pcis->n_B, pcis->n_B)); in PCBDDCSetupFETIDPMatContext()
|
| H A D | bddcschurs.c | 394 PetscInt n_B, extra, local_size, global_size; in PCBDDCSubSchursSetUp() local 507 PetscInt n_I, n_B, n_local_dofs, n_prev_added, j, layer, *local_numbering; in PCBDDCSubSchursSetUp() local 512 PetscCall(ISGetLocalSize(sub_schurs->is_B, &n_B)); in PCBDDCSubSchursSetUp() 514 PetscCall(PetscMalloc1(n_I + n_B, &local_numbering)); in PCBDDCSubSchursSetUp() 515 PetscCall(PetscBTCreate(n_I + n_B, &touched)); in PCBDDCSubSchursSetUp() 516 PetscCall(PetscBTMemzero(n_I + n_B, touched)); in PCBDDCSubSchursSetUp() 520 for (j = 0; j < n_B; j++) PetscCall(PetscBTSet(touched, idx_B[j])); in PCBDDCSubSchursSetUp() 521 PetscCall(PetscArraycpy(local_numbering, idx_B, n_B)); in PCBDDCSubSchursSetUp() 525 n_local_dofs = n_B; in PCBDDCSubSchursSetUp() 526 n_prev_added = n_B; in PCBDDCSubSchursSetUp() [all …]
|
| H A D | bddc.c | 202 loc[1] = pcis->n - pcis->n_B; in PCView_BDDC() 203 loc[2] = pcis->n_B; in PCView_BDDC() 1707 PetscInt n_B = pcis->n_B, n_D = pcis->n - n_B; in PCApply_BDDC() local 1799 if (n_B) { in PCApply_BDDC() 1866 PetscInt n_B = pcis->n_B, n_D = pcis->n - n_B; in PCApplyTranspose_BDDC() local 1944 if (n_B) { in PCApplyTranspose_BDDC()
|
| H A D | bddcprivate.c | 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() [all …]
|