FlexELA
Loading...
Searching...
No Matches
vv.h
1#ifndef VV_H
2#define VV_H
3
4#include "output.h"
5
6namespace output {
7
9 public:
10#ifdef ELA_USE_MPI
11 VolumeVector(const int& rowCount, MPI_Comm comm);
12#else
13 VolumeVector(const int& rowCount);
14#endif
15
17
18 void addCell(const Int_BinType& label, const Fp_BinType& volume);
19
20 void finalize();
21
22 void write(const char* filename);
23
24 private:
25#ifdef ELA_USE_MPI
26 const MPI_Comm comm;
27 int rank;
28#endif
29 const Int_BinType rc;
30 Fp_BinType* const v;
31};
32
33} // namespace output
34
35#endif
Definition vv.h:8
For writing the volume tracking matrix (VTM) and volume vector (vv)
Definition asciilog.h:10
uint32_t Int_BinType
Definition output.h:21
double Fp_BinType
Definition output.h:15