made grid,poissoneq,boundaryconditions class objects as const in sor
class