Index: /issm/trunk/scripts/historyISSM.m
===================================================================
--- /issm/trunk/scripts/historyISSM.m	(revision 2387)
+++ /issm/trunk/scripts/historyISSM.m	(revision 2387)
@@ -0,0 +1,28 @@
+%  --  startup --
+startup
+exit
+%  --  vim --
+!vim Pig.par
+!vim Square.par
+!vim updatearchive.m
+!vim runme.m
+%  --  execution --
+runme
+updatearchive
+%  --  tests  --
+runme
+md=runme('analysis_type',{'diagnostic'});
+%  --  tweak parameters --
+md.connectivity=100;
+md.eps_abs=NaN;
+md.eps_rel=0.01;
+md.numberofelements
+md.numberofgrids
+%  --  model set up  --
+md=extrude(md,8,3);
+md=setelementstype(md,'pattyn','all','stokes','all');
+md=setelementstype(md,'macayeal','all');
+%  --  solve --
+md=solve(md,'analysis_type','diagnostic')
+%  --  plots  --
+plotmodel(md,'data',md.results.diagnostic.vel)
