Question: I would like to convert to fallowing algorithm to a Matlab code GRID METHOD (GMG) Two-Grid Cycle Algorithm 1) few GS iterations on the system
GRID METHOD (GMG) Two-Grid Cycle Algorithm 1) few GS iterations on the system A,xi -b, Pre-smoothing h step to obtain an approximate solution x 2) Compute the residual r. -b-A,J 3) Restrict the residual ru- 4) Solve residual equation Restriction step e, = r,, ProloCorrectio 'H n step on coarse mesh 5) Interpolate eh ??? Prolongation 6)Update x,-x,+c
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
