add gauge library
add energy density gauge