File tree Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -60,6 +60,25 @@ abstract type Cycle end
60
60
struct V <: Cycle
61
61
end
62
62
63
+ """
64
+ solve(ml::MultiLevel, b::Vector, cycle, kwargs...)
65
+
66
+ Execute multigrid cycling.
67
+
68
+ Arguments
69
+ =========
70
+ * ml::MultiLevel - the multigrid hierarchy
71
+ * b::Vector - the right hand side
72
+ * cycle - multigird cycle to execute at each iteration. Defaults to AMG.V()
73
+
74
+ Keyword Arguments
75
+ =================
76
+ * tol::Float64 - tolerance criteria for convergence
77
+ * maxiter::Int64 - maximum number of iterations to execute
78
+ * verbose::Bool - display residual at each iteration
79
+ * log::Bool - return vector of residuals along with solution
80
+
81
+ """
63
82
function solve {T} (ml:: MultiLevel , b:: Vector{T} ,
64
83
cycle:: Cycle = V ();
65
84
maxiter:: Int = 100 ,
You can’t perform that action at this time.
0 commit comments