PB3D [2.47]
Ideal linear high-n MHD stability in 3-D
Loading...
Searching...
No Matches
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.
integer function, public mpi_utilities::wait_mpi ()
 Wait for all processes, wrapper to MPI barrier.
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.
integer function, public mpi_utilities::lock_return_acc (lock)
 Returns access to a lock.
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:
character(len=max_str_ln) function, public mpi_utilities::lock_header (lock_loc)
 Returns the header for lock debug messages.

Variables

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