| # | Line 266 | Line 266 | double NVT::getConservedQuantity(void){ | |
|---|---|---|
| 266 | return conservedQuantity; | |
| 267 | } | |
| 268 | ||
| 269 | < | string NVT::getAdditionalParameters(void){ |
| 270 | < | string parameters; |
| 271 | < | const int BUFFERSIZE = 2000; // size of the read buffer |
| 272 | < | char buffer[BUFFERSIZE]; |
| 269 | > | char* NVT::getAdditionalParameters(void){ |
| 270 | ||
| 271 | < | sprintf(buffer,"\t%g\t%g;", chi, integralOfChidt); |
| 272 | < | parameters += buffer; |
| 271 | > | sprintf(addParamBuffer, |
| 272 | > | "\t%G\t%G;", |
| 273 | > | chi, integralOfChidt |
| 274 | > | ); |
| 275 | ||
| 276 | < | return parameters; |
| 276 | > | return addParamBuffer; |
| 277 | } | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines |
| > | Changed lines |