This commit is contained in:
tTh
2024-02-07 00:39:00 +01:00
parent 7d0e302e09
commit d1b7218b21
3 changed files with 10 additions and 46 deletions

View File

@@ -6,15 +6,15 @@ module mathstuff2
implicit none
contains
! ----------------------------------------------------------------
! really quick'n'dirty hack
! not really tested yet...
! ----------------------------------------------------------------
! really quick'n'dirty hack
! not really tested yet...
subroutine init_random_seed()
integer, dimension(3) :: tarray
integer :: t3, foo
real :: dummy
call itime(tarray)
t3 = 3600*tarray(1) + 60*tarray(2) + tarray(3)
! write(0, '(A,3I3,A,I6)') "sranding: ", tarray, " --> ", t3
@@ -28,8 +28,10 @@ module mathstuff2
end subroutine
! ----------------------------------------------------------------
! ----------------------------------------------------------------
!-
!- May be I can make some generic procedures ?
!-
logical function diff_sign(a, b)
integer, intent(in) :: a, b
@@ -45,8 +47,6 @@ logical function diff_sign(a, b)
diff_sign = .FALSE.
end function
! ----------------------------------------------------------------
! ----------------------------------------------------------------
end module mathstuff2