17 integer(ikind),
parameter :: max_call_deep=100
18 character(skind) :: sub_called(max_call_deep)
19 integer(ikind) :: sub_called_pos=0
31 logical,
intent(in) :: lcond
32 character(len=*),
intent(in) :: message
46 logical,
intent(in) :: lcond
47 character(len=*),
intent(in) :: message
49 print*,
"warning!: "// message
58 logical,
intent(in) :: lcond
59 character(len=*),
intent(in) :: message
62 print*,
"Panik !: "// message
76 do i=sub_called_pos,1,-1
77 print*, trim(sub_called(sub_called_pos))
79 stop
'exitall@utils: at eof'
87 character(len=*),
intent(in) :: subin
89 call
assert(sub_called_pos<max_call_deep,
'sub_init error sub_called_pos>=max_call_deep')
90 sub_called_pos=sub_called_pos+1
91 sub_called(sub_called_pos)=trim(subin)
100 sub_called_pos=sub_called_pos-1
utils module from Silvio Gori's grid package
subroutine, public exiting(lcond, message)
subroutine, public exitall()
subroutine, public warning(lcond, message)
subroutine, public sub_init(subin)
subroutine, public sub_end()
f90_kind module from Silvio Gori's grid package
subroutine, public assert(lcond, message)