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

Comparing:
trunk/OOPSE-4/src/io/ZConsWriter.hpp (file contents), Revision 1492 by tim, Fri Sep 24 16:27:58 2004 UTC vs.
branches/new_design/OOPSE-4/src/io/ZConsWriter.hpp (file contents), Revision 1832 by tim, Thu Dec 2 16:04:19 2004 UTC

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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines