| 18 |
|
|
| 19 |
|
if(!output){ |
| 20 |
|
sprintf( painCave.errMsg, |
| 21 |
< |
"Could not open \"s\" for z constrain output \n", |
| 21 |
> |
"Could not open %s for z constrain output \n", |
| 22 |
|
filename); |
| 23 |
|
painCave.isFatal = 1; |
| 24 |
|
simError(); |
| 25 |
|
} |
| 26 |
|
output << "#number of z constrain molecules" << endl; |
| 27 |
|
output << "#global Index of molecule\tzPos" << endl; |
| 28 |
< |
output << "every frame will contain below data" <<endl; |
| 28 |
> |
output << "#every frame will contain below data" <<endl; |
| 29 |
|
output << "#time(fs)" << endl; |
| 30 |
|
output << "#number of fixed z-constrain molecules" << endl; |
| 31 |
|
output << "#global Index of molecule\tzconstrain force\tcurrentZPos" << endl; |