3 |
C |
C |
4 |
C The original m1qn3 has been modified to work "offline", i.e. |
C The original m1qn3 has been modified to work "offline", i.e. |
5 |
C the simulator and the driver of m1qn3_offline are separate |
C the simulator and the driver of m1qn3_offline are separate |
6 |
C program that are called alternatingly from a (shell-)script. |
C programs that are called alternatingly from a (shell-)script. |
7 |
C This requires that the "state" of m1qn3 is saved at before |
C This requires that the "state" of m1qn3 is saved before |
8 |
C this program terminates. Communication with the routine |
C this program terminates. Communication with the routine |
9 |
C writing and restoring the state of m1qn3 is achieved via |
C writing and restoring the state of m1qn3 is achieved via |
10 |
C 3 new common-blocks that are contained in 3 header files. |
C 3 new common-blocks that are contained in 3 header files. |
429 |
& reverse,reentry,izs(*) |
& reverse,reentry,izs(*) |
430 |
real rzs(*) |
real rzs(*) |
431 |
double precision x(n),f,g(n),dxmin,df1,epsg,d(n),gg(n),diag(n), |
double precision x(n),f,g(n),dxmin,df1,epsg,d(n),gg(n),diag(n), |
432 |
& aux(n),alpha(m),ybar(n,1),sbar(n,1),dzs(*) |
& aux(n),alpha(m),ybar(n,*),sbar(n,*),dzs(*) |
433 |
|
CML & aux(n),alpha(m),ybar(n,1),sbar(n,1),dzs(*) |
434 |
external simul,prosca,ctonb,ctcab |
external simul,prosca,ctonb,ctcab |
435 |
c |
c |
436 |
c variables locales |
c variables locales |
437 |
c |
c |
438 |
logical skip_update |
logical skip_update |
439 |
integer i,moderl |
integer i |
|
double precision preco,precos,ys,den,dk1,ps,ps2,hp0 |
|
440 |
#include "m1qn3a_common.h" |
#include "m1qn3a_common.h" |
441 |
CML logical sscale,cold,warm,skip_update |
CML logical sscale,cold,warm,skip_update |
442 |
CML integer i,itmax,moderl,isim,jcour |
CML integer i,itmax,moderl,isim,jcour |
1133 |
c --- variables locales |
c --- variables locales |
1134 |
c |
c |
1135 |
#include "mlis3_common.h" |
#include "mlis3_common.h" |
1136 |
logical t_increased |
integer i |
|
integer i,indica,indicd |
|
1137 |
double precision taa,ps |
double precision taa,ps |
1138 |
CML save t_increased,i,indica,indicd,tesf,tesd,tg,fg,fpg,td,ta,fa, |
CML save t_increased,i,indica,indicd,tesf,tesd,tg,fg,fpg,td,ta,fa, |
1139 |
CML & fpa,d2,fn,fp,ffn,fd,fpd,z,test,barmin,barmul,barmax,barr, |
CML & fpa,d2,fn,fp,ffn,fd,fpd,z,test,barmin,barmul,barmax,barr, |