def bWRrtm(data, wfld, velo, dens, coor, custom, par): iwindow = ' ' + \ ''' nqz=%(nqz)d oqz=%(oqz)g nqx=%(nqx)d oqx=%(oqx)g jsnap=%(jdata)d jdata=%(jdata)d ''' % par + ' ' Flow(data + '_rev', data, 'reverse which=2 opt=i verb=y') fdmod.anifd2d(wfld + '_out', wfld + '_rev', data + '_rev', velo, dens, coor, coor, iwindow + custom, par) Flow(wfld, wfld + '_rev', 'reverse which=4 opt=i verb=y')
def bWRrtm(data, wfld, velo, dens, coor, custom, par): iwindow = ( " " + """ nqz=%(nqz)d oqz=%(oqz)g nqx=%(nqx)d oqx=%(oqx)g jsnap=%(jdata)d jdata=%(jdata)d """ % par + " " ) Flow(data + "_rev", data, "reverse which=2 opt=i verb=y") fdmod.anifd2d(wfld + "_out", wfld + "_rev", data + "_rev", velo, dens, coor, coor, iwindow + custom, par) Flow(wfld, wfld + "_rev", "reverse which=4 opt=i verb=y")
def bWRrtm(data, wfld, velo, dens, coor, custom, par): Flow(data + '_R', data, 'reverse which=2 opt=i verb=y') fdmod.anifd2d(wfld + '_', wfld + '_R', data + '_R', velo, dens, coor, coor, iwindow(par) + custom, par)
def fWRrtm(data, wfld, velo, dens, coor, custom, par): fdmod.anifd2d(wfld + '_', wfld, data, velo, dens, coor, coor, iwindow(par) + custom, par)
def bWRrtm(data, wfld, velo, dens, coor, custom, par): Flow(data + "_R", data, "reverse which=2 opt=i verb=y") fdmod.anifd2d(wfld + "_", wfld + "_R", data + "_R", velo, dens, coor, coor, iwindow(par) + custom, par)
def fWRrtm(data, wfld, velo, dens, coor, custom, par): fdmod.anifd2d(wfld + "_", wfld, data, velo, dens, coor, coor, iwindow(par) + custom, par)
def bWRrtm(data,wfld,velo,dens,coor,custom,par): Flow(data+'_R',data,'reverse which=2 opt=i verb=y') fdmod.anifd2d(wfld+'_',wfld+'_R', data+'_R',velo,dens,coor,coor,iwindow(par)+custom,par)