Searched refs:Lpj (Results 1 – 2 of 2) sorted by relevance
| /petsc/src/ksp/ksp/tutorials/ |
| H A D | ex59.c | 459 PetscScalar x, z0, z1, z2, Lpj, Lpr, rhoGLj, rhoGLk; in GLLStuffs() local 519 Lpj = z2; in GLLStuffs() 522 glldata->A[j][j] = 2.0 / (3.0 * (1.0 - glldata->zGL[j] * glldata->zGL[j]) * Lpj * Lpj); in GLLStuffs() 533 …glldata->A[r][j] = 4.0 / (p * (p + 1.0) * Lpj * Lpr * (glldata->zGL[j] - glldata->zGL[r]) * (gllda… in GLLStuffs() 546 Lpj = z2; in GLLStuffs() 547 …glldata->A[j][0] = 4.0 * PetscPowRealInt(-1.0, p) / (p * (p + 1.0) * Lpj * (1.0 + glldata->zGL[j])… in GLLStuffs() 559 Lpj = z2; in GLLStuffs() 561 …glldata->A[p][j] = 4.0 / (p * (p + 1.0) * Lpj * (1.0 - glldata->zGL[j]) * (1.0 - glldata->zGL[j])); in GLLStuffs()
|
| /petsc/src/dm/dt/interface/ |
| H A D | dt.c | 2979 PetscReal z0, z1, z2 = -1, x, Lpj, Lpr; in PetscGaussLobattoLegendreElementLaplacianCreate() local 2996 Lpj = z2; in PetscGaussLobattoLegendreElementLaplacianCreate() 2999 A[j][j] = 2. / (3. * (1. - gllnodes[j] * gllnodes[j]) * Lpj * Lpj); in PetscGaussLobattoLegendreElementLaplacianCreate() 3010 …A[r][j] = 4. / (((PetscReal)p) * (((PetscReal)p) + 1.) * Lpj * Lpr * (gllnodes[j] - gllnodes[r]) *… in PetscGaussLobattoLegendreElementLaplacianCreate() 3023 Lpj = z2; in PetscGaussLobattoLegendreElementLaplacianCreate() 3024 …A[j][0] = 4. * PetscPowRealInt(-1., p) / (((PetscReal)p) * (((PetscReal)p) + 1.) * Lpj * (1. + gll… in PetscGaussLobattoLegendreElementLaplacianCreate() 3036 Lpj = z2; in PetscGaussLobattoLegendreElementLaplacianCreate() 3038 …A[p][j] = 4. / (((PetscReal)p) * (((PetscReal)p) + 1.) * Lpj * (1. - gllnodes[j]) * (1. - gllnodes… in PetscGaussLobattoLegendreElementLaplacianCreate()
|