PB3D  [2.45]
Ideal linear high-n MHD stability in 3-D
Interfaces and Types | Functions/Subroutines | Variables
mpi_vars Module Reference

Variables pertaining to MPI. More...

Interfaces and Types

type  lock_type
 lock type More...
 

Functions/Subroutines

integer function, public init_lock (lock_loc, wu_tag)
 Initializes a lock. More...
 
integer function, public dealloc_lock (lock_loc)
 Deallocates a lock. More...
 

Variables

type(lock_type), public hdf5_lock
 HDF5 lock. More...
 

Detailed Description

Variables pertaining to MPI.

Function/Subroutine Documentation

◆ dealloc_lock()

integer function, public mpi_vars::dealloc_lock ( class(lock_type), intent(inout)  lock_loc)

Deallocates a lock.

Note
Should be called collectively.
Returns
ierr
Parameters
[in,out]lock_loclock

Definition at line 133 of file MPI_vars.f90.

+ Here is the caller graph for this function:

◆ init_lock()

integer function, public mpi_vars::init_lock ( class(lock_type), intent(inout)  lock_loc,
integer, intent(in)  wu_tag 
)

Initializes a lock.

Note
  1. Should be called collectively.
  2. Every lock should have a unique wakeup tag.
Returns
ierr
Parameters
[in,out]lock_loclock
[in]wu_tagwakeup tag

Definition at line 87 of file MPI_vars.f90.

Variable Documentation

◆ hdf5_lock

type(lock_type), public mpi_vars::hdf5_lock

HDF5 lock.

Definition at line 76 of file MPI_vars.f90.