Dear all,
I have the following type variable:
TYPE::tMACROCELLNODE INTEGER :: nElem INTEGER :: AA INTEGER :: IDnode INTEGER :: IDmCell REAL(KIND=8),ALLOCATABLE,DIMENSION(:) :: WFX REAL(KIND=8),ALLOCATABLE,DIMENSION(:) :: WFY ! REAL(KIND=8),ALLOCATABLE,DIMENSION(:) :: WFtime REAL(KIND=8),ALLOCATABLE,DIMENSION(:) :: WFpdf ! REAL :: qs ENDTYPE
During my program, I allocate it as:
first of all:
ALLOCATE(MACROCELLNODE(npairs))
and then
DO i..... ALLOCATE(MACROCELLNODE(i)%WFX(n)) ... ...
My question is:
Is it possible deallocate only one field of it?
for example:
i=10 DEALLOCATE(MACRCELLNODE(i)%WFX(:))
Thank to all of you
Diego