- Timestamp:
- 11/19/09 11:29:41 (14 years ago)
- Branches:
- master
- Children:
- 38d77eb
- Parents:
- 6650a56
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
enysol.f
r6650a56 r32289cd 4 4 ! 5 5 ! Copyright 2003-2005 Frank Eisenmenger, U.H.E. Hansmann, 6 ! Shura Hayryan, Chin-Ku 6 ! Shura Hayryan, Chin-Ku 7 7 ! Copyright 2007 Frank Eisenmenger, U.H.E. Hansmann, 8 8 ! Jan H. Meinke, Sandipan Mohanty … … 10 10 ! ************************************************************** 11 11 12 12 13 13 real*8 function enysol(nmol) 14 14 … … 17 17 ! 18 18 ! Double Cubic Lattice algorithm for calculating the 19 ! solvation energy of proteins using 19 ! solvation energy of proteins using 20 20 ! solvent accessible area method. 21 21 ! … … 24 24 ! 25 25 ! ------------------------------------------------------------- 26 ! TODO: Check the solvent energy for multiple molecules 26 ! TODO: Check the solvent energy for multiple molecules 27 27 ! arguments 28 28 integer nmol 29 29 30 30 ! functions 31 31 integer nursat … … 41 41 double precision sizes, trad, zmin, xmax, xmin, ymax, zmax 42 42 double precision sdr, sdd, volume 43 43 44 44 dimension numbox(mxat),inbox(mxbox+1),indsort(mxat),look(mxat) 45 45 dimension xyz(mxinbox,3),radb(mxinbox),radb2(mxinbox) … … 47 47 48 48 ! common/ressurf/surfres(mxrs) 49 49 50 50 eyslh = 0.0 51 51 eyslp = 0.0 … … 61 61 do i=nrslow,nrshi 62 62 surfres(i) = 0.0d0 63 end do 63 end do 64 64 65 65 numat= nup - nlow + 1 … … 68 68 inbox(i)=0 69 69 end do 70 70 71 71 asa=0.0d0 72 72 vdvol=0.0d0 … … 135 135 stop 136 136 end if 137 137 138 138 ! Let us shift the borders to home all boxes 139 139 … … 175 175 inbox(i+1)=inbox(i+1)+inbox(i) 176 176 end do 177 178 177 178 179 179 ! Sorting the atoms by the their box numbers 180 180 … … 184 184 indsort(jj)=i 185 185 inbox(j)=jj-1 186 end do 187 186 end do 187 188 188 ! Getting started 189 189 … … 205 205 ney=min(iy+1,ndy-1) 206 206 nez=min(iz+1,ndz-1) 207 207 208 208 ! Atoms in the boxes around 209 209 … … 221 221 end do 222 222 end do 223 end do 224 223 end do 224 225 225 do ia=inbox(ibox)+1,inbox(ibox+1) 226 226 jbi=indsort(ia) … … 274 274 end do 275 275 99 continue 276 276 277 277 if(ik.gt.nnei)then 278 278 surfc(il)=.true. … … 316 316 surfres(jres) = surfres(jres) + area 317 317 end if 318 end do 318 end do 319 319 end if 320 320 end do … … 341 341 character lin*80 342 342 integer i 343 ! Skipping comment lines, which begin with '!' 343 ! Skipping comment lines, which begin with '!' 344 344 read(20,'(a)') lin 345 345 do while(lin(1:1).eq.'!') … … 352 352 ! write(*,'(a,i5)') 'the number of points---->',npnt 353 353 354 ! Read the surface points 354 ! Read the surface points 355 355 356 356 do i=1,npnt … … 358 358 ! write(31,'(3f20.10)') spoint(i,1),spoint(i,2),spoint(i,3) 359 359 end do 360 360 361 361 return 362 362 363 363 end 364 364
Note:
See TracChangeset
for help on using the changeset viewer.