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


Epetra_Comm Broadcast function. More...

Public Member Functions

Broadcast Methods
subroutine broadcast (this, MyVals, root, err)
 
subroutine broadcast (this, MyVals, root, err)
 
subroutine broadcast (this, MyVals, root, err)
 

Detailed Description


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.

Constructor & Destructor Documentation

subroutine fepetra_comm::broadcast::broadcast ( class(epetra_comm), intent(in)  this,
real(c_double), dimension(:), intent(inout)  MyVals,
integer(c_int), intent(in)  root,
type(error), intent(inout), optional  err 
)
Parameters
[in]thisPolymorphic type Epetra_Comm communicator containing processors information
[in,out]myvalsInOut 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]rootIn On entry, contains the processor from which all processors will receive a copy of Values.
[in,out]errReturns error information.
subroutine fepetra_comm::broadcast::broadcast ( class(epetra_comm), intent(in)  this,
integer(c_int), dimension(:), intent(inout)  MyVals,
integer(c_int), intent(in)  root,
type(error), intent(inout), optional  err 
)
Parameters
[in]thisPolymorphic type Epetra_Comm communicator containing processors information
[in,out]myvalsInOut 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]rootIn On entry, contains the processor from which all processors will receive a copy of Values.
[in,out]errReturns error information.
subroutine fepetra_comm::broadcast::broadcast ( class(epetra_comm), intent(in)  this,
character(kind=c_char), dimension(:), intent(inout)  MyVals,
integer(c_int), intent(in)  root,
type(error), intent(inout), optional  err 
)
Parameters
[in]thisPolymorphic type Epetra_Comm communicator containing processors information
[in,out]myvalsInOut 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]rootIn On entry, contains the processor from which all processors will receive a copy of Values.
[in,out]errReturns error information.

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