ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/OOPSE-2.0/src/utils/vector_class.F90
(Generate patch)

Comparing trunk/OOPSE-2.0/src/utils/vector_class.F90 (file contents):
Revision 2166 by chuckv, Tue Apr 12 00:28:29 2005 UTC vs.
Revision 2171 by chuckv, Tue Apr 12 17:45:31 2005 UTC

# Line 60 | Line 60
60   !! @author J. Daniel Gezelter
61   !! @author Charles F. Vardeman II
62   !! @author Matthew Meineke
63 < !! @version $Id: vector_class.F90,v 1.3 2005-04-12 00:28:29 chuckv Exp $, $Date: 2005-04-12 00:28:29 $, $Name: not supported by cvs2svn $, $Revision: 1.3 $
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    
# Line 884 | Line 884 | contains
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)
# Line 919 | Line 925 | contains
925          deallocate(this%logicalElementProperties)
926          this%logicalElementProperties=>null()
927       endif
928 +     deallocate(this)
929       null_this => null()
930    end function destroy
931    

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines