*** Wartungsfenster jeden ersten Mittwoch vormittag im Monat ***

Skip to content
Snippets Groups Projects
Commit 68be175b authored by Bringmann, Philipp's avatar Bringmann, Philipp
Browse files

Optional more smoothing steps in CR Jacobi smoother

parent 0fb98deb
Branches
No related tags found
No related merge requests found
......@@ -61,8 +61,14 @@ classdef CRJacobiCascade < MultilevelSmoother
end
end
function Cx = smooth(obj, x, k)
function Cx = smooth(obj, x, k, nSteps)
if nargin < 4
nSteps = 1;
end
Cx = obj.patchwiseA{k} \ x;
for j = 2:nSteps
Cx = obj.patchwiseA{k} \ Cx;
end
end
function Px = prolongate(obj, x, k)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment