| /petsc/src/tao/leastsquares/tutorials/matlab/ |
| H A D | ProblemFinalize.m | 6 fvals = [fvals(1:nfev);ones(nfmax-nfev,1)*fvals(nfev)]; variable 8 fvals = fvals(1:nfmax); variable 17 Results{SolverNumber,np}.H = fvals; 30 fvals = zeros(nfmax,1); variable 39 fvals = [fvals(1:nfev);ones(nfmax-nfev,1)*fvals(nfev)]; variable 41 fvals = fvals(1:nfmax); variable 50 Results{SolverNumber,np}.H = fvals;
|
| H A D | TestingInitialize.m | 9 global nfev fvals fvecs X_hist
|
| H A D | ProblemInitialize.m | 26 fvals = zeros(nfmax,1); variable
|
| /petsc/src/tao/leastsquares/tutorials/matlab/more_wild_probs/ |
| H A D | dfovec_wrap.m | 3 global nfev fvals fvecs X_hist 11 fvals(nfev,:) = y;
|
| /petsc/src/ts/event/tests/ |
| H A D | ex2.c | 25 PetscReal fvals[MAX_NFUNC]; // helper array for reporting the residuals member 174 PetscCallBack("EventFunction", EventFunction(ts, t, U, Ctx->fvals, ctx)); in Postevent() 176 …j++) PetscCall(PetscSynchronizedPrintf(PETSC_COMM_WORLD, "\t%g", (double)Ctx->fvals[evs_zero[j]])); in Postevent()
|
| H A D | ex1sin.c | 25 PetscReal fvals[MAX_NFUNC]; // helper array for reporting the residuals member 164 PetscCallBack("EventFunction", EventFunction(ts, t, U, Ctx->fvals, ctx)); in Postevent() 166 …j++) PetscCall(PetscSynchronizedPrintf(PETSC_COMM_WORLD, "\t%g", (double)Ctx->fvals[evs_zero[j]])); in Postevent()
|
| H A D | ex3.c | 33 PetscReal fvals[MAX_NFUNC]; // helper array for reporting the residuals member 211 PetscCallBack("EventFunction", EventFunction(ts, t, U, Ctx->fvals, ctx)); in Postevent() 213 …j++) PetscCall(PetscSynchronizedPrintf(PETSC_COMM_WORLD, "\t%g", (double)Ctx->fvals[evs_zero[j]])); in Postevent()
|
| H A D | ex4.c | 27 PetscReal fvals[MAX_NFUNC]; // helper array for reporting the residuals member 226 PetscCallBack("EventFunction", EventFunction(ts, t, U, Ctx->fvals, ctx)); in Postevent() 228 …j++) PetscCall(PetscSynchronizedPrintf(PETSC_COMM_WORLD, "\t%g", (double)Ctx->fvals[evs_zero[j]])); in Postevent()
|
| H A D | ex5.c | 29 PetscReal fvals[MAX_NFUNC]; // helper array for reporting the residuals member 214 PetscCallBack("EventFunction", EventFunction(ts, t, U, Ctx->fvals, ctx)); in Postevent() 216 …j++) PetscCall(PetscSynchronizedPrintf(PETSC_COMM_WORLD, "\t%g", (double)Ctx->fvals[evs_zero[j]])); in Postevent()
|
| H A D | ex3span.c | 34 PetscReal fvals[MAX_NFUNC]; // helper array for reporting the residuals member 248 PetscCallBack("EventFunction", EventFunction(ts, t, U, Ctx->fvals, ctx)); in Postevent() 250 …j++) PetscCall(PetscSynchronizedPrintf(PETSC_COMM_WORLD, "\t%g", (double)Ctx->fvals[evs_zero[j]])); in Postevent()
|
| /petsc/src/ksp/pc/impls/tfs/ |
| H A D | xyt.c | 160 PetscScalar fvals[3], fwork[3]; in XYT_stats() local 177 fvals[0] = fvals[1] = fvals[2] = xyt_handle->info->tot_solve_time / xyt_handle->info->nsolves++; in XYT_stats() 178 PetscCall(PCTFS_grop(fvals, fwork, PETSC_STATIC_ARRAY_LENGTH(fop) - 1, fop)); in XYT_stats() 194 …rintf(PETSC_COMM_WORLD, "%d :: min xyt_slv=%g\n", PCTFS_my_id, (double)PetscRealPart(fvals[0]))); in XYT_stats() 195 …rintf(PETSC_COMM_WORLD, "%d :: max xyt_slv=%g\n", PCTFS_my_id, (double)PetscRealPart(fvals[1]))); in XYT_stats() 196 …OMM_WORLD, "%d :: avg xyt_slv=%g\n", PCTFS_my_id, (double)PetscRealPart(fvals[2] / PCTFS_num_nod… in XYT_stats()
|