https://github.com/sedfoam/sedfoam/blob/master/solver/calcFavreAverage.H file

Original source file calcFavreAverage.H