Searched refs:fluxL (Results 1 – 3 of 3) sorted by relevance
| /petsc/src/dm/dt/fv/interface/ |
| H A D | fv.c | 1731 …, PetscReal *neighborVol, PetscScalar uL[], PetscScalar uR[], PetscScalar fluxL[], PetscScalar flu… in PetscFVIntegrateRHSFunction() argument 1735 …PetscTryTypeMethod(fvm, integraterhsfunction, prob, field, Nf, fgeom, neighborVol, uL, uR, fluxL, … in PetscFVIntegrateRHSFunction() 1907 …, PetscReal *neighborVol, PetscScalar uL[], PetscScalar uR[], PetscScalar fluxL[], PetscScalar flu… in PetscFVIntegrateRHSFunction_Upwind() argument 1927 fluxL[f * totDim + off + d] = flux[d] / neighborVol[f * 2 + 0]; in PetscFVIntegrateRHSFunction_Upwind() 2189 …, PetscReal *neighborVol, PetscScalar uL[], PetscScalar uR[], PetscScalar fluxL[], PetscScalar flu… in PetscFVIntegrateRHSFunction_LeastSquares() argument 2209 fluxL[f * totDim + off + d] = flux[d] / neighborVol[f * 2 + 0]; in PetscFVIntegrateRHSFunction_LeastSquares()
|
| /petsc/src/ts/tutorials/ |
| H A D | ex10.c | 206 PetscScalar D_L, D_R, fluxL, fluxR; in RDDiffusion() local 213 fluxL = D_L * nx_L.E; in RDDiffusion() 238 return ihx * (fluxR - fluxL); in RDDiffusion()
|
| /petsc/src/dm/impls/plex/ |
| H A D | plexfem.c | 4477 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 5296 PetscCall(DMGetWorkArray(dm, numFaces * totDim, MPIU_SCALAR, &fluxL)); in DMPlexComputeResidualByKey() 5298 PetscCall(PetscArrayzero(fluxL, numFaces * totDim)); in DMPlexComputeResidualByKey() 5344 PetscCall(PetscFVIntegrateRHSFunction(fv, ds, f, Ne, fgeom, vol, uL, uR, fluxL, fluxR)); in DMPlexComputeResidualByKey() 5401 … PetscCall(DMPrintCellVector(face, "Residual: left flux", pdim, &fluxL[iface * totDim + foff])); in DMPlexComputeResidualByKey() 5405 if (fL) fL[d] -= fluxL[iface * totDim + foff + d]; in DMPlexComputeResidualByKey() 5455 PetscCall(DMRestoreWorkArray(dm, numFaces * totDim, MPIU_SCALAR, &fluxL)); in DMPlexComputeResidualByKey()
|