Home
last modified time | relevance | path

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

/petsc/src/ts/tutorials/
H A Dex11.h170 …tscReal *qp, const PetscReal *n, const PetscScalar *xL, const PetscScalar *xR, PetscInt numConstan… in PhysicsRiemann_SW_Rusanov() argument
176 const SWNode *uL = (const SWNode *)xL, *uR = (const SWNode *)xR; in PhysicsRiemann_SW_Rusanov()
191 for (i = 0; i < 1 + dim; i++) uRreal.vals[i] = PetscRealPart(xR[i]); in PhysicsRiemann_SW_Rusanov()
220 …m; i++) flux[i] = (0.5 * (fL.vals[i] + fR.vals[i]) + 0.5 * speed * (xL[i] - xR[i])) * Norm2Real(n); in PhysicsRiemann_SW_Rusanov()
230 const CeedScalar *xL = in[0], *xR = in[1], *geom = in[2]; in PhysicsRiemann_SW_Rusanov_CEED() local
242 const CeedScalar qR[3] = {xR[i + Q * 0], xR[i + Q * 1], xR[i + Q * 2]}; in PhysicsRiemann_SW_Rusanov_CEED()
270 …tscReal *qp, const PetscReal *n, const PetscScalar *xL, const PetscScalar *xR, PetscInt numConstan… in PhysicsRiemann_SW_HLL() argument
276 const SWNode *uL = (const SWNode *)xL, *uR = (const SWNode *)xR; in PhysicsRiemann_SW_HLL()
291 for (i = 0; i < 1 + dim; i++) uRreal.vals[i] = PetscRealPart(xR[i]); in PhysicsRiemann_SW_HLL()
329 …for (i = 0; i < dim + 1; i++) flux[i] = ((sR * fL.vals[i] - sL * fR.vals[i] + sR * sL * (xR[i] - x… in PhysicsRiemann_SW_HLL()
[all …]
H A Dex11.c161 …tscReal *qp, const PetscReal *n, const PetscScalar *xL, const PetscScalar *xR, PetscInt numConstan… in PhysicsRiemann_Advect() argument
208 flux[0] = (wn > 0 ? xL[0] : xR[0]) * wn; in PhysicsRiemann_Advect()
/petsc/src/dm/impls/plex/
H A Dplexfem.c4146 PetscScalar *xL, *xR, *gL, *gR; in DMPlexGetFaceFields() local
4166 xL = xR = NULL; in DMPlexGetFaceFields()
4169 PetscCall(DMPlexVecGetClosure(dm, section, locX, cells[1], &rdof, &xR)); in DMPlexGetFaceFields()
4183 …coneSizeR) PetscCall(PetscFEEvaluateFaceFields_Internal(prob, f, faceLocR, xR, &uRl[iface * Nc + o… in DMPlexGetFaceFields()
4188 … PetscCall(PetscFEEvaluateFaceFields_Internal(prob, f, faceLocR, xR, &uRl[iface * Nc + off])); in DMPlexGetFaceFields()
4193 PetscCall(DMPlexVecRestoreClosure(dm, section, locX, cells[1], &rdof, &xR)); in DMPlexGetFaceFields()
4201 PetscCall(DMPlexPointLocalFieldRead(dm, cells[1], f, x, &xR)); in DMPlexGetFaceFields()
4211 uRl[iface * Nc + off + c] = xR[c] + DMPlex_DotD_Internal(dim, &gR[c * dim], dxR); in DMPlexGetFaceFields()
4216 uRl[iface * Nc + off + c] = xR[c]; in DMPlexGetFaceFields()