Epetra_Comm Broadcast function.
More...
Public Member Functions | |
Broadcast Methods | |
subroutine | broadcast_long (this, MyVals, root, err) |
Epetra_Comm Broadcast function.
Take list of input values from the root processor and sends to all other processors. Implemented in Epetra_MpiComm, and Epetra_SerialComm.
subroutine fepetra_comm::broadcast_long::broadcast_long | ( | class(epetra_comm), intent(in) | this, |
integer(c_long), dimension(:), intent(inout) | MyVals, | ||
integer(c_int), intent(in) | root, | ||
type(error), intent(inout), optional | err | ||
) |
[in] | this | Polymorphic type Epetra_Comm communicator containing processors information |
[in,out] | myvals | InOut On entry, the root processor contains the list of values. On exit, all processors will have the same list of values. Note that values must be allocated on all processor before the broadcast. |
[in] | root | In On entry, contains the processor from which all processors will receive a copy of Values. |
[in,out] | err | Returns error information. |