![]() |
Karamelo
714599e9
Parallel Material Point Method Simulator
|
Sets up partitions of processors so that multiple simulations can be run, each on a subset of the processors allocated for a run, e.g. by the mpirun command
Inheritance diagram for Universe:Public Member Functions | |
| void | set_proc_grid () |
| setup 3d grid of procs | |
Public Attributes | |
| int | myloc [3] |
| which proc I am in each dim | |
| int | nprocs |
| My place (as a proc) in the universe. | |
| int | procgrid [3] |
| procs assigned in each dim of 3d grid | |
| int | procneigh [3][2] |
| my 6 neighboring procs, 0/1 = left/right | |
| MPI_Comm | uworld |
| MPI communicator for the entire universe. | |