ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/OOPSE/libmdtools/ZConsWriter.hpp
Revision: 658
Committed: Thu Jul 31 15:35:07 2003 UTC (20 years, 11 months ago) by tim
File size: 449 byte(s)
Log Message:
 Added Z constraint.

File Contents

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