Home
last modified time | relevance | path

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

/petsc/src/ksp/pc/impls/bddc/
H A Dbddcprivate.c4298 PetscInt n_eff_vertices, n_eff_constraints; in PCBDDCSetUpCorrection() local
4377 n_eff_constraints = 0; in PCBDDCSetUpCorrection()
4380 n_eff_constraints = PetscMax(n_eff_constraints, count_eff[2 * i + 1]); in PCBDDCSetUpCorrection()
4386 …PetscCall(PetscMalloc2(n_el * n_eff_vertices, &V_eff_to_V, n_el * n_eff_constraints, &C_eff_to_C)); in PCBDDCSetUpCorrection()
4399 C_eff_to_C[e * n_eff_constraints + count_eff[s]] = i; in PCBDDCSetUpCorrection()
4404 PetscCall(PetscMalloc1(n_R * n_eff_constraints, &R_eff_C_J)); in PCBDDCSetUpCorrection()
4406 PetscCall(PetscMalloc1(n_B * n_eff_constraints, &B_eff_C_J)); in PCBDDCSetUpCorrection()
4408 for (PetscInt i = 0; i < n_R * n_eff_constraints; i++) R_eff_C_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()
4419 …j = 0; j < count_eff[s + 1]; j++) R_eff_C_J[i * n_eff_constraints + j] = C_eff_to_C[e * n_eff_cons… in PCBDDCSetUpCorrection()
[all …]