Home
last modified time | relevance | path

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

/petsc/src/snes/tutorials/
H A Dex18.c138 …PetscScalar t0, tn, ts, te, tw, an, as, ae, aw, dn, ds, de, dw, fn = 0.0, fs = 0.0, fe = 0.0, fw… in FormFunction() local
186 tn = x[j + 1][i]; in FormFunction()
187 an = 0.5 * (t0 + tn); in FormFunction()
189 fn = dn * (tn - t0); in FormFunction()
211 tn = x[j + 1][i]; in FormFunction()
212 an = 0.5 * (t0 + tn); in FormFunction()
214 fn = dn * (tn - t0); in FormFunction()
237 tn = x[j + 1][i]; in FormFunction()
238 an = 0.5 * (t0 + tn); in FormFunction()
240 fn = dn * (tn - t0); in FormFunction()
[all …]
/petsc/src/snes/tests/
H A Dex20.c138 …PetscScalar t0, tn, ts, te, tw, an, as, ae, aw, dn, ds, de, dw, fn = 0.0, fs = 0.0, fe = 0.0, f… in FormFunction() local
189 tn = x[k][j + 1][i]; in FormFunction()
190 an = 0.5 * (t0 + tn); in FormFunction()
192 fn = dn * (tn - t0); in FormFunction()
226 tn = x[k][j + 1][i]; in FormFunction()
227 an = 0.5 * (t0 + tn); in FormFunction()
229 fn = dn * (tn - t0); in FormFunction()
274 tn = x[k][j + 1][i]; in FormFunction()
275 an = 0.5 * (t0 + tn); in FormFunction()
277 fn = dn * (tn - t0); in FormFunction()
[all …]
/petsc/src/ksp/ksp/impls/ibcgs/
H A Dibcgs.c61 const PetscScalar *PETSC_RESTRICT tn; in KSPSolve_IBCGS() local
106 PetscCall(VecGetArrayRead(Tn, (const PetscScalar **)&tn)); in KSPSolve_IBCGS()
210 etan += f0[i] * tn[i]; in KSPSolve_IBCGS()
211 thetan += sn[i] * tn[i]; in KSPSolve_IBCGS()
212 kappan += tn[i] * tn[i]; in KSPSolve_IBCGS()
268 rn[i] = sn[i] - omegan * tn[i]; in KSPSolve_IBCGS()
/petsc/src/ts/impls/implicit/sundials/
H A Dsundials.c14 static PetscErrorCode TSPrecond_Sundials_Petsc(realtype tn, N_Vector y, N_Vector fy, booleantype jo… in TSPrecond_Sundials_Petsc() argument
41 static int TSPrecond_Sundials_Private(realtype tn, N_Vector y, N_Vector fy, booleantype jok, boolea… in TSPrecond_Sundials_Private() argument
43 …return (int)TSPrecond_Sundials_Petsc(tn, y, fy, jok, jcurPtr, _gamma, P_data, vtemp1, vtemp2, vtem… in TSPrecond_Sundials_Private()
49 static PetscErrorCode TSPSolve_Sundials_Petsc(realtype tn, N_Vector y, N_Vector fy, N_Vector r, N_V… in TSPSolve_Sundials_Petsc() argument
73 static int TSPSolve_Sundials_Private(realtype tn, N_Vector y, N_Vector fy, N_Vector r, N_Vector z, … in TSPSolve_Sundials_Private() argument
75 return (int)TSPSolve_Sundials_Petsc(tn, y, fy, r, z, _gamma, delta, lr, P_data, vtemp); in TSPSolve_Sundials_Private()
/petsc/src/vec/is/utils/
H A Disltog.c1545 PetscInt tn = bn * bs; in ISLocalToGlobalMappingGetNodeInfo() local
1547 PetscCall(PetscMalloc1(tn, &tprocs)); in ISLocalToGlobalMappingGetNodeInfo()
1548 if (tn) PetscCall(PetscMalloc1(c, &tprocs[0])); in ISLocalToGlobalMappingGetNodeInfo()
1549 for (i = 0; i < tn - 1; i++) tprocs[i + 1] = tprocs[i] + tn_procs[i]; in ISLocalToGlobalMappingGetNodeInfo()
/petsc/src/binding/petsc4py/src/petsc4py/PETSc/
H A DTS.pyx1511 ``-ts_eval_times <t0, ..., tn>`` sets the time span from the commandline