HMC with custom potential_fn: How to specify support?

Also, how does this compare to this alternative approach I just found: Am I using HMC/NUTS/MCMC correctly? - #16 by neerajprad