ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/branches/new_design/OOPSE-3.0/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

# User Rev Content
1 gezelter 1490 #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 tim 1911 #include <string>
12 gezelter 1490
13 tim 1883 #include "brains/SimInfo.hpp"
14 tim 1911 #include "constraints/ZconsStruct.hpp"
15 gezelter 1490
16     #ifdef IS_MPI
17     #include <mpi.h>
18     #endif
19    
20 tim 1911 namespace oopse {
21 tim 1824
22 gezelter 1490 class ZConsWriter {
23    
24 tim 1832 public:
25 tim 1911 ZConsWriter(SimInfo* info, const std::string& filename);
26 tim 1832 ~ZConsWriter();
27    
28 tim 1911 void writeFZ(const std::list<ZconstraintMol>& fixedZmols);
29 tim 1832
30     private:
31     void writeZPos();
32 tim 1911
33     SimInfo* info_;
34     std::ofstream output_;
35    
36 gezelter 1490 };
37    
38 tim 1911 }
39 gezelter 1490 #endif