X-Git-Url: http://mmka.chem.univ.gda.pl/gitweb/?p=unres.git;a=blobdiff_plain;f=source%2Funres%2Fsrc_CSA_DiL%2Frescode.f;fp=source%2Funres%2Fsrc_CSA_DiL%2Frescode.f;h=0000000000000000000000000000000000000000;hp=12abbbebd79107b31d26d941ecca8d96a97e2ca3;hb=de4bc5453ea46e111d936cb85e1758ed21c08fcd;hpb=b75425747e3e2b448ca5e0ef8367712e1f339124 diff --git a/source/unres/src_CSA_DiL/rescode.f b/source/unres/src_CSA_DiL/rescode.f deleted file mode 100644 index 12abbbe..0000000 --- a/source/unres/src_CSA_DiL/rescode.f +++ /dev/null @@ -1,33 +0,0 @@ - integer function rescode(iseq,nam,itype) - implicit real*8 (a-h,o-z) - include 'DIMENSIONS' - include 'COMMON.NAMES' - include 'COMMON.IOUNITS' - character*3 nam,ucase - - if (itype.eq.0) then - - do i=-ntyp1,ntyp1 -cc write(iout,*),i,ucase(nam),restyp(i) - if (ucase(nam).eq.restyp(i)) then - rescode=i - return - endif - enddo - - else - - do i=-ntyp1,ntyp1 - if (nam(1:1).eq.onelet(i)) then - rescode=i - return - endif - enddo - - endif - - write (iout,10) iseq,nam - stop - 10 format ('**** Error - residue',i4,' has an unresolved name ',a3) - end -