@@ -54,8 +54,8 @@ def dt(self, *parameters):
54
54
55
55
class Diagnostics_f_xi :
56
56
__allowed_f_xi = ['Ex' , 'Ey' , 'Ez' , 'Bx' , 'By' , 'Bz' , 'ne' , 'nb' ,
57
- 'Ez2' , 'Bz2' , 'nb2' ]
58
- # 'Phi', ' ni']
57
+ 'Ez2' , 'Bz2' , 'nb2' , 'Phi' ]
58
+ # 'ni']
59
59
# TODO: add them and functionality!
60
60
__allowed_f_xi_type = ['numbers' , 'pictures' , 'both' ]
61
61
#TODO: add 'pictures' and 'both' and functionality
@@ -125,7 +125,7 @@ def dxi(self, current_time, xi_plasma_layer,
125
125
self .__data ['xi' ].append (xi_plasma_layer )
126
126
127
127
for name in self .__f_xi_names :
128
- if name in ['Ex' , 'Ey' , 'Ez' , 'Bx' , 'By' , 'Bz' ]:
128
+ if name in ['Ex' , 'Ey' , 'Ez' , 'Bx' , 'By' , 'Bz' , 'Phi' ]:
129
129
field = getattr (pl_fields , name )[self .__ax_x , self .__ax_y ]
130
130
self .__data [name ].append (field )
131
131
@@ -172,8 +172,8 @@ def dt(self, *params):
172
172
173
173
class Diagnostics_colormaps :
174
174
__allowed_colormaps = ['Ex' , 'Ey' , 'Ez' , 'Bx' , 'By' , 'Bz' , 'ne' , 'nb' ,
175
- 'px' , 'py' , 'pz' ]
176
- # 'Phi', ' ni']
175
+ 'px' , 'py' , 'pz' , 'Phi' ]
176
+ # 'ni']
177
177
# TODO: add them and functionality!
178
178
__allowed_colormaps_type = ['numbers' ]
179
179
#TODO: add 'pictures' and 'both' and functionality
@@ -260,7 +260,7 @@ def dxi(self, current_time, xi_plasma_layer,
260
260
self .__data ['xi' ].append (xi_plasma_layer )
261
261
262
262
for name in self .__colormaps_names :
263
- if name in ['Ex' , 'Ey' , 'Ez' , 'Bx' , 'By' , 'Bz' ]:
263
+ if name in ['Ex' , 'Ey' , 'Ez' , 'Bx' , 'By' , 'Bz' , 'Phi' ]:
264
264
val = getattr (pl_fields , name )[
265
265
self .__steps // 2 , self .__r_f :self .__r_t ]
266
266
self .__data [name ].append (val )
@@ -362,7 +362,7 @@ def dt(self, current_time,
362
362
px = pl_particles .px , py = pl_particles .py , pz = pl_particles .pz ,
363
363
Ex = pl_fields .Ex , Ey = pl_fields .Ey , Ez = pl_fields .Ez ,
364
364
Bx = pl_fields .Bx , By = pl_fields .By , Bz = pl_fields .Bz ,
365
- ro = pl_currents .ro ,
365
+ Phi = pl_fields . Phi , ro = pl_currents .ro ,
366
366
jx = pl_currents .jx , jy = pl_currents .jy , jz = pl_currents .jz )
367
367
368
368
0 commit comments