Lines Matching refs:fv
2737 PetscInt fv[4] = {0, 1, 2, 3}; in DMPlexComputeGeometryFVM_2D_Internal() local
2745 fv[2] = 3; in DMPlexComputeGeometryFVM_2D_Internal()
2746 fv[3] = 2; in DMPlexComputeGeometryFVM_2D_Internal()
2761 e0[d] = PetscRealPart(coords[cdim * fv[p + 1] + d]) - origin[d]; in DMPlexComputeGeometryFVM_2D_Internal()
2762 e1[d] = PetscRealPart(coords[cdim * fv[p + 2] + d]) - origin[d]; in DMPlexComputeGeometryFVM_2D_Internal()
2772 …m; d++) c[d] += a * PetscRealPart(origin[d] + coords[cdim * fv[p + 1] + d] + coords[cdim * fv[p + … in DMPlexComputeGeometryFVM_2D_Internal()
2856 PetscInt fv[4] = {0, 1, 2, 3}; in DMPlexComputeGeometryFVM_3D_Internal() local
2860 fv[2] = 3; in DMPlexComputeGeometryFVM_3D_Internal()
2861 fv[3] = 2; in DMPlexComputeGeometryFVM_3D_Internal()
2866 coordsTmp[0 * dim + d] = PetscRealPart(coords[faces[fOff + fv[0]] * dim + d]) - origin[d]; in DMPlexComputeGeometryFVM_3D_Internal()
2867 coordsTmp[1 * dim + d] = PetscRealPart(coords[faces[fOff + fv[1]] * dim + d]) - origin[d]; in DMPlexComputeGeometryFVM_3D_Internal()
2868 coordsTmp[2 * dim + d] = PetscRealPart(coords[faces[fOff + fv[3]] * dim + d]) - origin[d]; in DMPlexComputeGeometryFVM_3D_Internal()
2880 coordsTmp[0 * dim + d] = PetscRealPart(coords[faces[fOff + fv[1]] * dim + d]) - origin[d]; in DMPlexComputeGeometryFVM_3D_Internal()
2881 coordsTmp[1 * dim + d] = PetscRealPart(coords[faces[fOff + fv[2]] * dim + d]) - origin[d]; in DMPlexComputeGeometryFVM_3D_Internal()
2882 coordsTmp[2 * dim + d] = PetscRealPart(coords[faces[fOff + fv[3]] * dim + d]) - origin[d]; in DMPlexComputeGeometryFVM_3D_Internal()
3450 PetscErrorCode DMPlexGetDataFVM(DM dm, PetscFV fv, Vec *cellgeom, Vec *facegeom, DM *gradDM) in DMPlexGetDataFVM() argument
3473 PetscCall(PetscFVGetComputeGradients(fv, &computeGradients)); in DMPlexGetDataFVM()
3482 PetscCall(DMPlexComputeGradientFVM(dm, fv, (Vec)facegeomobj, (Vec)cellgeomobj, &dmGradInt)); in DMPlexGetDataFVM()