Home
last modified time | relevance | path

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

/petsc/src/ksp/pc/impls/bddc/
H A Dbddcprivate.c4070 PetscInt n_constraints, n_R, old_size; in PCBDDCSetUpLocalWorkVectors() local
4074 n_R = pcis->n - pcbddc->n_vertices; in PCBDDCSetUpLocalWorkVectors()
4080 if (n_R != old_size) { in PCBDDCSetUpLocalWorkVectors()
4084 PetscCall(VecSetSizes(pcbddc->vec1_R, PETSC_DECIDE, n_R)); in PCBDDCSetUpLocalWorkVectors()
4299 PetscInt i, n_R, n_D, n_B; in PCBDDCSetUpCorrection() local
4319 n_R = pcis->n - n_vertices; in PCBDDCSetUpCorrection()
4403 PetscCall(PetscMalloc1(n_R * n_eff_vertices, &R_eff_V_J)); in PCBDDCSetUpCorrection()
4404 PetscCall(PetscMalloc1(n_R * n_eff_constraints, &R_eff_C_J)); in PCBDDCSetUpCorrection()
4407 for (PetscInt i = 0; i < n_R * n_eff_vertices; i++) R_eff_V_J[i] = -1; in PCBDDCSetUpCorrection()
4408 for (PetscInt i = 0; i < n_R * n_eff_constraints; i++) R_eff_C_J[i] = -1; in PCBDDCSetUpCorrection()
[all …]
H A Dbddcschurs.c1344 PetscInt n_R; in PCBDDCSubSchursSetUp() local
1415 PetscCall(ISGetLocalSize(msolv_ctx->is_R, &n_R)); in PCBDDCSubSchursSetUp()
1416 PetscCall(MatCreateSeqAIJ(PETSC_COMM_SELF, n_R, n_R, 0, NULL, &Afake)); in PCBDDCSubSchursSetUp()
/petsc/src/ts/tutorials/
H A Dex10.c205 RDNode n_L, nx_L, n_R, nx_R, dD_L, dxD_L, dD_R, dxD_R, dfluxL[2], dfluxR[2]; in RDDiffusion() local
219 n_R.E = 0.5 * (x[i].E + x[i + 1].E); in RDDiffusion()
220 n_R.T = 0.5 * (x[i].T + x[i + 1].T); in RDDiffusion()
223 RDDiffusionCoefficient(rd, PETSC_TRUE, &n_R, &nx_R, &D_R, &dD_R, &dxD_R); in RDDiffusion()