Module of communication wrappers
Subroutine to post a receive request for a new initial condition to be received after doing some work
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(pf_pfasst_t), | intent(in) | :: | pf | |||
class(pf_level_t), | intent(inout) | :: | level | |||
integer, | intent(in) | :: | tag | |||
integer, | intent(in), | optional | :: | direction |
Subroutine to send this processor's convergence status to the next processor
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(pf_pfasst_t), | intent(inout) | :: | pf | |||
integer, | intent(in) | :: | tag | |||
integer, | intent(in), | optional | :: | direction |
Subroutine to receive the convergence status from the previous processor
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(pf_pfasst_t), | intent(inout) | :: | pf | |||
integer, | intent(in) | :: | tag | |||
integer, | intent(in), | optional | :: | direction |
Subroutine to send the solution to the next processor
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
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 |
Subroutine to recieve the solution from the previous processor
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
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 |
Subroutine to broadcast the initial condition to all processors
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(pf_pfasst_t), | intent(inout) | :: | pf | |||
real(kind=pfdp), | intent(in) | :: | y(nvar) | |||
integer, | intent(in) | :: | nvar | |||
integer, | intent(in) | :: | root |
Save current solution and function value so that future corrections can be computed
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(pf_level_t), | intent(inout) | :: | lev | Level to save on |
||
integer, | intent(in), | optional | :: | flags | which component to save (state/adjoint) |