From: hackbard Date: Sat, 10 May 2003 02:39:51 +0000 (+0000) Subject: fixed boundary cond. bug X-Git-Url: https://hackdaworld.org/gitweb/?a=commitdiff_plain;h=a3f5c519038ec2d2ffd126e0d76277b1fa92065a;p=physik%2Fising.git fixed boundary cond. bug --- diff --git a/ising.c b/ising.c index e43b4be..4ff3ba8 100644 --- a/ising.c +++ b/ising.c @@ -12,19 +12,20 @@ #include #include #include + #include "dfbapi.h" #define X 200 #define Y 200 -#define MAX_T 100 +#define MAX_T 10 int main(int argc, char **argv) { unsigned char *atom; char *arg_v[4]; - char m_text[30]; - char t_text[30]; - char b_text[30]; + char m_text[64]; + char t_text[64]; + char b_text[64]; int max_x,x_c,max_y,y_c; int i; int count_p; @@ -57,21 +58,21 @@ int main(int argc, char **argv) for(T=1;T