rename a file

这个提交包含在:
tTh
2024-02-06 17:01:03 +01:00
父节点 98350ed6c6
当前提交 72f59b96e5
修改 2 个文件,包含 37 行新增2 行删除

查看文件

@@ -47,9 +47,9 @@ libtth90modules.a: $(OBJECTS) Makefile
#
chkpixels: chkpixels.f90 Makefile libtth90modules.a
gfortran $(GFOPT) $< libtth90modules.a -o $@
gfortran $(GFOPT) -pg $< libtth90modules.a -o $@
t: t.f90 Makefile libtth90modules.a
t_centermag: t_centermag.f90 Makefile libtth90modules.a
gfortran $(GFOPT) $< libtth90modules.a -o $@
trnd: trnd.f90 Makefile libtth90modules.a

35
Modules/t_centermag.f90 普通文件
查看文件

@@ -0,0 +1,35 @@
program t
use centermag
implicit none
type(t_centermag) :: cmag
print *, '====== programme de test ======'
cmag%wscr = 800
cmag%hscr = 600
call essai_centermag(cmag)
print *
STOP ': PAF LE CHIEN ?'
! --------------
contains
! --------------
subroutine essai_centermag(cm)
type(t_centermag), intent(in) :: cm
real :: rx, ry
call print_centermag (cm)
print *
call centermag_scr2real(1, 1, rx, ry)
print *, 'to real :', rx, ry
end subroutine
! --------------
end program