non-dimensional hamiltonian