From: hackbard Date: Thu, 18 Nov 2004 17:13:09 +0000 (+0000) Subject: changed default values X-Git-Url: https://hackdaworld.org/gitweb/?a=commitdiff_plain;ds=sidebyside;p=physik%2Fdfe.git changed default values --- diff --git a/dfe.c b/dfe.c index 208b1a6..53c5c36 100644 --- a/dfe.c +++ b/dfe.c @@ -34,11 +34,11 @@ typedef struct s_gp { #define RANGE 4 -#define X_ 50 -#define Y_ 10 +#define X_ 100 +#define Y_ 20 -#define STEPS 100 -#define PLOT 1 +#define STEPS 1000 +#define PLOT 10 int main(int argc,char **argv) { @@ -175,7 +175,7 @@ int main(int argc,char **argv) { gp_ptr->fy=sf[1]+lf[1]+((1.0*rand()/RAND_MAX)-0.5)/rs; if(gp_ptr->y==0) gp_ptr->fy+=by; if(gp_ptr->status&FEST) { - gp_ptr->fy+=(bf*exp(-y*1.0/100)); + gp_ptr->fy+=(bf*exp(-y*1.0/1000)); if(gp_ptr->fx>0) { gp_ptr->fx-=gp_ptr->pp; if(gp_ptr->fx<0) gp_ptr->fx=0;