diff --git a/book/carrot/fwi/adjoint/.rsfproj b/book/carrot/fwi/adjoint/.rsfproj new file mode 100644 index 0000000000..835804d3d4 --- /dev/null +++ b/book/carrot/fwi/adjoint/.rsfproj @@ -0,0 +1,3 @@ +uses=['sfspike', 'sfricker2', 'sfcat', 'sfput', 'sfacoustic1D', 'sfsmooth', 'sfacoustic1D_FWI_adj', 'sfgraph'] +data=[] +size= 1219200 diff --git a/book/carrot/fwi/adjoint/SConstruct b/book/carrot/fwi/adjoint/SConstruct index 605f391586..2499084cfb 100644 --- a/book/carrot/fwi/adjoint/SConstruct +++ b/book/carrot/fwi/adjoint/SConstruct @@ -13,7 +13,7 @@ Flow('vel_mid',['vel1','vel2', 'vel3','vel4'],'cat axis=1 ${SOURCES[1:-1]}') Flow('vel','vel_mid','put label1=Distance unit1=m') -Flow(['rec','rec_all'],'src','acoustic1D vel=vel.rsf sx=10 rx=10 rec_all=${TARGETS[1]}' ) +Flow(['rec','rec_all'],'src vel','acoustic1D vel=${SOURCES[1]} sx=10 rx=10 rec_all=${TARGETS[1]}' ) Flow('vel_ini','vel','smooth rect1=25') Flow('vel_recover',['rec','vel_ini','src'],'acoustic1D_FWI_adj vel=${SOURCES[1]} src=${SOURCES[2]} sx=10 rx=10 niter=200' ) @@ -36,4 +36,4 @@ Result('vel_compare2','vel_compare2','graph title="Ture and recovered velocity w -End() \ No newline at end of file +End()