Lines Matching refs:vtmp
2802 PetscReal vsum = 0.0, vtmp, coordsTmp[3 * 3], origin[3]; in DMPlexComputeGeometryFVM_3D_Internal() local
2845 Volume_Tetrahedron_Origin_Internal(&vtmp, coordsTmp); in DMPlexComputeGeometryFVM_3D_Internal()
2846 if (flip) vtmp = -vtmp; in DMPlexComputeGeometryFVM_3D_Internal()
2847 vsum += vtmp; in DMPlexComputeGeometryFVM_3D_Internal()
2850 for (p = 0; p < 3; ++p) centroid[d] += coordsTmp[p * dim + d] * vtmp; in DMPlexComputeGeometryFVM_3D_Internal()
2870 Volume_Tetrahedron_Origin_Internal(&vtmp, coordsTmp); in DMPlexComputeGeometryFVM_3D_Internal()
2871 if (flip) vtmp = -vtmp; in DMPlexComputeGeometryFVM_3D_Internal()
2872 vsum += vtmp; in DMPlexComputeGeometryFVM_3D_Internal()
2875 for (p = 0; p < 3; ++p) centroid[d] += coordsTmp[p * dim + d] * vtmp; in DMPlexComputeGeometryFVM_3D_Internal()
2884 Volume_Tetrahedron_Origin_Internal(&vtmp, coordsTmp); in DMPlexComputeGeometryFVM_3D_Internal()
2885 if (flip) vtmp = -vtmp; in DMPlexComputeGeometryFVM_3D_Internal()
2886 vsum += vtmp; in DMPlexComputeGeometryFVM_3D_Internal()
2889 for (p = 0; p < 3; ++p) centroid[d] += coordsTmp[p * dim + d] * vtmp; in DMPlexComputeGeometryFVM_3D_Internal()