ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/OOPSE-1.0/libmdtools/ZConsWriter.hpp
Revision: 1334
Committed: Fri Jul 16 18:58:03 2004 UTC (20 years ago) by gezelter
File size: 582 byte(s)
Log Message:
Initial import of OOPSE-1.0 source tree

File Contents

# User Rev Content
1 gezelter 1334 #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"
15     #endif
16    
17     using namespace std;
18    
19     class ZConsWriter {
20    
21     public:
22     ZConsWriter(const char* filename, vector<ZConsParaItem>* thePara);
23     ~ZConsWriter();
24    
25     void writeFZ(double time, int num, int* index, double* fz, double* curZPos, double* zpos);
26    
27     private:
28     void writeZPos();
29     ofstream output;
30     vector<ZConsParaItem>* parameters;
31     };
32    
33     #endif