45 |
|
|
46 |
|
!! @author Charles F. Vardeman II |
47 |
|
!! @author Matthew Meineke |
48 |
< |
!! @version $Id: doForces.F90,v 1.52 2005-10-10 21:34:54 chuckv Exp $, $Date: 2005-10-10 21:34:54 $, $Name: not supported by cvs2svn $, $Revision: 1.52 $ |
48 |
> |
!! @version $Id: doForces.F90,v 1.53 2005-10-11 22:00:30 chuckv Exp $, $Date: 2005-10-11 22:00:30 $, $Name: not supported by cvs2svn $, $Revision: 1.53 $ |
49 |
|
|
50 |
|
|
51 |
|
module doForces |
184 |
|
end if |
185 |
|
|
186 |
|
if (.not. allocated(InteractionHash)) then |
187 |
+ |
allocate(InteractionHash(nAtypes,nAtypes)) |
188 |
+ |
else |
189 |
+ |
deallocate(InteractionHash) |
190 |
|
allocate(InteractionHash(nAtypes,nAtypes)) |
191 |
|
endif |
192 |
|
|
193 |
|
if (.not. allocated(atypeMaxCutoff)) then |
194 |
|
allocate(atypeMaxCutoff(nAtypes)) |
195 |
+ |
else |
196 |
+ |
deallocate(atypeMaxCutoff) |
197 |
+ |
allocate(atypeMaxCutoff(nAtypes)) |
198 |
|
endif |
199 |
|
|
200 |
|
do i = 1, nAtypes |