| 1 |
< |
#include <protomol/base/Report.h> |
| 1 |
> |
#include "utils/Report.hpp" |
| 2 |
|
|
| 3 |
|
#include <iomanip> |
| 4 |
|
|
| 5 |
< |
#include <protomol/base/SystemUtilities.h> |
| 5 |
> |
#include "utils/SystemUtilities.hpp" |
| 6 |
|
|
| 7 |
|
using namespace std; |
| 8 |
|
|
| 9 |
< |
namespace ProtoMol { |
| 9 |
> |
namespace OpenMD { |
| 10 |
|
//____ Report |
| 11 |
|
namespace Report { |
| 12 |
|
MyStreamer &debug::operator()(MyStreamer &stream) const { |
| 313 |
|
stream.myAllNodes = true; |
| 314 |
|
stream.myAllNodesSerial = true; |
| 315 |
|
stream << flush; |
| 316 |
< |
protomolStartSerial(false); |
| 316 |
> |
openMDStartSerial(false); |
| 317 |
|
return stream; |
| 318 |
|
} |
| 319 |
|
|
| 321 |
|
stream.myAllNodes = true; |
| 322 |
|
stream.myAllSlavesSerial = true; |
| 323 |
|
stream << flush; |
| 324 |
< |
protomolStartSerial(true); |
| 324 |
> |
openMDStartSerial(true); |
| 325 |
|
return stream; |
| 326 |
|
} |
| 327 |
|
|
| 331 |
|
stream.mySilentHint = max(stream.mySilentHint - 1, 0); |
| 332 |
|
if (stream.myQuit) |
| 333 |
|
if (!stream.myAllNodesSerial || !stream.myAllSlavesSerial) |
| 334 |
< |
protomolExit(); |
| 335 |
< |
else |
| 336 |
< |
protomolAbort(); |
| 334 |
> |
openMDExit(); |
| 335 |
> |
else |
| 336 |
> |
openMDAbort(); |
| 337 |
|
else if (stream.myAbort) |
| 338 |
< |
protomolAbort(); |
| 338 |
> |
openMDAbort(); |
| 339 |
|
else if (stream.myAllNodesSerial) |
| 340 |
< |
protomolEndSerial(false); |
| 340 |
> |
openMDEndSerial(false); |
| 341 |
|
else if (stream.myAllSlavesSerial) |
| 342 |
< |
protomolEndSerial(true); |
| 342 |
> |
openMDEndSerial(true); |
| 343 |
|
stream.myAllSlavesSerial = false; |
| 344 |
|
stream.myAllNodesSerial = false; |
| 345 |
|
stream.myAllNodes = false; |