added support for different SWE solvers