Home
last modified time | relevance | path

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

/petsc/src/ksp/pc/impls/tfs/
H A Divec.c315 PetscInt *pi2, *pj2; in PCTFS_ivec_sort_companion() local
331 pi2 = ar2 + 1; in PCTFS_ivec_sort_companion()
336 SWAP(*pi2, *pj2); in PCTFS_ivec_sort_companion()
344 SWAP(*pi2, *pj2); in PCTFS_ivec_sort_companion()
360 pi2++; in PCTFS_ivec_sort_companion()
372 SWAP(*pi2, *pj2); in PCTFS_ivec_sort_companion()
385 *(top_a++) = pi2; in PCTFS_ivec_sort_companion()
400 for (pi = pj - 1, pi2 = pj2 - 1; pi >= ar; pi--, pi2--) { in PCTFS_ivec_sort_companion()
403 *(pi2 + 1) = *pi2; in PCTFS_ivec_sort_companion()
406 *(pi2 + 1) = temp2; in PCTFS_ivec_sort_companion()
[all …]
/petsc/src/mat/tests/
H A Dex90.c51 PetscInt pi1[] = {0, 1, 3}, pi2[] = {0, 1, 2}; in main() local
64 …PetscCall(MatCreateMPIAIJWithArrays(comm, 2, 1, PETSC_DETERMINE, PETSC_DETERMINE, rank ? pi2 : pi1… in main()
/petsc/src/snes/tutorials/
H A Dex8.c54 const PetscReal pi2 = PETSC_PI * 2; in sins_2d() local
58 *u = (y - 0.5) * PetscSinReal(pi2 * x) + (x - 0.5) * PetscSinReal(pi2 * y); in sins_2d()
H A Dex4.c559 PetscReal pi2 = 2 * PETSC_PI; in FormBoundaryConditions_Sins() local
604 boundary[i] = -0.5 * PetscSinReal(pi2 * xt); in FormBoundaryConditions_Sins()
606 boundary[i] = 0.5 * PetscSinReal(pi2 * xt); in FormBoundaryConditions_Sins()
608 boundary[i] = -0.5 * PetscSinReal(pi2 * yt); in FormBoundaryConditions_Sins()
610 boundary[i] = 0.5 * PetscSinReal(pi2 * yt); in FormBoundaryConditions_Sins()
/petsc/src/dm/dt/interface/
H A Ddt.c2487 mpfr_t pi2, kh, msinh, mcosh, maxTerm, curTerm, tmp; in PetscDTTanhSinhIntegrateMPFR() local
2492 …), alpha, beta, h, sum, osum, psum, yk, wk, lx, rx, tmp, maxTerm, curTerm, pi2, kh, msinh, mcosh, … in PetscDTTanhSinhIntegrateMPFR()
2499 mpfr_const_pi(pi2, MPFR_RNDN); in PetscDTTanhSinhIntegrateMPFR()
2500 mpfr_mul_d(pi2, pi2, 0.5, MPFR_RNDN); in PetscDTTanhSinhIntegrateMPFR()
2504 mpfr_set(sum, pi2, MPFR_RNDN); in PetscDTTanhSinhIntegrateMPFR()
2526 mpfr_mul(msinh, msinh, pi2, MPFR_RNDN); in PetscDTTanhSinhIntegrateMPFR()
2527 mpfr_mul(mcosh, mcosh, pi2, MPFR_RNDN); in PetscDTTanhSinhIntegrateMPFR()
2585 …mpfr_clears(alpha, beta, h, sum, osum, psum, yk, wk, lx, rx, tmp, maxTerm, curTerm, pi2, kh, msinh… in PetscDTTanhSinhIntegrateMPFR()