| /petsc/src/mat/impls/baij/seq/ |
| H A D | baijfact13.c | 21 MatScalar p5, p6, p7, p8, p9, x5, x6, x7, x8, x9; in MatILUFactorNumeric_SeqBAIJ_3_inplace() local 68 p5 = pc[4]; in MatILUFactorNumeric_SeqBAIJ_3_inplace() 73 …if (p1 != 0.0 || p2 != 0.0 || p3 != 0.0 || p4 != 0.0 || p5 != 0.0 || p6 != 0.0 || p7 != 0.0 || p8 … in MatILUFactorNumeric_SeqBAIJ_3_inplace() 86 pc[1] = m2 = p2 * x1 + p5 * x2 + p8 * x3; in MatILUFactorNumeric_SeqBAIJ_3_inplace() 90 pc[4] = m5 = p2 * x4 + p5 * x5 + p8 * x6; in MatILUFactorNumeric_SeqBAIJ_3_inplace() 94 pc[7] = m8 = p2 * x7 + p5 * x8 + p8 * x9; in MatILUFactorNumeric_SeqBAIJ_3_inplace() 281 MatScalar p5, p6, p7, p8, p9, x5, x6, x7, x8, x9; in MatILUFactorNumeric_SeqBAIJ_3_NaturalOrdering_inplace() local 325 p5 = pc[4]; in MatILUFactorNumeric_SeqBAIJ_3_NaturalOrdering_inplace() 330 …if (p1 != 0.0 || p2 != 0.0 || p3 != 0.0 || p4 != 0.0 || p5 != 0.0 || p6 != 0.0 || p7 != 0.0 || p8 … in MatILUFactorNumeric_SeqBAIJ_3_NaturalOrdering_inplace() 343 pc[1] = m2 = p2 * x1 + p5 * x2 + p8 * x3; in MatILUFactorNumeric_SeqBAIJ_3_NaturalOrdering_inplace() [all …]
|
| H A D | baijfact11.c | 21 MatScalar p5, p6, p7, p8, p9, x5, x6, x7, x8, x9, x10, x11, x12, x13, x14, x15, x16; in MatILUFactorNumeric_SeqBAIJ_4_inplace() local 79 p5 = pc[4]; in MatILUFactorNumeric_SeqBAIJ_4_inplace() 91 …if (p1 != 0.0 || p2 != 0.0 || p3 != 0.0 || p4 != 0.0 || p5 != 0.0 || p6 != 0.0 || p7 != 0.0 || p8 … in MatILUFactorNumeric_SeqBAIJ_4_inplace() 110 pc[0] = m1 = p1 * x1 + p5 * x2 + p9 * x3 + p13 * x4; in MatILUFactorNumeric_SeqBAIJ_4_inplace() 115 pc[4] = m5 = p1 * x5 + p5 * x6 + p9 * x7 + p13 * x8; in MatILUFactorNumeric_SeqBAIJ_4_inplace() 120 pc[8] = m9 = p1 * x9 + p5 * x10 + p9 * x11 + p13 * x12; in MatILUFactorNumeric_SeqBAIJ_4_inplace() 125 pc[12] = m13 = p1 * x13 + p5 * x14 + p9 * x15 + p13 * x16; in MatILUFactorNumeric_SeqBAIJ_4_inplace() 352 MatScalar p5, p6, p7, p8, p9, x5, x6, x7, x8, x9, x10, x11, x12, x13, x14, x15, x16; in MatILUFactorNumeric_SeqBAIJ_4_NaturalOrdering_inplace() local 407 p5 = pc[4]; in MatILUFactorNumeric_SeqBAIJ_4_NaturalOrdering_inplace() 419 …if (p1 != 0.0 || p2 != 0.0 || p3 != 0.0 || p4 != 0.0 || p5 != 0.0 || p6 != 0.0 || p7 != 0.0 || p8 … in MatILUFactorNumeric_SeqBAIJ_4_NaturalOrdering_inplace() [all …]
|
| H A D | baijfact7.c | 18 MatScalar p5, p6, p7, p8, p9, x5, x6, x7, x8, x9, x10, x11, x12, x13, x14, x15, x16; in MatILUFactorNumeric_SeqBAIJ_6_inplace() local 102 p5 = pc[4]; in MatILUFactorNumeric_SeqBAIJ_6_inplace() 134 …if (p1 != 0.0 || p2 != 0.0 || p3 != 0.0 || p4 != 0.0 || p5 != 0.0 || p6 != 0.0 || p7 != 0.0 || p8 … in MatILUFactorNumeric_SeqBAIJ_6_inplace() 177 pc[4] = m5 = p5 * x1 + p11 * x2 + p17 * x3 + p23 * x4 + p29 * x5 + p35 * x6; in MatILUFactorNumeric_SeqBAIJ_6_inplace() 184 pc[10] = m11 = p5 * x7 + p11 * x8 + p17 * x9 + p23 * x10 + p29 * x11 + p35 * x12; in MatILUFactorNumeric_SeqBAIJ_6_inplace() 191 pc[16] = m17 = p5 * x13 + p11 * x14 + p17 * x15 + p23 * x16 + p29 * x17 + p35 * x18; in MatILUFactorNumeric_SeqBAIJ_6_inplace() 198 pc[22] = m23 = p5 * x19 + p11 * x20 + p17 * x21 + p23 * x22 + p29 * x23 + p35 * x24; in MatILUFactorNumeric_SeqBAIJ_6_inplace() 205 pc[28] = m29 = p5 * x25 + p11 * x26 + p17 * x27 + p23 * x28 + p29 * x29 + p35 * x30; in MatILUFactorNumeric_SeqBAIJ_6_inplace() 212 pc[34] = m35 = p5 * x31 + p11 * x32 + p17 * x33 + p23 * x34 + p29 * x35 + p35 * x36; in MatILUFactorNumeric_SeqBAIJ_6_inplace() 480 MatScalar p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15; in MatILUFactorNumeric_SeqBAIJ_6_NaturalOrdering_inplace() local [all …]
|
| H A D | baijfact9.c | 22 MatScalar p5, p6, p7, p8, p9, x5, x6, x7, x8, x9, x10, x11, x12, x13, x14, x15, x16; in MatILUFactorNumeric_SeqBAIJ_5_inplace() local 101 p5 = pc[4]; in MatILUFactorNumeric_SeqBAIJ_5_inplace() 122 …if (p1 != 0.0 || p2 != 0.0 || p3 != 0.0 || p4 != 0.0 || p5 != 0.0 || p6 != 0.0 || p7 != 0.0 || p8 … in MatILUFactorNumeric_SeqBAIJ_5_inplace() 154 pc[4] = m5 = p5 * x1 + p10 * x2 + p15 * x3 + p20 * x4 + p25 * x5; in MatILUFactorNumeric_SeqBAIJ_5_inplace() 160 pc[9] = m10 = p5 * x6 + p10 * x7 + p15 * x8 + p20 * x9 + p25 * x10; in MatILUFactorNumeric_SeqBAIJ_5_inplace() 166 pc[14] = m15 = p5 * x11 + p10 * x12 + p15 * x13 + p20 * x14 + p25 * x15; in MatILUFactorNumeric_SeqBAIJ_5_inplace() 172 pc[19] = m20 = p5 * x16 + p10 * x17 + p15 * x18 + p20 * x19 + p25 * x20; in MatILUFactorNumeric_SeqBAIJ_5_inplace() 178 pc[24] = m25 = p5 * x21 + p10 * x22 + p15 * x23 + p20 * x24 + p25 * x25; in MatILUFactorNumeric_SeqBAIJ_5_inplace() 424 MatScalar p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15; in MatILUFactorNumeric_SeqBAIJ_5_NaturalOrdering_inplace() local 484 p5 = pc[4]; in MatILUFactorNumeric_SeqBAIJ_5_NaturalOrdering_inplace() [all …]
|
| H A D | baijfact5.c | 18 MatScalar p5, p6, p7, p8, p9, x5, x6, x7, x8, x9, x10, x11, x12, x13, x14, x15, x16; in MatILUFactorNumeric_SeqBAIJ_7_inplace() local 119 p5 = pc[4]; in MatILUFactorNumeric_SeqBAIJ_7_inplace() 164 …if (p1 != 0.0 || p2 != 0.0 || p3 != 0.0 || p4 != 0.0 || p5 != 0.0 || p6 != 0.0 || p7 != 0.0 || p8 … in MatILUFactorNumeric_SeqBAIJ_7_inplace() 220 pc[4] = m5 = p5 * x1 + p12 * x2 + p19 * x3 + p26 * x4 + p33 * x5 + p40 * x6 + p47 * x7; in MatILUFactorNumeric_SeqBAIJ_7_inplace() 228 … pc[11] = m12 = p5 * x8 + p12 * x9 + p19 * x10 + p26 * x11 + p33 * x12 + p40 * x13 + p47 * x14; in MatILUFactorNumeric_SeqBAIJ_7_inplace() 236 … pc[18] = m19 = p5 * x15 + p12 * x16 + p19 * x17 + p26 * x18 + p33 * x19 + p40 * x20 + p47 * x21; in MatILUFactorNumeric_SeqBAIJ_7_inplace() 244 … pc[25] = m26 = p5 * x22 + p12 * x23 + p19 * x24 + p26 * x25 + p33 * x26 + p40 * x27 + p47 * x28; in MatILUFactorNumeric_SeqBAIJ_7_inplace() 252 … pc[32] = m33 = p5 * x29 + p12 * x30 + p19 * x31 + p26 * x32 + p33 * x33 + p40 * x34 + p47 * x35; in MatILUFactorNumeric_SeqBAIJ_7_inplace() 260 … pc[39] = m40 = p5 * x36 + p12 * x37 + p19 * x38 + p26 * x39 + p33 * x40 + p40 * x41 + p47 * x42; in MatILUFactorNumeric_SeqBAIJ_7_inplace() 268 … pc[46] = m47 = p5 * x43 + p12 * x44 + p19 * x45 + p26 * x46 + p33 * x47 + p40 * x48 + p47 * x49; in MatILUFactorNumeric_SeqBAIJ_7_inplace() [all …]
|
| /petsc/src/tao/leastsquares/impls/pounders/ |
| H A D | gqt.c | 216 PetscReal f = 0.0, p001 = 0.001, p5 = 0.5, minusone = -1, delta2 = delta * delta; in gqt() local 333 …if (p5 * rznorm * rznorm / delta2 <= rtol * (1.0 - p5 * rtol) * (par + rxnorm * rxnorm / delta2)) { in gqt() 335 } else if (info == 0 && (p5 * (par + rxnorm * rxnorm / delta2) <= atol / delta2)) { in gqt() 401 if (paru <= (1.0 + p5 * rtol) * pars) info = 3; in gqt() 411 f = -p5 * (rxnorm * rxnorm + par * xnorm * xnorm); in gqt() 413 f = -p5 * (rxnorm * rxnorm + par * delta * delta - rznorm * rznorm); in gqt()
|
| /petsc/src/dm/impls/swarm/tests/output/ |
| H A D | ex6_bsi_2d_multiple_2.out | 31 t 0.1: p5 error [0.0068 0.11] sol [(0.881727 1.798778) (-20.021385 9.846567)] exact [(0.874902 1.79… 55 t 0.1: p5 error [0.0078 0.14] sol [(0.882410 1.800713) (-19.996192 9.858733)] exact [(0.874902 1.79… 79 t 0.1: p5 error [0.0081 0.14] sol [(0.882551 1.801248) (-19.990615 9.862558)] exact [(0.874902 1.79…
|
| H A D | ex6_bsi_2d_multiple_3.out | 31 t 0.01: p5 error [0.0001 0.02] sol [(1.987615 0.223143) (-2.474615 22.221582)] exact [(1.987513 0.2… 55 t 0.01: p5 error [0.0001 0.02] sol [(1.987615 0.223143) (-2.474633 22.221613)] exact [(1.987513 0.2… 79 t 0.01: p5 error [0.0001 0.02] sol [(1.987615 0.223143) (-2.474643 22.221628)] exact [(1.987513 0.2…
|
| H A D | ex6_im_2d_multiple_0.out | 31 t 0.1: p5 error [0.01 0.17] sol [(0.884851 1.800068) (-19.972639 9.881852)] exact [(0.874902 1.7984… 55 t 0.1: p5 error [0.0087 0.15] sol [(0.883192 1.801035) (-19.984012 9.867545)] exact [(0.874902 1.79… 79 t 0.1: p5 error [0.0083 0.15] sol [(0.882747 1.801329) (-19.987570 9.864759)] exact [(0.874902 1.79…
|
| H A D | ex6_bsi_2d_multiple_1.out | 31 t 0.1: p5 error [0.093 1.2] sol [(0.781977 1.805160) (-20.012816 10.980950)] exact [(0.874902 1.798… 55 t 0.1: p5 error [0.043 0.65] sol [(0.832568 1.802495) (-19.992567 10.425097)] exact [(0.874902 1.79… 79 t 0.1: p5 error [0.018 0.38] sol [(0.857631 1.801788) (-19.988943 10.145626)] exact [(0.874902 1.79…
|
| H A D | ex5_bsi_2d_multiple_3.out | 48 t 0.1: p5 error [7e-08 7.8e-07] sol [(0.874902 1.798484) (-20.107666 9.781706)] exact [(0.874902 1.… 109 t 0.1: p5 error [8.7e-09 9.8e-08] sol [(0.874902 1.798484) (-20.107666 9.781706)] exact [(0.874902 … 210 t 0.1: p5 error [1.1e-09 1.2e-08] sol [(0.874902 1.798484) (-20.107666 9.781706)] exact [(0.874902 …
|
| H A D | ex5_im_2d_multiple_0.out | 48 t 0.001: p5 error [2.3e-11 2.6e-10] sol [(1.999875 0.022360) (-0.249995 22.359282)] exact [(1.99987… 109 t 0.001: p5 error [5.8e-12 6.5e-11] sol [(1.999875 0.022360) (-0.249995 22.359282)] exact [(1.99987… 210 t 0.001: p5 error [1.5e-12 1.6e-11] sol [(1.999875 0.022360) (-0.249995 22.359282)] exact [(1.99987…
|
| H A D | ex5_bsi_2d_multiple_2.out | 48 t 0.001: p5 error [2.3e-11 5.2e-10] sol [(1.999875 0.022360) (-0.249995 22.359282)] exact [(1.99987… 109 t 0.001: p5 error [5.8e-12 1.3e-10] sol [(1.999875 0.022360) (-0.249995 22.359282)] exact [(1.99987… 210 t 0.001: p5 error [1.5e-12 3.3e-11] sol [(1.999875 0.022360) (-0.249995 22.359282)] exact [(1.99987…
|
| H A D | ex5_bsi_2d_multiple_1.out | 48 t 0.001: p5 error [1.2e-06 1.4e-05] sol [(1.999874 0.022360) (-0.249995 22.359296)] exact [(1.99987… 109 t 0.001: p5 error [6.2e-07 7e-06] sol [(1.999874 0.022360) (-0.249995 22.359289)] exact [(1.999875 … 210 t 0.001: p5 error [3.1e-07 3.5e-06] sol [(1.999875 0.022360) (-0.249995 22.359286)] exact [(1.99987…
|
| /petsc/src/tao/unconstrained/tutorials/ |
| H A D | eptorsion3.c | 260 PetscReal hx = user->hx, hy = user->hy, area, three = 3.0, p5 = 0.5; in FormFunction() local 308 area = p5 * hx * hy; in FormFunction() 309 *f = area * (p5 * fquad + flin); in FormFunction() 330 PetscReal zero = 0.0, p5 = 0.5, three = 3.0, area, val; in FormGradient() local 410 area = p5 * hx * hy; in FormGradient() 535 PetscReal p5 = 0.5, zero = 0.0, one = 1.0, hx, hy, val, area; in HessianProduct() local 619 area = p5 * hx * hy; in HessianProduct()
|
| H A D | eptorsion1.c | 244 PetscReal hx = user->hx, hy = user->hy, area, three = 3.0, p5 = 0.5; in FormFunction() local 292 area = p5 * hx * hy; in FormFunction() 293 *f = area * (p5 * fquad + flin); in FormFunction() 314 PetscReal zero = 0.0, p5 = 0.5, three = 3.0, area, val; in FormGradient() local 394 area = p5 * hx * hy; in FormGradient() 519 PetscReal p5 = 0.5, zero = 0.0, one = 1.0, hx, hy, val, area; in HessianProduct() local 603 area = p5 * hx * hy; in HessianProduct()
|
| H A D | eptorsion2f.F90 | 117 PetscReal zero, p5, area, cdiv3 131 p5 = 0.5 249 area = p5*hx*hy 250 floc = area*(p5*fquad + flin)
|
| H A D | eptorsion2.c | 204 PetscReal p5 = 0.5, area, val, flin, fquad; in FormFunctionGradient() local 315 area = p5 * hx * hy; in FormFunctionGradient() 316 floc = area * (p5 * fquad + flin); in FormFunctionGradient()
|