This Code solves a suite of 30 IRBC models using a Sparse-Grid Galerkin Projection Method.

To run the code, you can proceed in two ways:

1) Run only the model AxNy, where x e (1,..,8) and N e(2,4,6,8,10)

  Copy the folder AxNy (including subfolders) to your MATLAB work directory.	
  Make sure that the folder AxNy (including subfolders) is in your MATLAB path.
  Execute the file MAIN_FILE.m in the Solutions_Files subdirectory. This will create
	- a file PI_AxNy.MAT containing only the variables/coefficients passed to the testbench 
	- a file WSP_SOLUTION_Ax_Ny containing the whole workspace (including the variable Time_Sol which gives the running time)

2) Run all 30 models sequentially and record running times

	Copy the contents of this ZIP file to your MATLAB work directory.	
	Open the file MAINFILE_ALLMODELS.m in the folder MAINFILE_ALLMODELS
		- In the whole m-file, use SEARCH/REPLACE to correct the string 
		  C:\ML7\work\PROJECT_JEDC_December2009_FINAL to your own directory.
	Run MAINFILE_ALLMODELS.m
	Besides all PI_AxNy.MAT and WSP_SOLUTION_Ax_Ny files, this program will create a file
	DETAILS.MAT which contains
	1) the model number (1,...,30) 
	2) the computing time of the solution measured in seconds
	3) the order of approximation (by default 2)
	4) the order of perturbation solution used as an initial guess (by default 1)

	Note: before running MAINFILE_ALLMODELS.m, no single folder AxNy should be in the MATLAB search path!

(c) Paul Pichler, 2009

For further information, please contact me at paul.pichler(AT)univie.ac.at



