ODT
Loading...
Searching...
No Matches
processor.h
Go to the documentation of this file.
1
6#pragma once
7
8#ifdef DOMPI
9#include "mpi.h"
10#endif
11
12#include <string>
13#include <ostream>
14
16
23
25
26 private:
27
28 static int nInst;
29
30 public:
31
32 int myid;
33 int nproc;
34 int ierr;
35
36#ifdef DOMPI
37 MPI_Status status;
38 MPI_Request request;
39#endif
40
42
43 processor(); // constructor
44 ~processor(); // destructor
45
46};
47
int ierr
Error flag.
Definition processor.h:34
static int nInst
number of these class objects (should be 1);
Definition processor.h:28
int myid
Process ID.
Definition processor.h:32
int nproc
Number of Processes.
Definition processor.h:33