pf_mod_comm Module

Module of communication wrappers


Uses

  • module~~pf_mod_comm~~UsesGraph module~pf_mod_comm pf_mod_comm module~pf_mod_pfasst pf_mod_pfasst module~pf_mod_comm->module~pf_mod_pfasst module~pf_mod_dtype pf_mod_dtype module~pf_mod_pfasst->module~pf_mod_dtype module~pf_mod_comm_mpi pf_mod_comm_mpi module~pf_mod_pfasst->module~pf_mod_comm_mpi iso_c_binding iso_c_binding module~pf_mod_dtype->iso_c_binding module~pf_mod_comm_mpi->module~pf_mod_dtype module~pf_mod_mpi pf_mod_mpi module~pf_mod_comm_mpi->module~pf_mod_mpi module~pf_mod_timer pf_mod_timer module~pf_mod_comm_mpi->module~pf_mod_timer module~pf_mod_timer->module~pf_mod_dtype

Used by

  • module~~pf_mod_comm~~UsedByGraph module~pf_mod_comm pf_mod_comm module~pf_mod_parallel_oc pf_mod_parallel_oc module~pf_mod_parallel_oc->module~pf_mod_comm module~pf_mod_parallel pf_mod_parallel module~pf_mod_parallel->module~pf_mod_comm module~pfasst pfasst module~pfasst->module~pf_mod_parallel

Contents


Subroutines

public subroutine pf_post(pf, level, tag, direction)

Subroutine to post a receive request for a new initial condition to be received after doing some work

Arguments

Type IntentOptional AttributesName
type(pf_pfasst_t), intent(in) :: pf
class(pf_level_t), intent(inout) :: level
integer, intent(in) :: tag
integer, intent(in), optional :: direction

public subroutine pf_send_status(pf, tag, direction)

Subroutine to send this processor's convergence status to the next processor

Arguments

Type IntentOptional AttributesName
type(pf_pfasst_t), intent(inout) :: pf
integer, intent(in) :: tag
integer, intent(in), optional :: direction

public subroutine pf_recv_status(pf, tag, direction)

Subroutine to receive the convergence status from the previous processor

Arguments

Type IntentOptional AttributesName
type(pf_pfasst_t), intent(inout) :: pf
integer, intent(in) :: tag
integer, intent(in), optional :: direction

public subroutine pf_send(pf, level, tag, blocking, direction)

Subroutine to send the solution to the next processor

Arguments

Type IntentOptional AttributesName
type(pf_pfasst_t), intent(inout) :: pf
class(pf_level_t), intent(inout) :: level
integer, intent(in) :: tag
logical, intent(in) :: blocking
integer, intent(in), optional :: direction

public subroutine pf_recv(pf, level, tag, blocking, direction)

Subroutine to recieve the solution from the previous processor

Arguments

Type IntentOptional AttributesName
type(pf_pfasst_t), intent(inout) :: pf
type(pf_level_t), intent(inout) :: level
integer, intent(in) :: tag
logical, intent(in) :: blocking
integer, intent(in), optional :: direction

public subroutine pf_broadcast(pf, y, nvar, root)

Subroutine to broadcast the initial condition to all processors

Arguments

Type IntentOptional AttributesName
type(pf_pfasst_t), intent(inout) :: pf
real(kind=pfdp), intent(in) :: y(nvar)
integer, intent(in) :: nvar
integer, intent(in) :: root

public subroutine save(lev, flags)

Save current solution and function value so that future corrections can be computed

Arguments

Type IntentOptional AttributesName
class(pf_level_t), intent(inout) :: lev

Level to save on

integer, intent(in), optional :: flags

which component to save (state/adjoint)