Flow(['da','wa'],['wava','vp','ro','ss','rr','AFDM.x'],
'''
./AFDM.x
ompchunk=%(ompchunk)d ompnth=%(ompnth)d
verb=y free=n snap=%(snap)s jsnap=%(jsnap)d
dabc=%(dabc)s nb=%(nb)d
vel=${SOURCES[1]}
den=${SOURCES[2]}
sou=${SOURCES[3]}
rec=${SOURCES[4]}
wfl=${TARGETS[1]}
''' % par)
转载于:https://www.cnblogs.com/bigcat/archive/2011/04/01/2004731.html