MGLab Code

Archive

mglab.tgz or mglab.zip

Description

This is a public domain set of Matlab functions written by James Bordner and Faisal Saied. MGLab is an interactive environment for experimenting with multigrid algorithms. MGLab can solve two dimensional elliptic partial differential equations using finite differences and includes several built-in problems (Poisson, Helmholtz, discontinuous coefficient problems, and nonselfadjoint problems). A number of parameters controlling the V cycle can be set using a point and click mechanism. The menu based user interface also allows a choice of several Krylov subspace accelerators (PCG, GMRES(k), and BiCGSTAB). The package exploits Matlab's visualization and sparse matrix features. It has also been structured to be extensible.

Archive Contents

There are many files in the archive mglab.tgz or mglab.zip:

mglab:
total 504
-rw-r--r--   1274 Jun 20  1995 Contents.m
-rw-r--r--  19764 Jun 20  1995 MGLab.m
-rw-r--r--   5279 Jun 20  1995 MGLab_info.m
-rw-r--r--   3766 Jun 20  1995 README
-rw-r--r--   1587 Jun 20  1995 coarse_grid_solve.m
-rw-r--r--    451 Jun 20  1995 coarsest.m
-rw-r--r--   1193 Jun 20  1995 converged.m
-rw-r--r--   3507 Jun 20  1995 demo1.m
-rw-r--r--   3311 Jun 20  1995 demo1_run.m
-rw-r--r--   2839 Jun 20  1995 demo2.m
-rw-r--r--   1906 Jun 20  1995 demo2_Vcycle.m
-rw-r--r--   1442 Jun 20  1995 demo2_run.m
-rw-r--r--   3599 Jun 20  1995 demo3.m
-rw-r--r--   3496 Jun 20  1995 demo3_run.m
-rw-r--r--    872 Jun 20  1995 demo3_vmg.m
-rw-r--r--     34 Jun 20  1995 demo_globals.m
-rw-r--r--   1072 Jun 20  1995 extract_globals.m
-rw-r--r--    585 Jun 20  1995 fmg.m
-rw-r--r--    620 Jun 20  1995 fmg_cycle.m
-rw-r--r--    384 Jun 20  1995 get_SOR_omega.m
-rw-r--r--   1151 Jun 20  1995 get_matrix.m
-rw-r--r--    558 Jun 20  1995 get_rhs.m
-rw-r--r--    865 Jun 20  1995 halfvmg_cycle.m
-rw-r--r--    258 Jun 20  1995 include_figs.m
-rw-r--r--   1696 Jun 20  1995 include_flags.m
-rw-r--r--    774 Jun 20  1995 include_globals.m
-rw-r--r--   1856 Jun 20  1995 interpolate.m
-rw-r--r--    421 Jun 20  1995 max_level.m
-rw-r--r--    510 Jun 20  1995 menu_header.m
-rw-r--r--    553 Jun 20  1995 menu_item.m
-rw-r--r--    872 Jun 20  1995 mg_cycle.m
-rw-r--r--   1779 Jun 20  1995 multigrid_setup.m
-rw-r--r--   1561 Jun 20  1995 pbicgstab.m
-rw-r--r--   1195 Jun 20  1995 pcg.m
-rw-r--r--   2269 Jun 20  1995 pcgs.m
-rw-r--r--   1871 Jun 20  1995 pgmres.m
-rw-r--r--    340 Jun 20  1995 precond_mg.m
-rw-r--r--   1158 Jun 20  1995 precondition.m
-rw-r--r--    450 Jun 20  1995 residual.m
-rw-r--r--   1634 Jun 20  1995 restrict.m
-rw-r--r--    720 Jun 20  1995 run.m
-rw-r--r--   2541 Jun 20  1995 set_defaults.m
-rw-r--r--   6786 Jun 20  1995 show_params.m
-rw-r--r--    498 Jun 20  1995 sint.m
-rw-r--r--    227 Jun 20  1995 sint2.m
-rw-r--r--   1338 Jun 20  1995 smooth.m
-rw-r--r--   1403 Jun 20  1995 solve.m
-rw-r--r--   1230 Jun 20  1995 sor.m
-rw-r--r--   1509 Jun 20  1995 sp_convdiff.m
-rw-r--r--   2208 Jun 20  1995 sp_cutsq2d.m
-rw-r--r--   1424 Jun 20  1995 sp_laplace.m
-rw-r--r--    883 Jun 20  1995 sp_prolong.m
-rw-r--r--    379 Jun 20  1995 update_results.m
-rw-r--r--   2228 Jun 20  1995 version_info.m
-rw-r--r--   1109 Jun 20  1995 vmg.m
-rw-r--r--    858 Jun 20  1995 vmg_cycle.m
-rw-r--r--    944 Jun 20  1995 wmg_cycle.m

Cheers,
Craig C. Douglas

Last modified: