ExaDG
|
#include <setup.h>
Public Member Functions | |
Setup (MPI_Comm const &comm) | |
void | init (int dim, int cells, int points_src, int points_dst) |
int | readHeader (char *&filename) |
void | writeHeader (char const *filename) |
Public Attributes | |
MPI_Comm const | comm |
bool | initialized |
int | type |
int | dim |
int | cells |
int | points_src |
int | points_dst |
int | rank |
int | size |
int | bins |
double | time = 0.0 |
Static Public Attributes | |
static int const | HEADER_LENGTH = 8 |
Class containing all settings of DEAL.SPECTRUM
Aim of this class: (1) capsule the configuration of all modules (2) interface to IO: settings are included in header of files
The header of the (binary) file consists of 8 integers: (0) type: sfc vs. lexi (1) dimension (2) cells in each direction (3) degree of cells (4-7) currently not used The header is followed by the payload which is created by the specialized classes.
|
inline |
Constructor
|
inline |
Configure DEAL.SPECTRUM manually
dim | dimension |
cells | number of cells in each direction |
points_src | points in each direction in cell (i.e.: degree+1) |
points_dst | points in each direction for evaluation in cell |
|
inline |
Read header of file
filename | name of file |
|
inline |
Write header of file
filename | name of file |