Changeset bd2278d for main.f


Ignore:
Timestamp:
09/05/08 11:49:42 (16 years ago)
Author:
baerbaer <baerbaer@…>
Branches:
master
Children:
fafe4d6
Parents:
2ebb8b6
Message:

Reformatting comments and continuation marks.

Fortran 90 and higher use ! to mark comments no matter where they are in the
code. The only valid continuation marker is &.
I also added the SMMP.kdevelop.filelist to the repository to make it easier
to use kdevelop.

git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/smmp/trunk@12 26dc1dd8-5c4e-0410-9ffe-d298b4865968

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main.f

    r2ebb8b6 rbd2278d  
    1 c **************************************************************
    2 c This file contains the:  main (SINGLE PROCESSOR JOBS ONLY,
    3 C                                FOR PARALLEL JOBS USE pmain)
    4 c
    5 c Copyright 2003-2005  Frank Eisenmenger, U.H.E. Hansmann,
    6 c                      Shura Hayryan, Chin-Ku
    7 c Copyright 2007       Frank Eisenmenger, U.H.E. Hansmann,
    8 c                      Jan H. Meinke, Sandipan Mohanty
    9 c
    10 C CALLS: init_energy,init_molecule
    11 C CALLS TASK SUBROUTINE: anneal,canon,elp,minim,mulcan_par,
    12 c                        mulcan_sim,partem_s, or regul
    13 C CAN ALSO CALL MEASUREMENT ROUTINES: cnteny,contacts,helix,hbond,
    14 C                                    outpdb,outvar,rgyr,
    15 C                                    rmsinit and rsmdfun,zimmer
    16 c $Id: main.f 334 2007-08-07 09:23:59Z meinke $
    17 c **************************************************************
     1! **************************************************************
     2! This file contains the:  main (SINGLE PROCESSOR JOBS ONLY,
     3!                                FOR PARALLEL JOBS USE pmain)
     4!
     5! Copyright 2003-2005  Frank Eisenmenger, U.H.E. Hansmann,
     6!                      Shura Hayryan, Chin-Ku
     7! Copyright 2007       Frank Eisenmenger, U.H.E. Hansmann,
     8!                      Jan H. Meinke, Sandipan Mohanty
     9!
     10! CALLS: init_energy,init_molecule
     11! CALLS TASK SUBROUTINE: anneal,canon,elp,minim,mulcan_par,
     12!                        mulcan_sim,partem_s, or regul
     13! CAN ALSO CALL MEASUREMENT ROUTINES: cnteny,contacts,helix,hbond,
     14!                                    outpdb,outvar,rgyr,
     15!                                    rmsinit and rsmdfun,zimmer
     16! $Id: main.f 334 2007-08-07 09:23:59Z meinke $
     17! **************************************************************
    1818     
    1919      program main
     
    2626      logical lrand,bgsposs
    2727
    28 c =================================================== Energy setup
     28! =================================================== Energy setup
    2929
    30 c            Directory for SMMP libraries
    31 c     Change the following directory path to where you want to put SMMP
    32 c     libraries of residues.
     30!            Directory for SMMP libraries
     31!     Change the following directory path to where you want to put SMMP
     32!     libraries of residues.
    3333      libdir='./SMMP/'
    3434
    35 c      The switch in the following line is now not used.
     35!      The switch in the following line is now not used.
    3636      flex=.false.        ! .true. for Flex  / .false. for ECEPP
    3737
    38 c     Choose energy type with the following switch instead ...
     38!     Choose energy type with the following switch instead ...
    3939      ientyp = 0
    40 c        0  => ECEPP2 or ECEPP3 depending on the value of sh2
    41 c        1  => FLEX
    42 c        2  => Lund force field
    43 c        3  => ECEPP with Abagyan corrections
    44 c
     40!        0  => ECEPP2 or ECEPP3 depending on the value of sh2
     41!        1  => FLEX
     42!        2  => Lund force field
     43!        3  => ECEPP with Abagyan corrections
     44!
    4545
    4646      sh2=.false.         ! .true. for ECEPP/2; .false. for ECEPP3
     
    5454      call init_energy(libdir)
    5555
    56 c ================================================= Structure setup
     56! ================================================= Structure setup
    5757
    5858      grpn = 'nh2' ! N-terminal group
     
    6767      ntlml = 0
    6868      write (*,*) 'Solvent: ', itysol
    69 c     Initialize random number generator.
     69!     Initialize random number generator.
    7070      call sgrnd(31433)
    7171     
     
    7878      call init_molecule(iabin,grpn,grpc,seqfile,varfile)
    7979
    80 c Decide if and when to use BGS, and initialize Lund data structures
     80! Decide if and when to use BGS, and initialize Lund data structures
    8181      bgsprob=0.75   ! Prob for BGS, given that it is possible
    82 c upchswitch= 0 => No BGS 1 => BGS with probability bgsprob
    83 c 2 => temperature dependent choice
     82! upchswitch= 0 => No BGS 1 => BGS with probability bgsprob
     83! 2 => temperature dependent choice
    8484      upchswitch=1
    8585      rndord=.true.
     
    8989     
    9090
    91 c ========================================  Add your task down here
     91! ========================================  Add your task down here
    9292
    9393      imin = 1 ! Quasi-Newton
     
    9595      eps = 1.0d-7 ! requested precision
    9696      call minim(imin, maxit, eps)
    97 c     To do a canonical Monte Carlo simulation uncomment the lines below
     97!     To do a canonical Monte Carlo simulation uncomment the lines below
    9898!       nequi = 100
    9999!       nsweep = 50000
     
    101101!       temp = 300.0
    102102!       lrand = .true.
    103 c      Canonical Monte Carlo
     103!      Canonical Monte Carlo
    104104!       call canon(nequi, nsweep, nmes, temp, lrand)
    105105
    106 c      For simulated annealing uncomment the lines below
     106!      For simulated annealing uncomment the lines below
    107107!      tmin = 200.0
    108108!      tmax = 500.0
    109109!      call anneal(nequi, nsweep, nmes, tmax, tmin, lrand);
    110 c ========================================  End of main     
     110! ========================================  End of main     
    111111       end
Note: See TracChangeset for help on using the changeset viewer.