Many, many more comments

This commit is contained in:
2024-12-04 17:15:04 +01:00
parent 8696517336
commit 03854339ca
100 changed files with 1702 additions and 49 deletions
+5
View File
@@ -1,15 +1,20 @@
#ifndef MPI_COMMUNICATION_H
#define MPI_COMMUNICATION_H
// class to handle MPI communication
class MpiCommunication {
public:
static int mpi_rank;
static int mpi_size;
// returns the MPI-rank of the process
static int mpiRank();
// returns the number of MPI processes
static int mpiSize();
// initialize the two member variables
static void init(int argc, char* argv[]);
// wrapper for MPI_Finalize()
static void finalize();
};