For first-order elements, one way to obtain a lumped diagonal mass matrix is to sum up all the rows of the original mass matrix and assign such sum to the diagonal. However, this does not work for second-order element as there are some nodes that have negative contributions and a simple sum may result in negative values for the diagonal.
Does anybody know an efficient way of obtaining a diagional mass matrix when the domain is composed of second-order elements (particularlty tet10s)?