Home
last modified time | relevance | path

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

/petsc/src/dm/impls/plex/
H A Dplexgeometry.c2802 PetscReal vsum = 0.0, vtmp, coordsTmp[3 * 3], origin[3]; in DMPlexComputeGeometryFVM_3D_Internal() local
2847 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()