Lines Matching refs:vol

2202       PetscReal      vol  = 0.0;  in DMPlexComputeClementInterpolant()  local
2235 vol += wt; in DMPlexComputeClementInterpolant()
2241 volsum += vol; in DMPlexComputeClementInterpolant()
2335 PetscReal vol = 0.0; in DMPlexComputeGradientClementInterpolant() local
2370 vol += quadWeights[q * qNc] * fegeom.detJ[q]; in DMPlexComputeGradientClementInterpolant()
2379 volsum += vol; in DMPlexComputeGradientClementInterpolant()
4281 …d, Vec faceGeometry, Vec cellGeometry, PetscInt *Nface, PetscFVFaceGeom *fgeom[], PetscReal *vol[]) in DMPlexGetFaceGeometry() argument
4293 PetscAssertPointer(vol, 8); in DMPlexGetFaceGeometry()
4301 PetscCall(DMGetWorkArray(dm, numFaces * 2, MPIU_SCALAR, vol)); in DMPlexGetFaceGeometry()
4307 PetscReal *voll = *vol; in DMPlexGetFaceGeometry()
4351 …d, Vec faceGeometry, Vec cellGeometry, PetscInt *Nface, PetscFVFaceGeom *fgeom[], PetscReal *vol[]) in DMPlexRestoreFaceGeometry() argument
4355 PetscCall(DMRestoreWorkArray(dm, 0, MPIU_REAL, vol)); in DMPlexRestoreFaceGeometry()
4478 PetscReal *vol = NULL; in DMPlexComputeResidual_Patch_Internal() local
4533 PetscCall(PetscFVIntegrateRHSFunction(fv, prob, f, Ne, fgeom, vol, uL, uR, fluxL, fluxR)); in DMPlexComputeResidual_Patch_Internal()
5281 PetscReal *vol; in DMPlexComputeResidualByKey() local
5295 …Call(DMPlexGetFaceGeometry(dm, fS, fE, faceGeometryFVM, cellGeometryFVM, &numFaces, &fgeom, &vol)); in DMPlexComputeResidualByKey()
5344 PetscCall(PetscFVIntegrateRHSFunction(fv, ds, f, Ne, fgeom, vol, uL, uR, fluxL, fluxR)); in DMPlexComputeResidualByKey()
5454 …(DMPlexRestoreFaceGeometry(dm, fS, fE, faceGeometryFVM, cellGeometryFVM, &numFaces, &fgeom, &vol)); in DMPlexComputeResidualByKey()
6322 PetscReal vol; in DMPlexComputeJacobianByKey() local
6324 PetscCall(DMPlexComputeCellGeometryFVM(dm, c, &vol, NULL, NULL)); in DMPlexComputeJacobianByKey()
6329 if (hasJac) elemMat[eOffset + i * totDim + i] = vol; in DMPlexComputeJacobianByKey()
6330 elemMatP[eOffset + i * totDim + i] = vol; in DMPlexComputeJacobianByKey()
6332 elemMat[eOffset + i * totDim + i] = vol; in DMPlexComputeJacobianByKey()
6545 PetscReal vol; in DMPlexComputeJacobianByKeyGeneral() local
6547 PetscCall(DMPlexComputeCellGeometryFVM(dmr, c, &vol, NULL, NULL)); in DMPlexComputeJacobianByKeyGeneral()
6552 if (hasJac) elemMat[eOffset + i * ctotDim + i] = vol; in DMPlexComputeJacobianByKeyGeneral()
6553 elemMatP[eOffset + i * ctotDim + i] = vol; in DMPlexComputeJacobianByKeyGeneral()
6555 elemMat[eOffset + i * ctotDim + i] = vol; in DMPlexComputeJacobianByKeyGeneral()