ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/OOPSE-3.0/src/UseTheForce/DarkSide/force_globals.F90
(Generate patch)

Comparing trunk/OOPSE-3.0/src/UseTheForce/DarkSide/force_globals.F90 (file contents):
Revision 2204 by gezelter, Fri Apr 15 22:04:00 2005 UTC vs.
Revision 2355 by chuckv, Wed Oct 12 18:59:16 2005 UTC

# Line 50 | Line 50 | module force_globals
50  
51    implicit none
52    PRIVATE
53 + #define __FORTRAN90
54 + #include "UseTheForce/DarkSide/fInteractionMap.h"
55  
56    logical, save :: force_globals_initialized = .false.
57  
# Line 63 | Line 65 | module force_globals
65    real( kind = dp ), allocatable, dimension(:,:), public :: A_Row
66    real( kind = dp ), allocatable, dimension(:,:), public :: A_Col
67  
68 <  real( kind = dp ), allocatable, dimension(:), public :: pot_Row
69 <  real( kind = dp ), allocatable, dimension(:), public :: pot_Col
70 <  real( kind = dp ), allocatable, dimension(:), public :: pot_Temp
68 >  real( kind = dp ), allocatable, dimension(:,:), public :: pot_Row
69 >  real( kind = dp ), allocatable, dimension(:,:), public :: pot_Col
70 >  real( kind = dp ), allocatable, dimension(:,:), public :: pot_Temp
71    real( kind = dp ), allocatable, dimension(:,:), public :: f_Row
72    real( kind = dp ), allocatable, dimension(:,:), public :: f_Col
73    real( kind = dp ), allocatable, dimension(:,:), public :: f_Temp
# Line 160 | Line 162 | contains
162         return
163      endif
164  
165 <    allocate(pot_row(nAtomsInRow),stat=alloc_stat)
165 >    allocate(pot_row(POT_ARRAY_SIZE,nAtomsInRow),stat=alloc_stat)
166      if (alloc_stat /= 0 ) then
167         thisStat = -1
168         return
169      endif
170  
171 <    allocate(pot_Col(nAtomsInCol),stat=alloc_stat)
171 >    allocate(pot_Col(POT_ARRAY_SIZE,nAtomsInCol),stat=alloc_stat)
172      if (alloc_stat /= 0 ) then
173         thisStat = -1
174         return
175      endif
176  
177 <    allocate(pot_Temp(nlocal),stat=alloc_stat)
177 >    allocate(pot_Temp(POT_ARRAY_SIZE,nlocal),stat=alloc_stat)
178      if (alloc_stat /= 0 ) then
179         thisStat = -1
180         return

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines