We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f3a33b0 commit 513c64bCopy full SHA for 513c64b
1 file changed
PyPIC_Scatter_Gather.py
@@ -172,8 +172,8 @@ def gather_phi(self, x_mp, y_mp):
172
173
if len(x_mp)>0:
174
## compute beam potential
175
- phi_sc_n, _ = iff.int_field(x_mp,y_mp,self.bias_x,self.bias_y,self.Dh,
176
- self.Dh, self.phi, self.phi)
+ phi_sc_n, _ = iff.int_field(x_mp,y_mp,self.bias_x,self.bias_y,self.dx,
+ self.dy, self.phi, self.phi)
177
178
else:
179
phi_sc_n=0.
@@ -187,8 +187,8 @@ def gather_rho(self, x_mp, y_mp):
187
188
189
## compute beam distribution
190
- rho_sc_n, _ = iff.int_field(x_mp,y_mp,self.bias_x,self.bias_y,self.Dh,
191
- self.Dh, self.rho, self.rho)
+ rho_sc_n, _ = iff.int_field(x_mp,y_mp,self.bias_x,self.bias_y,self.dx,
+ self.dy, self.rho, self.rho)
192
193
194
rho_sc_n=0.
0 commit comments