ForTrilinos
 All Classes Files Functions
FEpetra_Comm::SumAll Interface Reference


Epetra_Comm Sum function. More...

List of all members.

Public Member Functions

Sum Methods
subroutine SumAll (this, PartialSums, GlobalSums, err)
subroutine SumAll (this, PartialSums, GlobalSums, err)

Detailed Description


Epetra_Comm Sum function.

Take list of input values from all processors in the communicator, computes the sum and returns the sum to all processors. Implemented in Epetra_MpiComm, and Epetra_SerialComm.


Constructor & Destructor Documentation

subroutine FEpetra_Comm::SumAll::SumAll ( class(Epetra_Comm), intent(in)  this,
real(c_double), dimension(:), intent(in)  PartialSums,
real(c_double), dimension(:), intent(inout)  GlobalSums,
type(error), intent(inout), optional  err 
)
Parameters:
[in]thisPolymorphic type Epetra_Comm communicator containing processors information
[in]PartialSumsIn On entry, contains the list of values, usually partial sums computed locally, to be summed across all processors.
[in,out]GlobalSumsOut On exit, contains the list of values summed across all processors.
[in,out]errReturns error information.
subroutine FEpetra_Comm::SumAll::SumAll ( class(Epetra_Comm), intent(in)  this,
integer(c_int), dimension(:), intent(in)  PartialSums,
integer(c_int), dimension(:), intent(inout)  GlobalSums,
type(error), intent(inout), optional  err 
)
Parameters:
[in]thisPolymorphic type Epetra_Comm communicator containing processors information
[in]PartialSumsIn On entry, contains the list of values, usually partial sums computed locally, to be summed across all processors.
[in,out]GlobalSumsOut On exit, contains the list of values summed across all processors.
[in,out]errReturns error information.

The documentation for this interface was generated from the following file:
 All Classes Files Functions