ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/branches/new_design/OOPSE-2.0/src/io/ZConsWriter.hpp
Revision: 1490
Committed: Fri Sep 24 04:16:43 2004 UTC (19 years, 9 months ago) by gezelter
Original Path: trunk/OOPSE-2.0/src/io/ZConsWriter.hpp
File size: 620 byte(s)
Log Message:
Import of OOPSE v. 2.0

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    
12     #include "GenericData.hpp"
13    
14     #ifdef IS_MPI
15     #include <mpi.h>
16     #include "mpiSimulation.hpp"
17     #endif
18    
19     using namespace std;
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;
33     };
34    
35     #endif