Revision: | 658 |
Committed: | Thu Jul 31 15:35:07 2003 UTC (21 years, 9 months ago) by tim |
File size: | 449 byte(s) |
Log Message: | Added Z constraint. |
# | 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 |