PB3D  [2.45]
Ideal linear high-n MHD stability in 3-D
Public Member Functions | List of all members
mpi_utilities::get_ser_var Interface Reference

Gather parallel variable in serial version on group master. More...

Public Member Functions

integer function get_ser_var_complex (var, ser_var, scatter)
 complex version More...
 
integer function get_ser_var_real (var, ser_var, scatter)
 real version More...
 
integer function get_ser_var_int (var, ser_var, scatter)
 integer version More...
 

Detailed Description

Gather parallel variable in serial version on group master.

Optionally, all the processes receive the parallel variable using scatter.

Note
The serial variable has to be allocatable and if unallocated, it will be allocated.
Returns
ierr

Definition at line 55 of file MPI_utilities.f90.

Member Function/Subroutine Documentation

◆ get_ser_var_complex()

integer function mpi_utilities::get_ser_var::get_ser_var_complex ( complex(dp), dimension(:), intent(in)  var,
complex(dp), dimension(:), intent(inout), allocatable  ser_var,
logical, intent(in), optional  scatter 
)

complex version

Parameters
[in]varparallel vector
[in,out]ser_varserial vector
[in]scatteroptionally scatter the result to all the processes

Definition at line 107 of file MPI_utilities.f90.

◆ get_ser_var_int()

integer function mpi_utilities::get_ser_var::get_ser_var_int ( integer, dimension(:), intent(in)  var,
integer, dimension(:), intent(inout), allocatable  ser_var,
logical, intent(in), optional  scatter 
)

integer version

Parameters
[in]varparallel vector
[in,out]ser_varserial vector
[in]scatteroptionally scatter the result to all the processes

Definition at line 255 of file MPI_utilities.f90.

◆ get_ser_var_real()

integer function mpi_utilities::get_ser_var::get_ser_var_real ( real(dp), dimension(:), intent(in)  var,
real(dp), dimension(:), intent(inout), allocatable  ser_var,
logical, intent(in), optional  scatter 
)

real version

Parameters
[in]varparallel vector
[in,out]ser_varserial vector
[in]scatteroptionally scatter the result to all the processes

Definition at line 181 of file MPI_utilities.f90.


The documentation for this interface was generated from the following file: