projects
/
physik
/
posic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
test
[physik/posic.git]
/
sic.c
diff --git
a/sic.c
b/sic.c
index
9c98857
..
3924375
100644
(file)
--- a/
sic.c
+++ b/
sic.c
@@
-30,6
+30,9
@@
int main(int argc,char **argv) {
/* misc variables, mainly to initialize stuff */
t_3dvec r,v;
/* misc variables, mainly to initialize stuff */
t_3dvec r,v;
+ /* temperature */
+ double t;
+
/* initialize moldyn */
printf("[sic] moldyn init\n");
moldyn_init(&md,argc,argv);
/* initialize moldyn */
printf("[sic] moldyn init\n");
moldyn_init(&md,argc,argv);
@@
-91,12
+94,12
@@
int main(int argc,char **argv) {
/* create the simulation schedule */
printf("[sic] adding schedule\n");
/* create the simulation schedule */
printf("[sic] adding schedule\n");
- moldyn_add_schedule(&md,1000
,1.0e-15
);
+ moldyn_add_schedule(&md,1000
0,1.0e-12
);
/* activate logging */
printf("[sic] activate logging\n");
moldyn_set_log(&md,LOG_TOTAL_ENERGY,"saves/test-energy",100);
/* activate logging */
printf("[sic] activate logging\n");
moldyn_set_log(&md,LOG_TOTAL_ENERGY,"saves/test-energy",100);
- moldyn_set_log(&md,VISUAL_STEP,"saves/test-visual",
5
0);
+ moldyn_set_log(&md,VISUAL_STEP,"saves/test-visual",
10
0);
/*
* let's do the actual md algorithm now
/*
* let's do the actual md algorithm now