| /petsc/src/ts/impls/implicit/alpha/ |
| H A D | alpha2.c | 67 TS_Alpha *th = (TS_Alpha *)ts->data; in TSAlpha2SetPredictor() local 70 th->predictor = predictor; in TSAlpha2SetPredictor() 71 th->predictor_ctx = ctx; in TSAlpha2SetPredictor() 78 TS_Alpha *th = (TS_Alpha *)ts->data; in TSAlpha_ApplyPredictor() local 81 if (th->predictor) PetscCall(th->predictor(ts, th->X0, th->V0, th->A0, X1, th->predictor_ctx)); in TSAlpha_ApplyPredictor() 82 else PetscCall(VecCopy(th->X0, X1)); in TSAlpha_ApplyPredictor() 88 TS_Alpha *th = (TS_Alpha *)ts->data; in TSAlpha_StageTime() local 91 PetscReal Alpha_m = th->Alpha_m; in TSAlpha_StageTime() 92 PetscReal Alpha_f = th->Alpha_f; in TSAlpha_StageTime() 93 PetscReal Gamma = th->Gamma; in TSAlpha_StageTime() [all …]
|
| H A D | alpha1.c | 39 TS_Alpha *th = (TS_Alpha *)ts->data; in TSResizeRegister_Alpha() local 43 PetscCall(TSResizeRegisterVec(ts, "ts:theta:sol_prev", th->vec_sol_prev)); in TSResizeRegister_Alpha() 44 PetscCall(TSResizeRegisterVec(ts, "ts:theta:X0", th->X0)); in TSResizeRegister_Alpha() 46 PetscCall(TSResizeRetrieveVec(ts, "ts:theta:sol_prev", &th->vec_sol_prev)); in TSResizeRegister_Alpha() 47 PetscCall(PetscObjectReference((PetscObject)th->vec_sol_prev)); in TSResizeRegister_Alpha() 48 PetscCall(TSResizeRetrieveVec(ts, "ts:theta:X0", &th->X0)); in TSResizeRegister_Alpha() 49 PetscCall(PetscObjectReference((PetscObject)th->X0)); in TSResizeRegister_Alpha() 56 TS_Alpha *th = (TS_Alpha *)ts->data; in TSAlpha_StageTime() local 59 PetscReal Alpha_m = th->Alpha_m; in TSAlpha_StageTime() 60 PetscReal Alpha_f = th->Alpha_f; in TSAlpha_StageTime() [all …]
|
| /petsc/src/ts/impls/implicit/theta/ |
| H A D | theta.c | 47 TS_Theta *th = (TS_Theta *)ts->data; in TSThetaGetX0AndXdot() local 56 else *Xdot = th->Xdot; in TSThetaGetX0AndXdot() 124 TS_Theta *th = (TS_Theta *)ts->data; in TSThetaEvaluateCostIntegral() local 128 if (th->endpoint) { in TSThetaEvaluateCostIntegral() 130 if (th->Theta != 1.0) { in TSThetaEvaluateCostIntegral() 131 PetscCall(TSComputeRHSFunction(quadts, th->ptime0, th->X0, ts->vec_costintegrand)); in TSThetaEvaluateCostIntegral() 132 … PetscCall(VecAXPY(quadts->vec_sol, th->time_step0 * (1.0 - th->Theta), ts->vec_costintegrand)); in TSThetaEvaluateCostIntegral() 135 PetscCall(VecAXPY(quadts->vec_sol, th->time_step0 * th->Theta, ts->vec_costintegrand)); in TSThetaEvaluateCostIntegral() 137 PetscCall(TSComputeRHSFunction(quadts, th->stage_time, th->X, ts->vec_costintegrand)); in TSThetaEvaluateCostIntegral() 138 PetscCall(VecAXPY(quadts->vec_sol, th->time_step0, ts->vec_costintegrand)); in TSThetaEvaluateCostIntegral() [all …]
|
| /petsc/src/dm/impls/da/tests/output/ |
| H A D | ex1_0.out | 1 [0] p 0 (+0.4619,+0.1913) r=0.50 th=0.125*pi cellid=0 2 [0] p 0 (+0.1913,+0.4619) r=0.50 th=0.375*pi cellid=0 3 [0] p 0 (-0.1913,+0.4619) r=0.50 th=0.625*pi cellid=0 4 [0] p 0 (-0.4619,+0.1913) r=0.50 th=0.875*pi cellid=0 5 [0] p 0 (-0.4619,-0.1913) r=0.50 th=-0.875*pi cellid=0 6 [0] p 0 (-0.1913,-0.4619) r=0.50 th=-0.625*pi cellid=0 7 [0] p 0 (+0.1913,-0.4619) r=0.50 th=-0.375*pi cellid=0 8 [0] p 0 (+0.4619,-0.1913) r=0.50 th=-0.125*pi cellid=0 12 [0] p 0 (+0.4619,+0.1913) r=0.50 th=0.125*pi cellid=5 13 [0] p 0 (+0.1913,+0.4619) r=0.50 th=0.375*pi cellid=7 [all …]
|
| /petsc/src/sys/classes/draw/interface/ |
| H A D | dtext.c | 50 PetscReal tw, th; in PetscDrawStringVertical() local 58 PetscCall(PetscDrawStringGetSize(draw, &tw, &th)); in PetscDrawStringVertical() 59 …for (int i = 0; (chr[0] = text[i]); i++) PetscCall(PetscDrawString(draw, xl, yl - th * ((PetscReal… in PetscDrawStringVertical() 84 PetscReal tw, th; in PetscDrawStringCentered() local 90 PetscCall(PetscDrawStringGetSize(draw, &tw, &th)); in PetscDrawStringCentered() 121 PetscReal top, left, right, bottom, tw, th; in PetscDrawStringBoxed() local 141 PetscCall(PetscDrawStringGetSize(draw, &tw, &th)); in PetscDrawStringBoxed() 146 bottom = syl - (1.0 + (PetscReal)cnt) * th; in PetscDrawStringBoxed() 162 …for (i = 0; i < cnt; i++) PetscCall(PetscDrawString(draw, left + tw, top - (1.5 + i) * th, sc, arr… in PetscDrawStringBoxed()
|
| /petsc/src/ksp/ksp/tests/output/ |
| H A D | ex63_2.out | 3 ../ex63 : Warning, the 5th option '-ksp_monitor' was not recognized (use --help)! 5 ../ex63 : Warning, the 6th option '-pc_type' was not recognized (use --help)! 7 ../ex63 : Warning, the 7th option 'lu' was not recognized (use --help)! 9 ../ex63 : Warning, the 8th option '-pc_factor_mat_solver_type' was not recognized (use --help)! 11 ../ex63 : Warning, the 9th option 'superlu_dist' was not recognized (use --help)! 13 ../ex63 : Warning, the 10th option '-ksp_view' was not recognized (use --help)! 15 ../ex63 : Warning, the 11th option '-ksp_converged_reason' was not recognized (use --help)!
|
| H A D | ex63_2_alt.out | 3 ../ex63 : Warning, the 5th option '-ksp_monitor' was not recognized (use --help)! 5 ../ex63 : Warning, the 6th option '-pc_type' was not recognized (use --help)! 7 ../ex63 : Warning, the 7th option 'lu' was not recognized (use --help)! 9 ../ex63 : Warning, the 8th option '-pc_factor_mat_solver_type' was not recognized (use --help)! 11 ../ex63 : Warning, the 9th option 'superlu_dist' was not recognized (use --help)! 13 ../ex63 : Warning, the 10th option '-ksp_view' was not recognized (use --help)! 15 ../ex63 : Warning, the 11th option '-ksp_converged_reason' was not recognized (use --help)!
|
| /petsc/src/sys/classes/draw/utils/ |
| H A D | axisc.c | 253 PetscReal coors[4] = {0, 0, 0, 0}, tickloc[PETSC_DRAW_AXIS_MAX_SEGMENTS], sep, tw, th; in PetscDrawAxisDraw() local 284 PetscCall(PetscDrawStringGetSize(draw, &tw, &th)); in PetscDrawAxisDraw() 286 if (axis->xlabelstr) dyl += 1.5 * th; in PetscDrawAxisDraw() 287 if (axis->xlabel) dyl += 1.5 * th; in PetscDrawAxisDraw() 293 if (axis->ylabelstr) dyr = 0.5 * th; in PetscDrawAxisDraw() 294 if (axis->toplabel) dyr = 1.5 * th; in PetscDrawAxisDraw() 298 dyl += 0.2 * th; in PetscDrawAxisDraw() 299 dyr += 0.2 * th; in PetscDrawAxisDraw() 306 PetscCall(PetscDrawStringGetSize(draw, &tw, &th)); in PetscDrawAxisDraw() 316 PetscReal x = (axis->xlow + axis->xhigh) / 2, y = axis->yhigh + 0.5 * th; in PetscDrawAxisDraw() [all …]
|
| H A D | lgc.c | 510 PetscReal xl, yl, xr, yr, tw, th; in PetscDrawLGDraw() local 514 PetscCall(PetscDrawStringGetSize(draw, &tw, &th)); in PetscDrawLGDraw() 526 yr = yr - 1.0 * th; in PetscDrawLGDraw() 527 yl = yr - (dim + 1) * th; in PetscDrawLGDraw() 534 …PetscCall(PetscDrawLine(draw, xl + 1 * tw, yr - (i + 1) * th, xl + 5 * tw, yr - (i + 1) * th, cl)); in PetscDrawLGDraw() 535 …PetscCall(PetscDrawString(draw, xl + 6 * tw, yr - (i + 1.5) * th, PETSC_DRAW_BLACK, lg->legend[i])… in PetscDrawLGDraw()
|
| /petsc/lib/petsc/bin/maint/abi-compliance-checker/modules/Internals/Styles/ |
| H A D | CmpSystems.css | 23 table.summary tr, table.summary td, table.summary th, table.legend td 32 table.summary th { 47 table.summary td.ver, table.summary th.ver { 76 th.severity {
|
| H A D | Report.css | 127 table.ptable th.pn { 130 table.ptable th.chg { 147 table.ptable th, table.vtable th { 163 table.summary th {
|
| H A D | HeadersDiff.css | 26 .diff_tbl th { 49 .stats, .stats td, .stats th { background-color: #EEE; padding: 2px 0; }
|
| /petsc/src/dm/impls/da/tests/ |
| H A D | ex1.c | 26 const PetscReal th = PetscAtan2Real(array[2 * p + 1], array[2 * p]) / PETSC_PI; in DMSwarmPrint() local 28 … pidArray[p], (double)array[2 * p], (double)array[2 * p + 1], (double)r, (double)th, cidArray[p])); in DMSwarmPrint() 69 const PetscReal th = (p + 0.5) * 2. * PETSC_PI / Np; in main() local 71 coords[p * 2 + 0] = r * PetscCosReal(th); in main() 72 coords[p * 2 + 1] = r * PetscSinReal(th); in main()
|
| /petsc/src/sys/tests/output/ |
| H A D | ex35_1.out | 50 4th test 73 5th test
|
| /petsc/src/ts/tutorials/ |
| H A D | ex34.c | 20 PetscScalar u, v, th; member 55 …qr(user->gammaTilde) * u[i].u + (PetscSqr(user->gamma) / user->xi) * (u[i].th + PetscLogScalar(u[i… in FormRHSFunction() 56 f[i].th = -hx * (u[i].v + 1) * (u[i].th + (1 + user->epsilon) * PetscLogScalar(u[i].v + 1)); in FormRHSFunction() 91 f[i].th = hx * udot[i].th; in FormIFunction() 96 f[i].th = hx * udot[i].th; in FormIFunction() 101 f[i].th = hx * udot[i].th; in FormIFunction() 200 u[i].th = 0.0; in FormInitialSolution()
|
| /petsc/src/ts/tutorials/advection-diffusion-reaction/ |
| H A D | ex2.c | 36 PetscReal th = t / 3600.0; in k1() local 37 PetscReal barth = th - 24.0 * PetscFloorReal(th / 24.0); in k1() 38 if (((((PetscInt)th) % 24) < 4) || ((((PetscInt)th) % 24) >= 20)) return 1.0e-40; in k1()
|
| /petsc/src/mat/tests/output/ |
| H A D | ex120_4.out | 1 LAPACKsygv: compute 1 to 7-th eigensolutions...
|
| H A D | ex120_2.out | 1 LAPACKsyevx: compute 1 to 7-th eigensolutions...
|
| H A D | ex116_1.out | 1 LAPACKsyevx: compute 1 to 7-th eigensolutions...
|
| /petsc/src/tao/leastsquares/tutorials/matlab/more_wild_probs/ |
| H A D | dfovec.m | 103 th = atan(x(2)/x(1))/(2*pi); variable 105 th = atan(x(2)/x(1))/(2*pi) + .5; variable 107 th = .25; variable 110 fvec(1) = 10*(x(3) - 10*th); 189 th = t*t2 - t1; variable 191 t2 = th;
|
| /petsc/src/ksp/ksp/tutorials/ |
| H A D | ex54f.F90 | 311 PetscReal s, t, xsj, xsj1, sh, th, sp, tp, sm 317 th = 0.5*t 319 tp = 0.5 + th 321 tm = 0.5 - th
|
| /petsc/src/sys/classes/draw/impls/image/ |
| H A D | drawimage.h | 340 int i, j, k, tw = PetscImageFontWidth, th = PetscImageFontHeight; in PetscImageDrawText() local 341 for (i = 0; i < th; i++) { in PetscImageDrawText() 345 …Bitmap[chr - 32][i] & (1 << (tw - 1 - j))) PetscImageDrawPixel(img, x + j + k * tw, y + i - th, c); in PetscImageDrawText()
|
| /petsc/doc/changes/ |
| H A D | 33.md | 85 the 9-th and 10-th argument have been swapped: the 9-th outputs 86 the inner subdomains, the 10-th outputs the outer subdomains.
|
| /petsc/doc/miscellaneous/ |
| H A D | prizes.md | 5 - Selected by the DOE Office of Science for the 40th anniversary collection of 40 major 37 - Mark Adams, Best Student Paper Competition, 5th Copper Mountain Conference on Iterative
|
| /petsc/src/snes/tutorials/ |
| H A D | ex30.c | 310 PetscScalar st, ct, th, c = param->c, d = param->d; in HorizVelocity() local 318 th = PetscAtanReal(z / x); in HorizVelocity() 319 return ct * (c * th * st + d * (st + th * ct)) + st * (c * (st - th * ct) + d * th * st); in HorizVelocity() 327 PetscScalar st, ct, th, c = param->c, d = param->d; in VertVelocity() local 335 th = PetscAtanReal(z / x); in VertVelocity() 336 return st * (c * th * st + d * (st + th * ct)) - ct * (c * (st - th * ct) + d * th * st); in VertVelocity()
|