Overview
Comment:Euler or Implicit only
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: 1933fb3af77d53ec05daaf4cdc0c0faba611591a8ebb2fcdda43ff6923ce1a9a
User & Date: gawthrop@users.sourceforge.net on 1998-08-26 19:07:17
Other Links: branch diff | manifest | tags
Context
1998-08-27
06:48:20
Changed mttxx to mttx - in implicit integration smx is called once
with x in the linearisation the same as x in the current state
check-in: da7781f1c7 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
1998-08-26
19:07:17
Euler or Implicit only check-in: 1933fb3af7 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
18:25:45
SMX now generates both A and Ax check-in: d53ca510c5 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
Changes

Modified mttroot/mtt/bin/trans/m/mtt_update.m from [d664b9210d] to [27453a1721].

1

2
3
4
5
6



7
8
9
10
11
12

1
2
3
4


5
6
7
8
9
10
11
12
13
-
+



-
-
+
+
+






function [x] = mtt_update(dx,x,AAx,AA,dt,STEPFACTOR,Nx,METHOD);
function [x] = mtt_update(dx,x,dt,STEPFACTOR,METHOD,name);

  if (METHOD==1)		#Euler
    ddt = dt/STEPFACTOR;
      x = x + dx*ddt;
  elseif ((METHOD==2)||(METHOD==3))#Linear implicit or Implicit
    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;


MTT: Model Transformation Tools
GitHub | SourceHut | Sourceforge | Fossil RSS ]