Home
last modified time | relevance | path

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

/petsc/src/ts/impls/implicit/discgrad/ !
H A Dtsdiscgrad.c291 Vec X0, Xdot, Xp, Xdiff; in SNESTSFormFunction_DiscGrad() local
301 PetscCall(VecDuplicate(y, &Xp)); in SNESTSFormFunction_DiscGrad()
325 PetscCall(VecAXPBYPCZ(Xp, -1, 2, 0, X0, x)); /* Xp = 2*x - X0 + (0)*Xp */ in SNESTSFormFunction_DiscGrad()
326 PetscCall(VecAXPBYPCZ(Xdiff, -1, 1, 0, X0, Xp)); /* Xdiff = xp - X0 + (0)*Xdiff */ in SNESTSFormFunction_DiscGrad()
329 PetscCall(PetscObjectSetName((PetscObject)Xp, "Xp")); in SNESTSFormFunction_DiscGrad()
331 PetscCall(VecViewFromOptions(Xp, NULL, "-Xp_view")); in SNESTSFormFunction_DiscGrad()
352 PetscCall(VecAXPBYPCZ(Xquad, xi, xim1, 1.0, X0, Xp)); in SNESTSFormFunction_DiscGrad()
362 PetscCall((*dg->Ffunc)(ts, dg->stage_time, Xp, &F, dg->funcCtx)); in SNESTSFormFunction_DiscGrad()
395 PetscCall(VecDestroy(&Xp)); in SNESTSFormFunction_DiscGrad()
/petsc/src/ts/tutorials/power_grid/ !
H A Dex5.c55 PetscReal Xp; /* Xs + Xm*Xr/(Xm + Xr) */ member
158 user->Xp = user->Xs + user->Xm * user->Xr / (user->Xm + user->Xr); in SetInductionGeneratorParams()
/petsc/src/dm/impls/plex/ !
H A Dplexcreate.c4011 …0, Pp = 41, Qp = 42, Rp = 43, Sp = 44, Tp = 45, Up = 46, Vp = 47, Wp = 48, Xp = 49, Yp = 50, Zp = … in DMPlexCreateTPSMesh_Internal() local
4073 {Up, Qp + 56 * 3, Xp + 56 * 1, Dq }, in DMPlexCreateTPSMesh_Internal()
4076 {Qp + 56 * 2, Vp, Bq, Xp }, in DMPlexCreateTPSMesh_Internal()
4082 {Dq, Xp + 56 * 1, B + 56 * 5, E + 56 * 4 }, in DMPlexCreateTPSMesh_Internal()
4085 {Xp, Bq, F + 56 * 4, B + 56 * 4 } in DMPlexCreateTPSMesh_Internal()