Home
last modified time | relevance | path

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

/petsc/src/ts/impls/arkimex/
H A Darkimex.h36 PetscReal scoeff; /* shift = scoeff/dt */ member
H A Dfsarkimex.c44 PetscReal shift = ark->scoeff / ts->time_step; in SNESTSFormFunction_ARKIMEX_FastSlowSplit()
66 shift = ark->scoeff / ts->time_step; in SNESTSFormJacobian_ARKIMEX_FastSlowSplit()
309 ark->scoeff = 1. / At[i * s + i]; in TSStep_ARKIMEX_FastSlowSplit()
352 …PetscCall(VecAXPBYPCZ(YdotI_fast[i], -ark->scoeff / h, ark->scoeff / h, 0, Z, Yfast)); /* YdotI = … in TSStep_ARKIMEX_FastSlowSplit()
362 …PetscCall(VecAXPBYPCZ(YdotI_fast[i], -ark->scoeff / h, ark->scoeff / h, 0, Z, Yfast)); /* YdotI = … in TSStep_ARKIMEX_FastSlowSplit()
H A Darkimex.c1380 ark->scoeff = PETSC_MAX_REAL; in TSStep_ARKIMEX()
1451 ark->scoeff = 1. / At[i * s + i]; in TSStep_ARKIMEX()
1488 …PetscCall(VecAXPBYPCZ(YdotI[i], -ark->scoeff / h, ark->scoeff / h, 0, Z, Y[i])); /* YdotI = shift*… in TSStep_ARKIMEX()
1496 …PetscCall(VecAXPBYPCZ(YdotI[i], -ark->scoeff / h, ark->scoeff / h, 0, Z, Y[i])); /* YdotI = shift*… in TSStep_ARKIMEX()
1584 ark->scoeff = 0.; in TSAdjointStep_ARKIMEX()
1586 …ark->scoeff = -1. / At[i * s + i]; // this makes shift=ark->scoeff/ts->time_step positive since ts… in TSAdjointStep_ARKIMEX()
1591 …PetscCall(TSComputeIJacobianP(ts, ark->stage_time, Y[i], Ydot, ark->scoeff / adjoint_time_step, ts… in TSAdjointStep_ARKIMEX()
1609 …PetscCall(VecAXPY(VecsDeltaLam[nadj * s + i], ark->scoeff / adjoint_time_step, VecsSensiTemp[nadj]… in TSAdjointStep_ARKIMEX()
1882 if (ark->scoeff == PETSC_MAX_REAL) PetscCall(TSARKIMEXGetAlgebraicIS(ts, dm, &alg_is)); in SNESTSFormFunction_ARKIMEX()
1887 if (ark->scoeff == PETSC_MAX_REAL) { in SNESTSFormFunction_ARKIMEX()
[all …]
/petsc/src/ts/impls/implicit/glle/
H A Dglle.h64 PetscReal scoeff; /* Ydot = Z + shift*Y; shift = scoeff/ts->time_step */ member
H A Dglle.c849 gl->scoeff = 1.; in TSSolve_GLLE()
900 gl->scoeff = 1. / PetscRealPart(a[i * s + i]); in TSSolve_GLLE()
901 shift = gl->scoeff / ts->time_step; in TSSolve_GLLE()
1058 PetscCall(VecWAXPY(Ydot, gl->scoeff / ts->time_step, x, Z)); in SNESTSFormFunction_GLLE()
1079 …PetscCall(TSComputeIJacobian(ts, gl->stage_time, x, gl->Ydot[gl->stage], gl->scoeff / ts->time_ste… in SNESTSFormJacobian_GLLE()
/petsc/src/ts/impls/glee/
H A Dglee.c59 PetscReal scoeff; /* shift = scoeff/dt */ member
536 glee->scoeff = 1.0 / A[i * s + i]; in TSStep_GLEE()
543 PetscCall(VecScale(W, glee->scoeff / h)); in TSStep_GLEE()
673 PetscReal shift = glee->scoeff / ts->time_step; in SNESTSFormFunction_GLEE()
696 PetscReal shift = glee->scoeff / ts->time_step; in SNESTSFormJacobian_GLEE()
/petsc/src/snes/impls/ms/
H A Dms.c249 …const PetscScalar scoeff[] = {gamma[0 * nstages + i] - 1, gamma[1 * nstages + i], gamma[2 * nstage… in SNESMSStep_3Sstar() local
255 PetscCall(VecMAXPY(S1, 4, scoeff, Ss)); in SNESMSStep_3Sstar()
/petsc/src/ts/impls/rosw/
H A Drosw.c59 PetscReal scoeff; /* shift = scoeff/dt */ member
1154 ros->scoeff = 1.; in TSStep_RosW()
1157 ros->scoeff = 1. / Gamma[i * s + i]; in TSStep_RosW()
1423 PetscReal shift = ros->scoeff / ts->time_step; in SNESTSFormFunction_RosW()
1443 PetscReal shift = ros->scoeff / ts->time_step; in SNESTSFormJacobian_RosW()