Home
last modified time | relevance | path

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

/petsc/src/ts/tutorials/hamiltonian/
H A Dex4.c215 EmaxCtx emaxCtx; // Information for fit to decay profile member
288 options->emaxCtx.s = 50; in ProcessOptions()
289 options->emaxCtx.per = 100; in ProcessOptions()
314 …", "First time step to use for Emax fits", __FILE__, options->emaxCtx.s, &options->emaxCtx.s, NULL… in ProcessOptions()
315 …"Number of time steps between Emax fits", __FILE__, options->emaxCtx.per, &options->emaxCtx.per, N… in ProcessOptions()
812 …PetscCall(PetscDrawLGGetData(ctx->drawlgE, NULL, &ctx->emaxCtx.e, &ctx->emaxCtx.t, &ctx->emaxCtx.E… in MonitorEField()
813 if (!rank && !(ctx->emaxCtx.e % ctx->emaxCtx.per)) { in MonitorEField()
824 PetscCall(VecCreateSeq(PETSC_COMM_SELF, ctx->emaxCtx.e - ctx->emaxCtx.s, &r)); in MonitorEField()
825 if (fitLog) PetscCall(TaoSetResidualRoutine(tao, r, ComputeLogEmaxResidual, &ctx->emaxCtx)); in MonitorEField()
826 else PetscCall(TaoSetResidualRoutine(tao, r, ComputeEmaxResidual, &ctx->emaxCtx)); in MonitorEField()
[all …]