Gadget
netdata.h
Go to the documentation of this file.
1 #ifndef netdata_h
2 #define netdata_h
3 
9 public:
10  int tag;
11  int x_id;
15  double* x;
20  NetDataVariables(int numVar);
25 };
26 
32 public:
33  int tag;
34  int x_id;
38  double result;
42  int who;
46  NetDataResult();
51 };
52 
53 #endif
this class is used to keep relevant data to be sent/received using PVM communication
Definition: netdata.h:31
int who
is the identifier of the process that is sending the data
Definition: netdata.h:42
NetDataResult()
this is the default NetDataResult constructor
Definition: netdata.cc:18
double result
this is the variable to be sent/received
Definition: netdata.h:38
~NetDataResult()
this is the default NetDataResult destructor
Definition: netdata.cc:21
int x_id
Definition: netdata.h:34
int tag
Definition: netdata.h:33
this class is used to keep a vector of relevant data to be sent/received using PVM communication
Definition: netdata.h:8
int x_id
Definition: netdata.h:11
int tag
Definition: netdata.h:10
double * x
this is the vector used to store the variables to be sent/received
Definition: netdata.h:15
~NetDataVariables()
this is the default NetDataVariables destructor
Definition: netdata.cc:14
NetDataVariables(int numVar)
this is the default NetDataVariables constructor
Definition: netdata.cc:4