Artifact 27453a1721cff21ae3f9189171857f456b30ae1b519415c5d10336280e3dd97e:
- Executable file mtt/bin/trans/m/mtt_update.m — part of check-in [af3953deae] at 2021-03-01 11:39:42 on branch master — Cleanup repository after cvs2git conversion. (user: jeff@gridfinity.com, size: 322) [annotate] [blame] [check-ins using] [more...]
- Executable file mttroot/mtt/bin/trans/m/mtt_update.m — part of check-in [1933fb3af7] at 1998-08-26 19:07:17 on branch origin/master — Euler or Implicit only (user: gawthrop@users.sourceforge.net, size: 322) [annotate] [blame] [check-ins using]
function [x] = mtt_update(dx,x,dt,STEPFACTOR,METHOD,name); if (METHOD==1) #Euler ddt = dt/STEPFACTOR; x = x + dx*ddt; elseif (METHOD==2) #Linear implicit or Implicit eval("[AA,AAx] = ",name,"_smx;"); x = AA\(AAx + dx*dt); else error("Method %i is not defined", METHOD); endif; endfunction;