The mef2.0 distribution should contain the following files: ReadMe cmb_mgs.pro create_msk.pro create_psi_bc.pro fill_msk.pro mef_vel.pro smooth_vel.pro sphmk_test.pro (Since you're reading this you have at least one of these). Documentation for each program is found at the beginning of the file. The main work-horse is mef_vel.pro, which contains the routine mef_vel() as well as many auxiliary routines. The program, sphmk_test(), generates a test case, and is included to get you started. Below is the series of steps to infer an MEF flow for the test case: mg = sphmk_test( n=40 ) create_msk, mg, thr=0.01 vel = mef_vel( mg ) vel = smooth_vel( vel ) vel = mef_vel( mg, vel=vel ) The structure vel should now contain a flow field consistent with the change found in mg.db