| 1 |
listing |
| 2 |
|
| 3 |
character*20 MMMM,MACH,SOL, chari |
| 4 |
integer nbv,dim,nbfield |
| 5 |
dynamique mach(*),sol(*,*) |
| 6 |
real aaa,bbb |
| 7 |
integer i,j |
| 8 |
MMMM = ' ' |
| 9 |
MACH = ' ' |
| 10 |
|
| 11 |
do i = 0,19 |
| 12 |
destroy all |
| 13 |
c exec('./MkMach '//charac(i)) |
| 14 |
MMMM = 'MESH_'//charac(i) |
| 15 |
MACH = 'MACH_'//charac(i) |
| 16 |
SOL = 'SOL_'//charac(i) |
| 17 |
print *,'"',MACH,'" "',SOL,'"' |
| 18 |
readg emc2 MMMM |
| 19 |
print *,'"',MACH,'" "',SOL,'"' |
| 20 |
readg bb SOL |
| 21 |
print *,'--------' |
| 22 |
look : 1 emc2 D2 MMMM |
| 23 |
print *,'1 --------' |
| 24 |
sizeof SOL nbfield ,nbv,dim |
| 25 |
print *,'2 --------',nbv,dim,nbfield |
| 26 |
new sol(nbfield,nbv) |
| 27 |
get SOL sol |
| 28 |
print *,'3 --------' |
| 29 |
new mach(nbv) |
| 30 |
aaa=0 |
| 31 |
bbb=1000 |
| 32 |
do j=1,nbv |
| 33 |
mach(j) = sqrt(sol(1,j)**2 + sol(2,j)**2) |
| 34 |
aaa=max(aaa,mach(j)) |
| 35 |
bbb=min(bbb,mach(j)) |
| 36 |
enddo |
| 37 |
print *,'min = ',bbb,' max = ',aaa,' ------------------' |
| 38 |
print *,'----------------------------------------------' |
| 39 |
set ssom D2 scal MACH mach nbv |
| 40 |
how2look faces_vues |
| 41 |
how2look line_skin |
| 42 |
zoomp 1, 41.74853, 45.43906, 50.96038, 56.97087 |
| 43 |
refresh |
| 44 |
exec('rm '// MMMM(1:index(MMMM,' ')-1) //'.ps '//MACH(1:index(MACH,' ')-1)//'.ps') |
| 45 |
! soft_copy 'np nlogo ncadre v x10 y7 f'//MMMM |
| 46 |
! refresh |
| 47 |
look : 1 scal D2 MACH |
| 48 |
with isovalue number 50 from 1 to 1.5 ! bw |
| 49 |
zoomp 1, 41.74853, 45.43906, 50.96038, 56.97087 |
| 50 |
! refresh |
| 51 |
! how2look no_skin |
| 52 |
refresh |
| 53 |
with isovalue drawing |
| 54 |
with isovalue filling |
| 55 |
soft_copy 'np color nlogo ncadre v x10 y7 f'//MACH |
| 56 |
! soft_copy 'np nlogo ncadre v x10 y7 f'//MACH |
| 57 |
free sol |
| 58 |
free mach |
| 59 |
enddo |
| 60 |
print *,' ON A FINI ET OUI' |
| 61 |
end |
| 62 |
; |