1 |
< |
/* |
1 |
> |
/* |
2 |
|
* Copyright (c) 2005 The University of Notre Dame. All Rights Reserved. |
3 |
|
* |
4 |
|
* The University of Notre Dame grants you ("Licensee") a |
54 |
|
#include "brains/SimInfo.hpp" |
55 |
|
#include "constraints/ZconsStruct.hpp" |
56 |
|
|
57 |
– |
#ifdef IS_MPI |
58 |
– |
#include <mpi.h> |
59 |
– |
#endif |
60 |
– |
|
57 |
|
namespace oopse { |
58 |
|
|
59 |
< |
class ZConsWriter { |
59 |
> |
class ZConsWriter { |
60 |
|
|
61 |
< |
public: |
62 |
< |
ZConsWriter(SimInfo* info, const std::string& filename); |
63 |
< |
~ZConsWriter(); |
61 |
> |
public: |
62 |
> |
ZConsWriter(SimInfo* info, const std::string& filename); |
63 |
> |
~ZConsWriter(); |
64 |
|
|
65 |
< |
void writeFZ(const std::list<ZconstraintMol>& fixedZmols); |
65 |
> |
void writeFZ(const std::list<ZconstraintMol>& fixedZmols); |
66 |
|
|
67 |
< |
private: |
68 |
< |
void writeZPos(); |
67 |
> |
private: |
68 |
> |
void writeZPos(); |
69 |
|
|
70 |
< |
SimInfo* info_; |
71 |
< |
std::ofstream output_; |
70 |
> |
SimInfo* info_; |
71 |
> |
std::ofstream output_; |
72 |
|
|
73 |
< |
}; |
73 |
> |
}; |
74 |
|
|
75 |
|
} |
76 |
|
#endif |