ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/OOPSE/libmdtools/ZConsWriter.hpp
Revision: 699
Committed: Fri Aug 15 19:24:13 2003 UTC (20 years, 10 months ago) by tim
File size: 510 byte(s)
Log Message:
Tested MPI version of Z-Constraint Method

File Contents

# Content
1 #ifndef __ZCONSWRITER_H__
2 #define __ZCONSWRITER_H__
3
4 #include <iostream>
5 #include <fstream>
6
7 #include "GenericData.hpp"
8
9 #ifdef IS_MPI
10 #include <mpi.h>
11 #include "mpiSimulation.hpp"
12 #endif
13
14 using namespace std;
15
16 class ZConsWriter {
17
18 public:
19 ZConsWriter(const char* filename, vector<ZConsParaItem>* thePara);
20 ~ZConsWriter();
21
22 void writeFZ(double time, int num, int* index, double* fz, double* curZPos);
23
24 private:
25 void writeZPos();
26 ofstream output;
27 vector<ZConsParaItem>* parameters;
28 };
29
30 #endif