| 4 |
|
#include <iostream> |
| 5 |
|
#include <fstream> |
| 6 |
|
|
| 7 |
+ |
#include "GenericData.hpp" |
| 8 |
+ |
|
| 9 |
|
#ifdef IS_MPI |
| 10 |
|
#include <mpi.h> |
| 11 |
|
#include "mpiSimulation.hpp" |
| 16 |
|
class ZConsWriter { |
| 17 |
|
|
| 18 |
|
public: |
| 19 |
< |
ZConsWriter(const char* filename); |
| 19 |
> |
ZConsWriter(const char* filename, vector<ZConsParaItem>* thePara); |
| 20 |
|
~ZConsWriter(); |
| 21 |
|
|
| 22 |
< |
void writeFZ(double time, int num, int* index, double* fz); |
| 21 |
< |
void writeRefZ( const vector<int>& index, const vector<double>& refZ); |
| 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 |