first version on local solvers 1D, needs testing and later interface change