|
|
@ -121,32 +121,32 @@ subroutine psb_dspfrees(a, info)
|
|
|
|
|
|
|
|
|
|
|
|
!...deallocate a....
|
|
|
|
!...deallocate a....
|
|
|
|
|
|
|
|
|
|
|
|
if ((info.eq.0).and.(.not.associated(a%pr))) info=2951
|
|
|
|
! if ((info.eq.0).and.(.not.associated(a%pr))) info=2951
|
|
|
|
if (info.eq.0) then
|
|
|
|
if ((info.eq.0).and.(associated(a%pr))) then
|
|
|
|
!deallocate pr field
|
|
|
|
!deallocate pr field
|
|
|
|
deallocate(a%pr,stat=info)
|
|
|
|
deallocate(a%pr,stat=info)
|
|
|
|
if (info.ne.0) info=2045
|
|
|
|
if (info.ne.0) info=2045
|
|
|
|
end if
|
|
|
|
end if
|
|
|
|
if ((info.eq.0).and.(.not.associated(a%pl))) info=2952
|
|
|
|
! if ((info.eq.0).and.(.not.associated(a%pl))) info=2952
|
|
|
|
!deallocate pl field
|
|
|
|
!deallocate pl field
|
|
|
|
if (info.eq.0) then
|
|
|
|
if ((info.eq.0).and.(associated(a%pl))) then
|
|
|
|
deallocate(a%pl,stat=info)
|
|
|
|
deallocate(a%pl,stat=info)
|
|
|
|
if (info.ne.0) info=2046
|
|
|
|
if (info.ne.0) info=2046
|
|
|
|
end if
|
|
|
|
end if
|
|
|
|
if ((info.eq.0).and.(.not.associated(a%ia2))) info=2953
|
|
|
|
! if ((info.eq.0).and.(.not.associated(a%ia2))) info=2953
|
|
|
|
if (info.eq.0) then
|
|
|
|
if ((info.eq.0).and.(associated(a%ia2))) then
|
|
|
|
!deallocate ia2 field
|
|
|
|
!deallocate ia2 field
|
|
|
|
deallocate(a%ia2,stat=info)
|
|
|
|
deallocate(a%ia2,stat=info)
|
|
|
|
if (info.ne.0) info=2047
|
|
|
|
if (info.ne.0) info=2047
|
|
|
|
end if
|
|
|
|
end if
|
|
|
|
if ((info.eq.0).and.(.not.associated(a%ia1))) info=2954
|
|
|
|
! if ((info.eq.0).and.(.not.associated(a%ia1))) info=2954
|
|
|
|
if (info.eq.0) then
|
|
|
|
if ((info.eq.0).and.(associated(a%ia1))) then
|
|
|
|
!deallocate ia1 field
|
|
|
|
!deallocate ia1 field
|
|
|
|
deallocate(a%ia1,stat=info)
|
|
|
|
deallocate(a%ia1,stat=info)
|
|
|
|
if (info.ne.0) info=2048
|
|
|
|
if (info.ne.0) info=2048
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
if ((info.eq.0).and.(.not.associated(a%aspk))) info=2955
|
|
|
|
! if ((info.eq.0).and.(.not.associated(a%aspk))) info=2955
|
|
|
|
if (info.eq.0) then
|
|
|
|
if ((info.eq.0).and.(associated(a%aspk))) then
|
|
|
|
!deallocate aspk field
|
|
|
|
!deallocate aspk field
|
|
|
|
deallocate(a%aspk,stat=info)
|
|
|
|
deallocate(a%aspk,stat=info)
|
|
|
|
if (info.ne.0) info=2049
|
|
|
|
if (info.ne.0) info=2049
|
|
|
|