PB3D  [2.45]
Ideal linear high-n MHD stability in 3-D
Interfaces and Types | Modules | Functions/Subroutines | Variables
MPI_utilities.f90 File Reference

Go to the source code of this file.

Interfaces and Types

interface  mpi_utilities::get_ser_var
 Gather parallel variable in serial version on group master. More...
 
interface  mpi_utilities::get_ghost_arr
 Fill the ghost regions in an array. More...
 
interface  mpi_utilities::broadcast_var
 Wrapper function to broadcast a single variable using MPI. More...
 

Modules

module  mpi_utilities
 Numerical utilities related to MPI.
 

Functions/Subroutines

integer function, public mpi_utilities::redistribute_var (var, dis_var, lims, lims_dis)
 Redistribute variables according to new limits. More...
 
integer function, public mpi_utilities::wait_mpi ()
 Wait for all processes, wrapper to MPI barrier. More...
 
integer function, public mpi_utilities::lock_req_acc (lock, blocking)
 Request access to lock of a BL (blocking) or optionally a NB (non-blocking) type. More...
 
integer function, public mpi_utilities::lock_return_acc (lock)
 Returns access to a lock. More...
 
logical function mpi_utilities::wl_empty (wl, proc_type, next_procs)
 Decides whether a waiting list is empty. More...
 
integer function mpi_utilities::lock_notify (lock_loc, rec_rank)
 Notifies a rank that they can get the lock. More...
 
integer function mpi_utilities::lock_get_notified (lock_loc)
 Get notified that the rank can get the lock. More...
 
integer function, public mpi_utilities::lock_wl_change (wl_action, blocking, lock_loc, wl, ranks)
 Adds, removes or sets to active a rank from the waiting list for a lock and returns the lock waiting list: More...
 
character(len=max_str_ln) function, public mpi_utilities::lock_header (lock_loc)
 Returns the header for lock debug messages. More...
 

Variables

logical, public mpi_utilities::debug_lock = .false.
 print debug information about lock operations More...
 
integer, public mpi_utilities::n_waits = 0
 number of waits More...