49#include <blitz/array.h>
79 probes(
const grid &mesh, std::vector<field> &pFields);
88 std::vector<field> &pFields;
90 const unsigned int numFields;
92 std::vector<blitz::TinyVector<int, 3> > globalProbes, localProbes;
94 std::ofstream probeFile;
96 MPI_Datatype mpiStruct;
101 void createMPIStruct();
Contains all the global variables related to the grid, its slices, limits, and grid derivatives used ...
Definition: grid.h:53
Handles the writing of data from probes placed in the domain.
Definition: probes.h:77
probes(const grid &mesh, std::vector< field > &pFields)
Constructor of the probes class.
Definition: probes.cc:61
void probeData(real time)
Function to read the variables at the probe locations and return them.
Definition: probes.cc:127
Class declaration of field.
Class declaration of grid.
The data obtained from the probes is stored in struct for quick transfer across processes.
Definition: probes.h:64
dataStruct()
Default constructor for the struct that initializes all values to 0.
Definition: probes.h:74
int x
Integer values of the global indices of the probe.
Definition: probes.h:67
real probeData[10]
Array of double/single precision numbers that contains the probed data from up to 10 field variables.
Definition: probes.h:71