ForTrilinos
 All Classes Files Functions Pages
List of all members
fepetra_comm::max_long Interface Reference


Epetra_Comm Global Max function. More...

Public Member Functions

Max/Min Methods
subroutine max_long (this, PartialMaxs, GlobalMaxs, err)
 

Detailed Description


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.

Constructor & Destructor Documentation

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 
)
Parameters
[in]thisPolymorphic type Epetra_Comm communicator containing processors information
[in]partialmaxsIn 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]globalmaxsOut On exit, contains the list of maxs computed across all processors.
[in,out]errReturns error information.

The documentation for this interface was generated from the following file: