inner product is associated to energy norm
up