projects
/
physik
/
nlsop.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
00d21a7
)
NEL_Z
author
hackbard
<hackbard>
Thu, 20 Jan 2005 13:23:14 +0000
(13:23 +0000)
committer
hackbard
<hackbard>
Thu, 20 Jan 2005 13:23:14 +0000
(13:23 +0000)
nlsop_client.c
patch
|
blob
|
history
diff --git
a/nlsop_client.c
b/nlsop_client.c
index
9718270
..
5a25f4e
100644
(file)
--- a/
nlsop_client.c
+++ b/
nlsop_client.c
@@
-524,8
+524,11
@@
int get_data_and_calc(t_event *event,void *allineed) {
for(j=0;j<my_info.cpi;j++) {
x_c=get_rand(d3_l.max_x);
y_c=get_rand(d3_l.max_y);
for(j=0;j<my_info.cpi;j++) {
x_c=get_rand(d3_l.max_x);
y_c=get_rand(d3_l.max_y);
- // z_c=get_rand_reject(d3_l.max_z,ne_max,n_e_loss);
+#ifdef NEL_Z
+ z_c=get_rand_reject(d3_l.max_z,ne_max,n_e_loss);
+#else
z_c=get_rand(d3_l.max_z);
z_c=get_rand(d3_l.max_z);
+#fi
process_cell(&d3_l,x_c,y_c,z_c,&my_info,nel_z[z_c]);
}
distrib_c(&d3_l,&my_info,i,ip_max,c_profile);
process_cell(&d3_l,x_c,y_c,z_c,&my_info,nel_z[z_c]);
}
distrib_c(&d3_l,&my_info,i,ip_max,c_profile);