Epetra_Comm Global Max function.
More...
Public Member Functions | |
Max/Min Methods | |
subroutine | max_long (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::max_long::max_long | ( | class(epetra_comm), intent(in) | this, |
integer(c_long), dimension(:), intent(in) | PartialMaxs, | ||
integer(c_long), 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. |