(lvl, omega=0.5, iterations=DEFAULT_NITER, sweep=DEFAULT_SWEEP)
return smoother
Set up SOR.
Set up SOR.
Set up SOR .
def setup_sor(lvl, omega=0.5, iterations=DEFAULT_NITER, sweep=DEFAULT_SWEEP):
    """Set up SOR."""
    def smoother(A, x, b):
        relaxation.sor(A, x, b, omega=omega, iterations=iterations,
                       sweep=sweep)
    return smoother
def setup_sor ( lvl , omega = 0.5 , iterations = DEFAULT_NITER , sweep = DEFAULT_SWEEP ) : def smoother ( A , x , b ) : relaxation . sor ( A , x , b , omega = omega , iterations = iterations , sweep = sweep ) return smoother