Differences From Artifact [5b28cc85bb]:
- Executable file mttroot/mtt/bin/trans/p/mtt_implicit.p — part of check-in [808b684fb7] at 2000-05-18 18:45:32 on branch origin/master — Removed totally stupid bug that's lived here for years!! (user: gawthrop@users.sourceforge.net, size: 888) [annotate] [blame] [check-ins using]
To Artifact [e4c58449c4]:
- Executable file mtt/bin/trans/p/mtt_implicit.p — 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: 909) [annotate] [blame] [check-ins using] [more...]
- Executable file mttroot/mtt/bin/trans/p/mtt_implicit.p — part of check-in [409432c3fd] at 2000-12-28 12:02:19 on branch origin/master — *** empty log message *** (user: gawthrop@users.sourceforge.net, size: 909) [annotate] [blame] [check-ins using]
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | + + | PROCEDURE mtt_implicit(VAR xnew : StateVector; x,dx : StateVector; AA : StateMatrix; AAx : StateVector; dt : REAL; Nx : INTEGER; open : StateVector); VAR i,ii,j,jj,Nxsub : INTEGER; BB,xsub : StateVector; AAsub : StateMatrix; (*$I $MTTPATH/trans/p/mtt_solve.p *) BEGIN{mtt_implicit} ii := 0; FOR i := 1 TO Nx DO {BB is (1-A*dt)*x +dx*dt} BEGIN IF open[i]<0.5 THEN BEGIN ii := ii+1; jj := 0; |
︙ | |||
37 38 39 40 41 42 43 | 39 40 41 42 43 44 45 46 47 48 | - | IF open[i]<0.5 THEN BEGIN ii := ii+1; xnew[i] := xsub[ii]; END ELSE xnew[i] := 0.0; |