Some functions for neumann BC weak form