summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMagnus Lundborg <lundborg.magnus@gmail.com>2013-04-26 15:15:29 (GMT)
committerMagnus Lundborg <lundborg.magnus@gmail.com>2013-04-26 15:15:29 (GMT)
commit7016bb812d5342de0af48ac2e0004a0632935075 (patch)
treee97ba1d4e01ee66c040a6537ae57a45a07eec472 /src
parentb4b3870c53ac8e77a9c00c2dcb94ec423ad1a727 (diff)
Increase the simulation length and reduce number of particles to get more movements in the md example
Diffstat (limited to 'src')
-rw-r--r--src/tests/md_openmp.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/tests/md_openmp.c b/src/tests/md_openmp.c
index 5572746..58f7c6d 100644
--- a/src/tests/md_openmp.c
+++ b/src/tests/md_openmp.c
@@ -62,20 +62,20 @@ int main ( int argc, char *argv[] )
double *acc;
double *box;
double *box_shape;
- double dt = 0.0001;
+ double dt = 0.0002;
double e0;
double *force;
int i;
double kinetic;
double mass = 1.0;
int nd = 3;
- int np = 250;
+ int np = 50;
double *pos;
double potential;
int proc_num;
int seed = 123456789;
int step;
- int step_num = 1050;
+ int step_num = 50000;
int step_print;
int step_print_index;
int step_print_num;
@@ -192,12 +192,12 @@ int main ( int argc, char *argv[] )
e0 = potential + kinetic;
/* Saving frequency */
- step_save = 5;
+ step_save = 500;
step_print = 0;
step_print_index = 0;
step_print_num = 10;
- sparse_save = 10;
+ sparse_save = 100;
/*
This is the main time stepping loop:
contact: Jan Huwald // Impressum