Home
last modified time | relevance | path

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

/petsc/src/dm/dt/fv/interface/
H A Dfv.c1731 …tscReal *neighborVol, PetscScalar uL[], PetscScalar uR[], PetscScalar fluxL[], PetscScalar fluxR[]) in PetscFVIntegrateRHSFunction() argument
1735 …ryTypeMethod(fvm, integraterhsfunction, prob, field, Nf, fgeom, neighborVol, uL, uR, fluxL, fluxR); in PetscFVIntegrateRHSFunction()
1907 …tscReal *neighborVol, PetscScalar uL[], PetscScalar uR[], PetscScalar fluxL[], PetscScalar fluxR[]) in PetscFVIntegrateRHSFunction_Upwind() argument
1928 fluxR[f * totDim + off + d] = flux[d] / neighborVol[f * 2 + 1]; in PetscFVIntegrateRHSFunction_Upwind()
2189 …tscReal *neighborVol, PetscScalar uL[], PetscScalar uR[], PetscScalar fluxL[], PetscScalar fluxR[]) in PetscFVIntegrateRHSFunction_LeastSquares() argument
2210 fluxR[f * totDim + off + d] = flux[d] / neighborVol[f * 2 + 1]; in PetscFVIntegrateRHSFunction_LeastSquares()
/petsc/src/ts/tutorials/
H A Dex10.c206 PetscScalar D_L, D_R, fluxL, fluxR; in RDDiffusion() local
224 fluxR = D_R * nx_R.E; in RDDiffusion()
238 return ihx * (fluxR - fluxL); in RDDiffusion()
/petsc/src/dm/impls/plex/
H A Dplexfem.c4477 PetscScalar *elemVec, *fluxL = NULL, *fluxR = NULL; in DMPlexComputeResidual_Patch_Internal() local
4533 PetscCall(PetscFVIntegrateRHSFunction(fv, prob, f, Ne, fgeom, vol, uL, uR, fluxL, fluxR)); in DMPlexComputeResidual_Patch_Internal()
5280 PetscScalar *elemVec, *fluxL, *fluxR; in DMPlexComputeResidualByKey() local
5297 PetscCall(DMGetWorkArray(dm, numFaces * totDim, MPIU_SCALAR, &fluxR)); in DMPlexComputeResidualByKey()
5299 PetscCall(PetscArrayzero(fluxR, numFaces * totDim)); in DMPlexComputeResidualByKey()
5344 PetscCall(PetscFVIntegrateRHSFunction(fv, ds, f, Ne, fgeom, vol, uL, uR, fluxL, fluxR)); in DMPlexComputeResidualByKey()
5402 … PetscCall(DMPrintCellVector(face, "Residual: right flux", pdim, &fluxR[iface * totDim + foff])); in DMPlexComputeResidualByKey()
5406 if (fR) fR[d] += fluxR[iface * totDim + foff + d]; in DMPlexComputeResidualByKey()
5456 PetscCall(DMRestoreWorkArray(dm, numFaces * totDim, MPIU_SCALAR, &fluxR)); in DMPlexComputeResidualByKey()