Karamelo  714599e9
Parallel Material Point Method Simulator
universe.h
1 /* -*- c++ -*- ----------------------------------------------------------
2  *
3  * *** Karamelo ***
4  * Parallel Material Point Method Simulator
5  *
6  * Copyright (2019) Alban de Vaucorbeil, alban.devaucorbeil@monash.edu
7  * Materials Science and Engineering, Monash University
8  * Clayton VIC 3800, Australia
9 
10  * This software is distributed under the GNU General Public License.
11  *
12  * ----------------------------------------------------------------------- */
13 
14 
15 #ifndef LMP_UNIVERSE_H
16 #define LMP_UNIVERSE_H
17 
18 #include "pointers.h"
19 
20 using namespace std;
21 
25 class Universe : protected Pointers {
26  public:
27  MPI_Comm uworld;
28  int me,nprocs;
29 
30  Universe(class MPM *, MPI_Comm);
31  ~Universe();
32 
33  int procgrid[3];
34  int myloc[3];
35  int procneigh[3][2];
36 
37  void set_proc_grid();
38 };
39 
40 #endif
Definition: universe.h:25
Definition: mpm.h:29
MPI_Comm uworld
MPI communicator for the entire universe.
Definition: universe.h:27
int nprocs
My place (as a proc) in the universe.
Definition: universe.h:28
Definition: pointers.h:29