Home
last modified time | relevance | path

Searched refs:t0 (Results 1 – 25 of 42) sorted by relevance

12

/petsc/src/snes/tests/
H A Dex20.c138 …PetscScalar t0, tn, ts, te, tw, an, as, ae, aw, dn, ds, de, dw, fn = 0.0, fs = 0.0, fe = 0.0, f… in FormFunction() local
169 t0 = x[k][j][i]; in FormFunction()
175 aw = 0.5 * (t0 + tw); in FormFunction()
177 fw = dw * (t0 - tw); in FormFunction()
180 ae = 0.5 * (t0 + te); in FormFunction()
182 fe = de * (te - t0); in FormFunction()
185 as = 0.5 * (t0 + ts); in FormFunction()
187 fs = ds * (t0 - ts); in FormFunction()
190 an = 0.5 * (t0 + tn); in FormFunction()
192 fn = dn * (tn - t0); in FormFunction()
[all …]
/petsc/src/snes/tutorials/
H A Dex18.c138 …PetscScalar t0, tn, ts, te, tw, an, as, ae, aw, dn, ds, de, dw, fn = 0.0, fs = 0.0, fe = 0.0, fw… in FormFunction() local
166 t0 = x[j][i]; in FormFunction()
172 aw = 0.5 * (t0 + tw); in FormFunction()
174 fw = dw * (t0 - tw); in FormFunction()
177 ae = 0.5 * (t0 + te); in FormFunction()
179 fe = de * (te - t0); in FormFunction()
182 as = 0.5 * (t0 + ts); in FormFunction()
184 fs = ds * (t0 - ts); in FormFunction()
187 an = 0.5 * (t0 + tn); in FormFunction()
189 fn = dn * (tn - t0); in FormFunction()
[all …]
/petsc/src/ts/tutorials/hybrid/output/
H A Dex1fd_1.out5 d x1(tf) /d x1(t0) = -0.237478 d x2(tf) / d x1(t0) = 0.031943
8 d x1(tf) /d x2(t0) = -0.319570 d x2(tf) / d x2(t0) = -0.237558
/petsc/src/ts/impls/explicit/ssp/
H A Dssp.c53 static PetscErrorCode TSSSPStep_RK_2(TS ts, PetscReal t0, PetscReal dt, Vec sol) in TSSSPStep_RK_2() argument
65 PetscReal stage_time = t0 + dt * (i / (s - 1.)); in TSSSPStep_RK_2()
70 PetscCall(TSComputeRHSFunction(ts, t0 + dt, work[0], F)); in TSSSPStep_RK_2()
85 static PetscErrorCode TSSSPStep_RK_3(TS ts, PetscReal t0, PetscReal dt, Vec sol) in TSSSPStep_RK_3() argument
102 stage_time = t0 + c * dt; in TSSSPStep_RK_3()
110 stage_time = t0 + c * dt; in TSSSPStep_RK_3()
117 stage_time = t0 + c * dt; in TSSSPStep_RK_3()
125 stage_time = t0 + c * dt; in TSSSPStep_RK_3()
144 static PetscErrorCode TSSSPStep_RK_10_4(TS ts, PetscReal t0, PetscReal dt, Vec sol) in TSSSPStep_RK_10_4() argument
156 stage_time = t0 + c[i] * dt; in TSSSPStep_RK_10_4()
[all …]
/petsc/src/ts/tutorials/power_grid/
H A Dpetscopt_ex615 -t0 0.0
H A Dpetscopt_ex710 #-t0 0.0
H A Dpetscopt_ex810 #-t0 0.0
/petsc/src/ts/tutorials/hamiltonian/output/
H A Dex3_landau_damping_2d.out3 (x0,v0,t0,m0,q0,phi0): (1.000000e+00, 1.000000e+00, 1.000000e+00, 1.000000e+00, 1.000000e+00, 1.000…
H A Dex2_coulomb_1d.out3 (x0,v0,t0,m0,q0,phi0): (1.000000e+00, 1.000000e+00, 1.000000e+00, 1.000000e+00, 1.000000e+00, 0.000…
H A Dex3_landau_damping_1d.out3 (x0,v0,t0,m0,q0,phi0): (1.000000e+00, 1.000000e+00, 1.000000e+00, 1.000000e+00, 1.000000e+00, 1.000…
H A Dex2_none_1d.out3 (x0,v0,t0,m0,q0,phi0): (1.000000e+00, 1.000000e+00, 1.000000e+00, 1.000000e+00, 1.000000e+00, 0.000…
H A Dex3_landau_damping_3d.out3 (x0,v0,t0,m0,q0,phi0): (1.000000e+00, 1.000000e+00, 1.000000e+00, 1.000000e+00, 1.000000e+00, 1.000…
H A Dex4_landau_damping_1d_bs.out3 (x0,v0,t0,m0,q0,phi0): (1.000000e+00, 1.000000e+00, 1.000000e+00, 1.000000e+00, 1.000000e+00, 0.000…
H A Dex4_landau_damping_1d_dg.out3 (x0,v0,t0,m0,q0,phi0): (1.000000e+00, 1.000000e+00, 1.000000e+00, 1.000000e+00, 1.000000e+00, 0.000…
H A Dex3_sphere_3d.out9 (x0,v0,t0,m0,q0,phi0): (1.000000e+00, 1.000000e+00, 1.000000e+00, 1.000000e+00, 1.000000e+00, 1.000…
H A Dex2_uniform_primal_1d_real.out17 (x0,v0,t0,m0,q0,phi0): (1.000000e+00, 1.000000e+00, 1.000000e+00, 1.000000e+00, 1.000000e+00, 0.000…
H A Dex2_landau_damping_1d_dg.out17 (x0,v0,t0,m0,q0,phi0): (1.000000e+00, 1.000000e+00, 1.000000e+00, 1.000000e+00, 1.000000e+00, 0.000…
H A Dex2_landau_damping_1d_c0.out17 (x0,v0,t0,m0,q0,phi0): (1.000000e+00, 1.000000e+00, 1.000000e+00, 1.000000e+00, 1.000000e+00, 0.000…
H A Dex2_landau_damping_1d_mixed.out17 (x0,v0,t0,m0,q0,phi0): (1.000000e+00, 1.000000e+00, 1.000000e+00, 1.000000e+00, 1.000000e+00, 0.000…
H A Dex2_uniform_equilibrium_1d_real.out17 (x0,v0,t0,m0,q0,phi0): (1.000000e+00, 1.000000e+00, 1.000000e+00, 1.000000e+00, 1.000000e+00, 0.000…
H A Dex2_uniform_equilibrium_1d.out17 (x0,v0,t0,m0,q0,phi0): (1.000000e+00, 1.000000e+00, 1.000000e+00, 1.000000e+00, 1.000000e+00, 0.000…
H A Dex2_uniform_primal_1d_real_pfak.out17 (x0,v0,t0,m0,q0,phi0): (1.000000e+00, 1.000000e+00, 1.000000e+00, 1.000000e+00, 1.000000e+00, 0.000…
/petsc/src/ts/tutorials/
H A Dex41.c239 PetscReal tf, t0, dt; in main() local
252 PetscCall(TSAdaptHistoryGetStep(adapt, 0, &t0, &dt)); in main()
259 PetscCall(TSSetTime(ts, t0)); in main()
H A Dex40.c254 PetscReal tf, t0, dt; in main() local
267 PetscCall(TSAdaptHistoryGetStep(adapt, 0, &t0, &dt)); in main()
281 PetscCall(TSSetTime(ts, t0)); in main()
H A Dex31.c1025 PetscReal t0; in Initialize() local
1098 t0 = 0.; in Initialize()
1099 y[0] = PetscExpReal(PetscSinReal(t0 * t0)); in Initialize()
1100 y[1] = PetscExpReal(5. * PetscSinReal(t0 * t0)); in Initialize()
1101 y[2] = PetscSinReal(t0 * t0) + 1.0; in Initialize()
1102 y[3] = PetscCosReal(t0 * t0); in Initialize()

12