Home
last modified time | relevance | path

Searched refs:ftime (Results 1 – 25 of 94) sorted by relevance

1234

/petsc/src/ts/tutorials/autodiff/output/
H A Dex16opt_ic_1.out1 mu 1., steps 0, ftime 0.5
2 mu 1., steps 7, ftime 0.5
3 mu 1.000000, steps 75, ftime 0.5
5 mu 1.000000, steps 68, ftime 0.5
7 mu 1.000000, steps 68, ftime 0.5
/petsc/src/ts/tutorials/
H A Dex23fwdadj.c19 PetscReal ftime; member
108 user.ftime = 1.0; in main()
125 PetscCall(TSSetMaxTime(ts, user.ftime)); in main()
146 PetscCall(TSGetSolveTime(ts, &user.ftime)); in main()
151 …LD, "\n analytical solution %g\n", (double)(user.a * PetscExpReal(user.b / user.c * user.ftime)))); in main()
153 ….t. c %g\n", (double)(-user.a * user.ftime * user.b / (user.c * user.c) * PetscExpReal(user.b / us… in main()
154 …ivative w.r.t. b %g\n", (double)(user.a * user.ftime / user.c * PetscExpReal(user.b / user.c * use… in main()
H A Dex49.c77 PetscReal ftime = 2; in main() local
117 PetscCall(TSSetMaxTime(ts, ftime)); in main()
138 PetscCall(TSGetSolveTime(ts, &ftime)); in main()
140 …scCall(PetscPrintf(PETSC_COMM_WORLD, "steps %" PetscInt_FMT ", ftime %g\n", steps, (double)ftime)); in main()
H A Dex19.c158 PetscReal ftime = 0.5; in main() local
197 PetscCall(TSSetMaxTime(ts, ftime)); in main()
219 PetscCall(TSGetSolveTime(ts, &ftime)); in main()
221 …cCall(PetscPrintf(PETSC_COMM_WORLD, "steps %3" PetscInt_FMT ", ftime %g\n", steps, (double)ftime)); in main()
H A Dex17.c54 PetscReal ftime, dt; in main() local
96 ftime = 1.0; in main()
97 PetscCall(TSSetMaxTime(ts, ftime)); in main()
142 PetscCall(TSGetTime(ts, &ftime)); in main()
143 …cInt_FMT ": time %g, solution norm %g, max %g, min %g\n", nsteps, (double)ftime, (double)norm, (do… in main()
156 static PetscErrorCode FormIFunction(TS ts, PetscReal ftime, Vec U, Vec Udot, Vec F, void *ptr) in FormIFunction() argument
H A Dex20fwd.c25 PetscReal ftime; member
146 user.ftime = 0.5; in main()
171 PetscCall(TSSetMaxTime(ts, user.ftime)); in main()
204 PetscCall(TSGetSolveTime(ts, &user.ftime)); in main()
206 …D, "mu %g, steps %" PetscInt_FMT ", ftime %g\n", (double)user.mu, user.steps, (double)user.ftime)); in main()
H A Dex74.c51 PetscReal err, ftime; in main() local
97 PetscCall(TSGetSolveTime(ts, &ftime)); in main()
99 PetscCall(ExactSolution(uex, &ctxt, ftime)); in main()
105 …(PETSC_COMM_WORLD, "L2 norm of the numerical error = %g (time=%g)\n", (double)err, (double)ftime)); in main()
H A Dex16fwd.c142 PetscReal ftime = 0.5; in main() local
192 PetscCall(TSSetMaxTime(ts, ftime)); in main()
217 PetscCall(TSGetSolveTime(ts, &ftime)); in main()
219 …_COMM_WORLD, "mu %g, steps %" PetscInt_FMT ", ftime %g\n", (double)user.mu, steps, (double)ftime)); in main()
H A Dex20.c120 PetscReal ftime = 0.5; in main() local
167 PetscCall(TSSetMaxTime(ts, ftime)); in main()
189 PetscCall(TSGetSolveTime(ts, &ftime)); in main()
191 …scCall(PetscPrintf(PETSC_COMM_WORLD, "steps %" PetscInt_FMT ", ftime %g\n", steps, (double)ftime)); in main()
H A Dex13.c35 PetscReal ftime, dt; in main() local
69 ftime = 1.0; in main()
70 PetscCall(TSSetMaxTime(ts, ftime)); in main()
89 PetscCall(TSGetSolveTime(ts, &ftime)); in main()
116 PetscErrorCode RHSFunction(TS ts, PetscReal ftime, Vec U, Vec F, void *ptr) in RHSFunction() argument
H A Dex16.c186 PetscReal ftime = 0.5; in main() local
230 PetscCall(TSSetMaxTime(ts, ftime)); in main()
252 PetscCall(TSGetSolveTime(ts, &ftime)); in main()
254 …_COMM_WORLD, "mu %g, steps %" PetscInt_FMT ", ftime %g\n", (double)user.mu, steps, (double)ftime)); in main()
H A Dex22.c48 PetscReal ftime, dt; in main() local
104 ftime = .1; in main()
105 PetscCall(TSSetMaxTime(ts, ftime)); in main()
126 PetscCall(TSGetSolveTime(ts, &ftime)); in main()
129 …%s at time %g after %" PetscInt_FMT " steps\n", TSConvergedReasons[reason], (double)ftime, steps)); in main()
/petsc/src/ts/tutorials/hamiltonian/
H A Dex1.c111 PetscReal ftime = 0.1; in main() local
156 PetscCall(TSSetMaxTime(ts, ftime)); in main()
181 PetscCall(TSGetSolveTime(ts, &ftime)); in main()
184 …g %g]\n", (double)ftime, (double)(0.2 * PetscCosReal(user.omega * ftime)), (double)(-0.2 * user.om… in main()
/petsc/src/ts/tutorials/output/
H A Dex16_sa_1.out1 mu 1, steps 0, ftime 0.5
2 mu 1, steps 9, ftime 0.5
H A Dex8_2.out1 steps 11 (1 rejected, 1 SNES fails), ftime 16.1441, nonlinits 157, linits 157
H A Dex8_3.out1 steps 10 (3 rejected, 1 SNES fails), ftime 15.3162, nonlinits 114, linits 115
H A Dex20_1.out1 steps 500, ftime 0.5
H A Dex20_2.out1 steps 459, ftime 0.500562
H A Dex20_3.out1 steps 472, ftime 0.50073
H A Dex16_1.out1 mu 1000., steps 50, ftime 0.5
H A Dex19_bdf_reject_ts_max_step_rejections-0.out2 steps 0, ftime 0.
/petsc/src/ts/tutorials/autodiff/
H A Dex16opt_ic.cxx27 PetscReal ftime, x_ob[2]; member
151 user.ftime = 0.5; in main()
193 PetscCall(TSSetMaxTime(ts, user.ftime)); in main()
198 …D, "mu %g, steps %" PetscInt_FMT ", ftime %g\n", (double)user.mu, user.steps, (double)user.ftime)); in main()
214 PetscCall(TSGetSolveTime(ts, &user.ftime)); in main()
216 …D, "mu %g, steps %" PetscInt_FMT ", ftime %g\n", (double)user.mu, user.steps, (double)user.ftime)); in main()
323 PetscCall(TSGetSolveTime(ts, &user->ftime)); in FormFunctionGradient()
325 …u %.6f, steps %" PetscInt_FMT ", ftime %g\n", (double)user->mu, user->steps, (double)user->ftime)); in FormFunctionGradient()
/petsc/src/ts/tutorials/eimex/
H A Dallen_cahn.c32 PetscReal ftime; in main() local
70 ftime = 22; in main()
71 PetscCall(TSSetMaxTime(ts, ftime)); in main()
90 PetscCall(TSGetTime(ts, &ftime)); in main()
92 …M_WORLD, "eps %g, steps %" PetscInt_FMT ", ftime %g\n", (double)user.param, steps, (double)ftime)); in main()
H A Dct_vdp_imex.c48 PetscReal ftime, dt, norm; in main() local
109 ftime = 1.1; in main()
111 PetscCall(TSSetMaxTime(ts, ftime)); in main()
131 PetscCall(TSGetTime(ts, &ftime)); in main()
/petsc/src/ts/tutorials/eimex/output/
H A Dallen_cahn.out1 eps 0.0009, steps 881, ftime 22.025

1234