60 |
|
!! @author J. Daniel Gezelter |
61 |
|
!! @author Charles F. Vardeman II |
62 |
|
!! @author Matthew Meineke |
63 |
< |
!! @version $Id: vector_class.F90,v 1.4 2005-04-12 17:39:06 chuckv Exp $, $Date: 2005-04-12 17:39:06 $, $Name: not supported by cvs2svn $, $Revision: 1.4 $ |
63 |
> |
!! @version $Id: vector_class.F90,v 1.5 2005-04-12 17:45:31 chuckv Exp $, $Date: 2005-04-12 17:45:31 $, $Name: not supported by cvs2svn $, $Revision: 1.5 $ |
64 |
|
|
65 |
|
module Vector_class |
66 |
|
|
884 |
|
type(Vector), pointer :: this |
885 |
|
type(Vector), pointer :: null_this |
886 |
|
|
887 |
+ |
|
888 |
+ |
if (.not. associated(this)) then |
889 |
+ |
null_this => null() |
890 |
+ |
return |
891 |
+ |
end if |
892 |
+ |
|
893 |
|
!! Walk down the list and deallocate each of the vector components |
894 |
|
if(associated(this%elementData)) then |
895 |
|
deallocate(this%elementData) |