Epetra_Comm Global Max function.
More...
Public Member Functions | |
Max/Min Methods | |
subroutine | maxall (this, PartialMaxs, GlobalMaxs, err) |
subroutine | maxall (this, PartialMaxs, GlobalMaxs, err) |
Epetra_Comm Global Max function.
Take list of input values from all processors in the communicator, computes the max and returns the max to all processors. Implemented in Epetra_MpiComm, and Epetra_SerialComm.
subroutine fepetra_comm::MaxAll::maxall | ( | class(epetra_comm), intent(in) | this, |
real(c_double), dimension(:), intent(in) | PartialMaxs, | ||
real(c_double), dimension(:), intent(inout) | GlobalMaxs, | ||
type(error), intent(inout), optional | err | ||
) |
[in] | this | Polymorphic type Epetra_Comm communicator containing processors information |
[in] | partialmaxs | In On entry, contains the list of values, usually partial maxs computed locally; using these Partial Maxs, the max across all processors will be computed. |
[in,out] | globalmaxs | Out On exit, contains the list of maxs computed across all processors. |
[in,out] | err | Returns error information. |
subroutine fepetra_comm::MaxAll::maxall | ( | class(epetra_comm), intent(in) | this, |
integer(c_int), dimension(:), intent(in) | PartialMaxs, | ||
integer(c_int), dimension(:), intent(inout) | GlobalMaxs, | ||
type(error), intent(inout), optional | err | ||
) |
[in] | this | Polymorphic type Epetra_Comm communicator containing processors information |
[in] | partialmaxs | In On entry, contains the list of values, usually partial maxs computed locally; using these Partial Maxs, the max across all processors will be computed. |
[in,out] | globalmaxs | Out On exit, contains the list of maxs computed across all processors. |
[in,out] | err | Returns error information. |