Changeset 80 in PSPA for parmelaPSPA/trunk/cellfeld.f


Ignore:
Timestamp:
Nov 15, 2012, 12:36:13 PM (12 years ago)
Author:
lemeur
Message:

prise en compte d'un path pour les fichiers

File:
1 edited

Legend:

Unmodified
Added
Removed
  • parmelaPSPA/trunk/cellfeld.f

    r12 r80  
    1       subroutine cellfeld(filesuper,nc,ne,ns)
     1      subroutine cellfeld(fileelec,nc,ne,ns)
    22c----------------------------------------------------------------------
     3c modifie glm : suppression de filesuper (var_char.h) remplace par fileelec
    34c
    45      include 'param_sz.h'
     
    78      include 'misccom.h'
    89      include 'syscom.h'
    9       include 'var_char.h'
     10c      include 'var_char.h'
    1011      include 'ucom.h'
    1112c
     
    1516c--------------------------------------------------------------------------
    1617c*
     18      character*256 fileelec
    1719      data rcurflag/.true./
    1820      itest=0
    1921      iorsay=0
    2022c      open (unit=nfld,file=filesuper//'.sffld',status='old')
    21       nlast = index(filesuper, ' ')
    22       if (nlast .eq. 0) nlast = len(filesuper) + 1
    23       open (unit=nfld,file=filesuper(1:nlast-1)//'.sffld',
     23      nlast = index(fileelec, ' ')
     24      print *, ' cellfeld recoit : ', fileelec
     25      if (nlast .eq. 0) nlast = len(fileelec) + 1
     26      open (unit=nfld,file=fileelec(1:nlast-1)//'.sffld',
    2427     1  status='old')
    2528      do 100 i=nc,ne,ns
Note: See TracChangeset for help on using the changeset viewer.