Searched refs:vsum (Results 1 – 1 of 1) sorted by relevance
2802 PetscReal vsum = 0.0, vtmp, coordsTmp[3 * 3], origin[3]; in DMPlexComputeGeometryFVM_3D_Internal() local2847 vsum += vtmp; in DMPlexComputeGeometryFVM_3D_Internal()2872 vsum += vtmp; in DMPlexComputeGeometryFVM_3D_Internal()2886 vsum += vtmp; in DMPlexComputeGeometryFVM_3D_Internal()2901 if (vol) *vol = PetscAbsReal(vsum); in DMPlexComputeGeometryFVM_3D_Internal()2905 for (d = 0; d < dim; ++d) centroid[d] = centroid[d] / (vsum * 4) + origin[d]; in DMPlexComputeGeometryFVM_3D_Internal()