ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/branches/new_design/OOPSE-4/src/io/ZConsWriter.hpp
Revision: 1911
Committed: Mon Jan 10 18:05:45 2005 UTC (19 years, 5 months ago) by tim
File size: 647 byte(s)
Log Message:
more work in zconstraint

File Contents

# Content
1 #ifndef __ZCONSWRITER_H__
2 #define __ZCONSWRITER_H__
3
4 #define _LARGEFILE_SOURCE64
5 # ifndef _FILE_OFFSET_BITS
6 # define _FILE_OFFSET_BITS 64
7 # endif
8
9 #include <iostream>
10 #include <fstream>
11 #include <string>
12
13 #include "brains/SimInfo.hpp"
14 #include "constraints/ZconsStruct.hpp"
15
16 #ifdef IS_MPI
17 #include <mpi.h>
18 #endif
19
20 namespace oopse {
21
22 class ZConsWriter {
23
24 public:
25 ZConsWriter(SimInfo* info, const std::string& filename);
26 ~ZConsWriter();
27
28 void writeFZ(const std::list<ZconstraintMol>& fixedZmols);
29
30 private:
31 void writeZPos();
32
33 SimInfo* info_;
34 std::ofstream output_;
35
36 };
37
38 }
39 #endif