projects
/
physik
/
morpheus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
2114472
)
fixed typo :p
author
hackbard
<hackbard>
Sat, 29 Mar 2003 00:56:56 +0000
(
00:56
+0000)
committer
hackbard
<hackbard>
Sat, 29 Mar 2003 00:56:56 +0000
(
00:56
+0000)
main.c
patch
|
blob
|
history
diff --git
a/main.c
b/main.c
index
9306e60
..
66503ee
100644
(file)
--- a/
main.c
+++ b/
main.c
@@
-46,7
+46,7
@@
int usage()
puts("-d <value> \t refresh every <value> loops (default 100)");
puts("-r <value> \t pressure range from amorphous SiCx (default 2)");
puts("-f <value> \t (unused) faktor for pressure from amorphous SiCx (default 1)");
puts("-d <value> \t refresh every <value> loops (default 100)");
puts("-r <value> \t pressure range from amorphous SiCx (default 2)");
puts("-f <value> \t (unused) faktor for pressure from amorphous SiCx (default 1)");
- puts("-p <value> \t p0 for pro
p
ability of cell getting amorph (default sum_range_rate / 4)");
+ puts("-p <value> \t p0 for pro
b
ability of cell getting amorph (default sum_range_rate / 4)");
return -23;
}
return -23;
}
@@
-86,7
+86,7
@@
int process_cell(void *cell_p,u32 x,u32 y,u32 z,u32 x_max,u32 y_max,u32 z_max,in
// count+=faktor*1.0/(i*i+j*j+k*k);
if(*cell&AMORPH)
{
// count+=faktor*1.0/(i*i+j*j+k*k);
if(*cell&AMORPH)
{
- /* wrong pro
p
ability! just test by now ...*/
+ /* wrong pro
b
ability! just test by now ...*/
if(rand_get(sum_range_rate)>count) make_cryst(cell);
} else
{
if(rand_get(sum_range_rate)>count) make_cryst(cell);
} else
{