Home
last modified time | relevance | path

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

/petsc/src/snes/impls/al/
H A Dal.c40 …rrorCode SNESNewtonALCheckArcLength(SNES snes, Vec XStep, PetscReal lambdaStep, PetscReal stepSize) in SNESNewtonALCheckArcLength() argument
48 arcLengthError = PetscAbsReal(arcLength - stepSize); in SNESNewtonALCheckArcLength()
50 …18.16e, expected=%18.16e, error=%18.16e \n", (double)arcLength, (double)stepSize, (double)arcLengt… in SNESNewtonALCheckArcLength()
287 PetscReal fnorm, xnorm, ynorm, stepSize; in SNESSolve_NEWTONAL() local
318 stepSize = data->step_size; /* initial step size */ in SNESSolve_NEWTONAL()
369 deltaLambda = sign * stepSize / PetscSqrtReal(normsqX_Q + data->psisq); in SNESSolve_NEWTONAL()
423 … c0 = PetscRealPart(coefs1[2]) + psisqLambdaUpdate * data->lambda_update - stepSize * stepSize; in SNESSolve_NEWTONAL()
488 …scLogPrintInfo) PetscCall(SNESNewtonALCheckArcLength(snes, DeltaX, data->lambda_update, stepSize)); in SNESSolve_NEWTONAL()
/petsc/src/ts/tutorials/hamiltonian/
H A Dex3.c73 PetscReal stepSize; member
165 …PetscCall(PetscDrawLGSetLimits(user->drawlgE, 0., user->steps * user->stepSize, user->drawlgEmin, … in SetupContext()
1684 user.stepSize = dt; in main()
H A Dex4.c169 PetscReal stepSize; member
346 …PetscCall(PetscDrawLGSetLimits(ctx->drawlgE, 0., ctx->steps * ctx->stepSize, ctx->drawlgEmin, 0.)); in SetupContext()
518 PetscCall(PetscDrawLGSetLimits(ctx->drawlgMomRes, 0., ctx->steps * ctx->stepSize, -8, 0)); in SetupContext()
3037 ctx.stepSize = dt; in main()
H A Dex2.c131 PetscReal stepSize; member
261 …PetscCall(PetscDrawLGSetLimits(ctx->drawlgE, 0., ctx->steps * ctx->stepSize, ctx->drawlgEmin, 0.)); in SetupContext()
2433 ctx.stepSize = dt; in main()