Home
last modified time | relevance | path

Searched refs:Dot2Real (Results 1 – 2 of 2) sorted by relevance

/petsc/src/ts/tutorials/
H A Dex11.h113 static inline PetscReal Dot2Real(const PetscReal *x, const PetscReal *y) in Dot2Real() function
119 return PetscSqrtReal(PetscAbsReal(Dot2Real(x, x))); in Norm2Real()
219 …speed = PetscMax(PetscAbsReal(Dot2Real(uL->uh, nn) / uL->h) + cL, PetscAbsReal(Dot2Real(uR->uh, nn… in PhysicsRiemann_SW_Rusanov()
319 u_L = Dot2Real(uL->uh, nn) / uL->h; in PhysicsRiemann_SW_HLL()
320 u_R = Dot2Real(uR->uh, nn) / uR->h; in PhysicsRiemann_SW_HLL()
H A Dex11.c207 wn = Dot2Real(wind, n); in PhysicsRiemann_Advect()
372 f[sw->functional.Energy] = 0.5 * (Dot2Real(x->uh, u) + sw->gravity * PetscSqr(h)); in PhysicsFunctional_SW()
818 m[f * numFaces + g] = Dot2Real(fgA->normal, fgB->normal) * area * 0.5; in CreateMassMatrix()