added dirichletDiscrete