projects
/
physik
/
posic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
implemented basic p ctrl stuff + video with 13 fps
[physik/posic.git]
/
fluctuation_calc.c
diff --git
a/fluctuation_calc.c
b/fluctuation_calc.c
index
210f382
..
469371d
100644
(file)
--- a/
fluctuation_calc.c
+++ b/
fluctuation_calc.c
@@
-103,7
+103,7
@@
int main(int argc,char **argv) {
de2=e2/count-e*e/(count*count);
printf("--> fluctuation [eV/atom]: %.20f\n",de2);
if(argc==8) {
- de2*=(
np*np)*(EV*EV
);
+ de2*=(
(np*np*EV*EV)
);
printf(" specific heat capacity (T=%f K) [J/(kg K)]:\n",
t);
printf(" nve: %f\n",