Searched refs:volsum (Results 1 – 1 of 1) sorted by relevance
2192 PetscScalar volsum = 0.0; in DMPlexComputeClementInterpolant() local2241 volsum += vol; in DMPlexComputeClementInterpolant()2251 for (fc = 0; fc < Nc; ++fc) valsum[fc] /= volsum; in DMPlexComputeClementInterpolant()2325 PetscScalar volsum = 0.0; in DMPlexComputeGradientClementInterpolant() local2379 volsum += vol; in DMPlexComputeGradientClementInterpolant()2392 for (d = 0; d < coordDim; ++d) gradsum[fc * coordDim + d] /= volsum; in DMPlexComputeGradientClementInterpolant()