Home
last modified time | relevance | path

Searched refs:fvals (Results 1 – 11 of 11) sorted by relevance

/petsc/src/tao/leastsquares/tutorials/matlab/
H A DProblemFinalize.m6 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 DTestingInitialize.m9 global nfev fvals fvecs X_hist
H A DProblemInitialize.m26 fvals = zeros(nfmax,1); variable
/petsc/src/tao/leastsquares/tutorials/matlab/more_wild_probs/
H A Ddfovec_wrap.m3 global nfev fvals fvecs X_hist
11 fvals(nfev,:) = y;
/petsc/src/ts/event/tests/
H A Dex2.c25 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 Dex1sin.c25 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 Dex3.c33 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 Dex4.c27 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 Dex5.c29 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 Dex3span.c34 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 Dxyt.c160 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()