getdata_fwdbwdplane Interface

public interface getdata_fwdbwdplane

Overloading routine getdata_fwdbwdplane for integer and real data


Module Procedures

private subroutine getdata_fwdbwdplane_fp(comm, step, nsend, usend, nrecv, urecv)

Communicates data (FP) between planes receives data from plane rank + step and sends data to plane rank-step with periodicity in communication

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: comm

MPI Communicator

integer, intent(in) :: step

Step size of communication

integer, intent(in) :: nsend

Dimension of array to be sent data

real(kind=FP), intent(in), dimension(nsend) :: usend

Array to be sent

integer, intent(out) :: nrecv

Dimension of received array

real(kind=FP), intent(out), allocatable, dimension(:) :: urecv

Array to be received

private subroutine getdata_fwdbwdplane_int(comm, step, nsend, usend, nrecv, urecv)

Communicates data (Integer) between planes receives data from plane rank + step and sends data to plane rank-step with periodicity in communication

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: comm

MPI Communicator

integer, intent(in) :: step

Step size of communication

integer, intent(in) :: nsend

Dimension of array to be sent data

integer, intent(in), dimension(nsend) :: usend

Array to be sent

integer, intent(out) :: nrecv

Dimension of received array

integer, intent(out), allocatable, dimension(:) :: urecv

Array to be received

private subroutine getdata_fwdbwdplane_csr(comm, step, acsr_send, acsr_recv)

Communicates data (CSR matrix) between planes receives data from plane rank + step and sends data to plane rank-step with periodicity in communication

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: comm

MPI Communicator

integer, intent(in) :: step

Step size of communication

type(csrmat_t), intent(in) :: acsr_send

CSR matrix to be sent

type(csrmat_t), intent(out), allocatable :: acsr_recv

CSR matrix to be received