Epetra_Comm Scan Sum function.  
 More...
Public Member Functions | |
Parallel Prefix Methods  | |
| subroutine | scansum (this, MyVals, scan_sums, err) | 
| subroutine | scansum (this, MyVals, scan_sums, err) | 
 Epetra_Comm Scan Sum function. 
Take list of input values from all processors in the communicator, computes the scan sum and returns it to all processors such that processor i contains the sum of values from processor 0 up to and including processor i. Implemented in Epetra_MpiComm, and Epetra_SerialComm.
| subroutine fepetra_comm::ScanSum::scansum | ( | class(epetra_comm), intent(in) | this, | 
| real(c_double), dimension(:), intent(in) | MyVals, | ||
| real(c_double), dimension(:), intent(inout) | scan_sums, | ||
| type(error), intent(inout), optional | err | ||
| ) | 
| [in] | this | Polymorphic type Epetra_Comm communicator containing processors information | 
| [in] | myvals | In On entry, contains the list of values to be summed across all processors. | 
| [in,out] | scan_sums | Out On exit, contains the list of values summed across processors 0 through i. | 
| [in,out] | err | Returns error information. | 
| subroutine fepetra_comm::ScanSum::scansum | ( | class(epetra_comm), intent(in) | this, | 
| integer(c_int), dimension(:), intent(in) | MyVals, | ||
| integer(c_int), dimension(:), intent(inout) | scan_sums, | ||
| type(error), intent(inout), optional | err | ||
| ) | 
| [in] | this | Polymorphic type Epetra_Comm communicator containing processors information | 
| [in] | myvals | In On entry, contains the list of values to be summed across all processors. | 
| [in,out] | scan_sums | Out On exit, contains the list of values summed across processors 0 through i. | 
| [in,out] | err | Returns error information. | 
 1.8.6