File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 44* .png
55dist /
66build /
7+ tmp /*
78/src /wavefield /*
89simwave.egg-info /*
910.ipynb_checkpoints
Original file line number Diff line number Diff line change @@ -141,8 +141,8 @@ def forward(self, initial_grid=None):
141141 halo = self .space_model .halo_size [0 ]
142142 nbl = self .space_model .nbl
143143
144- print ("Initial grid" )
145- print (initial_grid )
144+ # print("Initial grid")
145+ # print(initial_grid)
146146 print ("Initial grid shape:" , initial_grid .shape )
147147
148148 if self .space_model .dimension == 2 :
@@ -151,7 +151,7 @@ def forward(self, initial_grid=None):
151151 z2 = halo + nbl [1 ]
152152 x1 = halo + nbl [2 ]
153153 x2 = halo + nbl [3 ]
154- u [0 , z1 :- z2 , x1 :- x2 ] = initial_grid
154+ u [1 , z1 :- z2 , x1 :- x2 ] = initial_grid
155155
156156 else :
157157
@@ -162,7 +162,7 @@ def forward(self, initial_grid=None):
162162 y1 = halo + nbl [4 ]
163163 y2 = halo + nbl [5 ]
164164
165- u [0 , z1 :- z2 , x1 :- x2 , y1 :- y2 ] = initial_grid
165+ u [1 , z1 :- z2 , x1 :- x2 , y1 :- y2 ] = initial_grid
166166
167167 u_full , recv = self ._middleware .exec (
168168 operator = 'forward' ,
You can’t perform that action at this time.
0 commit comments