ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/branches/new_design/OOPSE-3.0/src/io/ZConsWriter.hpp
(Generate patch)

Comparing branches/new_design/OOPSE-3.0/src/io/ZConsWriter.hpp (file contents):
Revision 1910 by tim, Mon Dec 13 22:30:27 2004 UTC vs.
Revision 1911 by tim, Mon Jan 10 18:05:45 2005 UTC

# Line 8 | Line 8
8  
9   #include <iostream>
10   #include <fstream>
11 + #include <string>
12  
13   #include "brains/SimInfo.hpp"
14 < #include "constraints/ZconsData.hpp"
14 > #include "constraints/ZconsStruct.hpp"
15  
16   #ifdef IS_MPI
17   #include <mpi.h>
18   #endif
19  
20 + namespace oopse {
21  
20 using namespace oopse;
21
22   class ZConsWriter {
23  
24      public:
25 <        ZConsWriter(const char* filename,  std::vector<ZConsParaItem>* thePara);
25 >        ZConsWriter(SimInfo* info, const std::string& filename);
26          ~ZConsWriter();  
27  
28 <        void writeFZ(SimInfo* info, double time, int num, int* index, double* fz, double* curZPos, double* zpos);
28 >        void writeFZ(const std::list<ZconstraintMol>& fixedZmols);
29            
30      private:
31          void writeZPos();
32 <        std::ofstream output;
33 <        std::vector<ZConsParaItem>* parameters;
32 >
33 >        SimInfo* info_;
34 >        std::ofstream output_;
35 >
36   };
37  
38 + }
39   #endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines