Make 'constant_dirichlet' option work