ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/OOPSE/libmdtools/ZConsWriter.hpp
(Generate patch)

Comparing trunk/OOPSE/libmdtools/ZConsWriter.hpp (file contents):
Revision 658 by tim, Thu Jul 31 15:35:07 2003 UTC vs.
Revision 1078 by tim, Tue Mar 2 20:32:40 2004 UTC

# Line 1 | Line 1
1   #ifndef __ZCONSWRITER_H__
2   #define __ZCONSWRITER_H__
3  
4 + #define _LARGEFILE_SOURCE64
5 + #define _FILE_OFFSET_BITS 64
6 +
7   #include <iostream>
8   #include <fstream>
9  
10 + #include "GenericData.hpp"
11 +
12   #ifdef IS_MPI
13   #include <mpi.h>
14   #include "mpiSimulation.hpp"
# Line 14 | Line 19 | class ZConsWriter { (public)
19   class ZConsWriter {
20  
21   public:
22 <  ZConsWriter(const char* filename);
22 >  ZConsWriter(const char* filename, vector<ZConsParaItem>* thePara);
23    ~ZConsWriter();  
24    
25 <  void writeFZ(double time, int num, int* index, double* fz);
21 <  void writeRefZ( const vector<int>& index, const vector<double>& refZ);
25 >  void writeFZ(double time, int num, int* index, double* fz, double* curZPos);
26    
27   private:
28 +  void writeZPos();
29    ofstream output;
30 +  vector<ZConsParaItem>* parameters;
31   };
32  
33   #endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines