FlexELA
Loading...
Searching...
No Matches
src
output
vv.h
1
#ifndef VV_H
2
#define VV_H
3
4
#include "output.h"
5
6
namespace
output
{
7
8
class
VolumeVector
{
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
16
~VolumeVector
();
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
output::VolumeVector
Definition
vv.h:8
output
For writing the volume tracking matrix (VTM) and volume vector (vv)
Definition
asciilog.h:10
output::Int_BinType
uint32_t Int_BinType
Definition
output.h:21
output::Fp_BinType
double Fp_BinType
Definition
output.h:15
Declan B. Gaylo
© 2024. Documentation generated with
doxygen
.
Source Code