ForTrilinos
 All Classes Files Functions Pages
Data Types | List of all members
fepetra_serialcomm Module Reference

Data Types

type  epetra_serialcomm
 

Public Member Functions

Constructor Functions
type(epetra_serialcomm) function epetra_serialcomm ()
 
Epetra_SerialComm Serial Constructor. More...
 
type(epetra_serialcomm) function epetra_serialcomm (this)
 
Epetra_SerialComm Copy Constructor. More...
 
Barrier Methods
subroutine barrier (this)
 
Epetra_SerialComm Barrier function. More...
 
Broadcast Methods
subroutine broadcast (this, MyVals, root, err)
 
Epetra_SerialComm Broadcast function. More...
 
subroutine broadcast (this, MyVals, root, err)
 
Epetra_SerialComm Broadcast function. More...
 
subroutine broadcast_long (this, MyVals, root, err)
 
Epetra_SerialComm Broadcast function. More...
 
subroutine broadcast (this, MyVals, root, err)
 
Epetra_SerialComm Broadcast function. More...
 
GatherAll Methods
subroutine gatherall (this, MyVals, AllVals, err)
 
Epetra_SerialComm All Gather function. More...
 
subroutine gatherall (this, MyVals, AllVals, err)
 
Epetra_SerialComm All Gather function. More...
 
subroutine gather_long (this, MyVals, AllVals, err)
 
Epetra_SerialComm All Gather function. More...
 
Sum Methods
subroutine sumall (this, PartialSums, GlobalSums, err)
 
Epetra_SerialComm Global Summ function. More...
 
subroutine sumall (this, PartialSums, GlobalSums, err)
 
Epetra_SerialComm Global Summ function. More...
 
subroutine sum_long (this, PartialSums, GlobalSums, err)
 
Epetra_SerialComm Global Summ function. More...
 
Max/Min Methods
subroutine maxall (this, PartialMaxs, GlobalMaxs, err)
 
Epetra_SerialComm Global Max function. More...
 
subroutine maxall (this, PartialMaxs, GlobalMaxs, err)
 
Epetra_SerialComm Global Max function. More...
 
subroutine max_long (this, PartialMaxs, GlobalMaxs, err)
 
Epetra_SerialComm Global Max function. More...
 
subroutine minall (this, PartialMins, GlobalMins, err)
 
Epetra_SerialComm Global Min function. More...
 
subroutine minall (this, PartialMins, GlobalMins, err)
 
Epetra_SerialComm Global Min function. More...
 
subroutine min_long (this, PartialMins, GlobalMins, err)
 
Epetra_SerialComm Global Min function. More...
 
Parallel Prefix Methods
subroutine scansum (this, MyVals, scan_sums, err)
 
Epetra_SerialComm Scan Sum function. More...
 
subroutine scansum (this, MyVals, scan_sums, err)
 
Epetra_SerialComm Scan Sum function. More...
 
subroutine scansum_long (this, MyVals, scan_sums, err)
 
Epetra_SerialComm Scan Sum function. More...
 
integer(c_int) function mypid (this)
 
Return my process ID. More...
 
integer(c_int) function numproc (this)
 
Return my process ID. More...
 

Member Function/Subroutine Documentation

subroutine fepetra_serialcomm::barrier ( class(epetra_serialcomm), intent(in)  this)


Epetra_SerialComm Barrier function.

A no-op for a serial communicator. Implements Epetra_Comm.

subroutine fepetra_serialcomm::broadcast ( class(epetra_serialcomm), intent(in)  this,
real(c_double), dimension(:), intent(inout)  MyVals,
integer(c_int), intent(in)  root,
type(error), intent(inout), optional  err 
)


Epetra_SerialComm Broadcast function.

A no-op for a serial communicator. Implements Epetra_Comm.

Parameters
[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 MyVals.
[in,out]errReturn any error information.
subroutine fepetra_serialcomm::broadcast ( class(epetra_serialcomm), intent(in)  this,
integer(c_int), dimension(:), intent(inout)  MyVals,
integer(c_int), intent(in)  root,
type(error), intent(inout), optional  err 
)


Epetra_SerialComm Broadcast function.

A no-op for a serial communicator. Implements Epetra_Comm.

Parameters
[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 MyVals.
[in,out]errReturn any error information
subroutine fepetra_serialcomm::broadcast ( class(epetra_serialcomm), intent(in)  this,
character(kind=c_char), dimension(:), intent(inout)  MyVals,
integer(c_int), intent(in)  root,
type(error), intent(inout), optional  err 
)


Epetra_SerialComm Broadcast function.

A no-op for a serial communicator. Implements Epetra_Comm.

Parameters
[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 MyVals.
[in,out]errReturn any error information.
subroutine fepetra_serialcomm::broadcast_long ( class(epetra_serialcomm), intent(in)  this,
integer(c_long), dimension(:), intent(inout)  MyVals,
integer(c_int), intent(in)  root,
type(error), intent(inout), optional  err 
)


Epetra_SerialComm Broadcast function.

A no-op for a serial communicator. Implements Epetra_Comm.

Parameters
[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 MyVals.
[in,out]errReturn any error information


Epetra_SerialComm Copy Constructor.


Epetra_SerialComm Serial Constructor.

subroutine fepetra_serialcomm::gather_long ( class(epetra_serialcomm), intent(in)  this,
integer(c_long), dimension(:), intent(in)  MyVals,
integer(c_long), dimension(:), intent(inout)  AllVals,
type(error), intent(inout), optional  err 
)


Epetra_SerialComm All Gather function.

A no-op for a serial communicator. Implements Epetra_Comm.

Parameters
[in]myvalsOn entry, contains the list of values, to be sent to all processors.
[in,out]allvalsOn exit, contains the list of values from all processors. Must be of size NumProc*size(MyVals).
[in,out]errReturn any error information.
subroutine fepetra_serialcomm::gatherall ( class(epetra_serialcomm), intent(in)  this,
real(c_double), dimension(:), intent(in)  MyVals,
real(c_double), dimension(:), intent(inout)  AllVals,
type(error), intent(inout), optional  err 
)


Epetra_SerialComm All Gather function.

A no-op for a serial communicator. Implements Epetra_Comm.

Parameters
[in]myvalsOn entry, contains the list of values, to be sent to all processors.
[in,out]allvalsOn exit, contains the list of values from all processors. Must be of size NumProc*size(MyVals).
[in,out]errReturn any error information.
subroutine fepetra_serialcomm::gatherall ( class(epetra_serialcomm), intent(in)  this,
integer(c_int), dimension(:), intent(in)  MyVals,
integer(c_int), dimension(:), intent(inout)  AllVals,
type(error), intent(inout), optional  err 
)


Epetra_SerialComm All Gather function.

A no-op for a serial communicator. Implements Epetra_Comm.

Parameters
[in]myvalsOn entry, contains the list of values, to be sent to all processors.
[in,out]allvalsOn exit, contains the list of values from all processors. Must be of size NumProc*size(MyVals).
[in,out]errReturn any error information.
subroutine fepetra_serialcomm::max_long ( class(epetra_serialcomm), intent(in)  this,
integer(c_long), dimension(:), intent(in)  PartialMaxs,
integer(c_long), dimension(:), intent(inout)  GlobalMaxs,
type(error), intent(inout), optional  err 
)


Epetra_SerialComm Global Max function.

A no-op for a serial communicator. Implements Epetra_Comm.

Parameters
[in]partialmaxsOn 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]globalmaxsOn exit, contains the list of maxs computed across all processors.
[in,out]errReturn any error information.
subroutine fepetra_serialcomm::maxall ( class(epetra_serialcomm), intent(in)  this,
real(c_double), dimension(:), intent(in)  PartialMaxs,
real(c_double), dimension(:), intent(inout)  GlobalMaxs,
type(error), intent(inout), optional  err 
)


Epetra_SerialComm Global Max function.

A no-op for a serial communicator. Implements Epetra_Comm.

Parameters
[in]partialmaxsOn 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]globalmaxsOn exit, contains the list of maxs computed across all processors.
[in,out]errReturn any error information.
subroutine fepetra_serialcomm::maxall ( class(epetra_serialcomm), intent(in)  this,
integer(c_int), dimension(:), intent(in)  PartialMaxs,
integer(c_int), dimension(:), intent(inout)  GlobalMaxs,
type(error), intent(inout), optional  err 
)


Epetra_SerialComm Global Max function.

A no-op for a serial communicator. Implements Epetra_Comm.

Parameters
[in]partialmaxsOn 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]globalmaxsOn exit, contains the list of maxs computed across all processors.
[in,out]errReturn any error information.
subroutine fepetra_serialcomm::min_long ( class(epetra_serialcomm), intent(in)  this,
integer(c_long), dimension(:), intent(in)  PartialMins,
integer(c_long), dimension(:), intent(inout)  GlobalMins,
type(error), intent(inout), optional  err 
)


Epetra_SerialComm Global Min function.

A no-op for a serial communicator. Implements Epetra_Comm.

Parameters
[in]partialminsOn entry, contains the list of values, usually partial mins computed locally; using these Partial Mins, the min across all processors will be computed.
[in,out]globalminsOn exit, contains the list of mins computed across all processors.
[in,out]errReturn any error information.
subroutine fepetra_serialcomm::minall ( class(epetra_serialcomm), intent(in)  this,
real(c_double), dimension(:), intent(in)  PartialMins,
real(c_double), dimension(:), intent(inout)  GlobalMins,
type(error), intent(inout), optional  err 
)


Epetra_SerialComm Global Min function.

A no-op for a serial communicator. Implements Epetra_Comm.

Parameters
[in]partialminsOn entry, contains the list of values, usually partial mins computed locally; using these Partial Mins, the min across all processors will be computed.
[in,out]globalminsOn exit, contains the list of mins computed across all processors.
[in,out]errReturn any error information.
subroutine fepetra_serialcomm::minall ( class(epetra_serialcomm), intent(in)  this,
integer(c_int), dimension(:), intent(in)  PartialMins,
integer(c_int), dimension(:), intent(inout)  GlobalMins,
type(error), intent(inout), optional  err 
)


Epetra_SerialComm Global Min function.

A no-op for a serial communicator. Implements Epetra_Comm.

Parameters
[in]partialminsOn entry, contains the list of values, usually partial mins computed locally; using these Partial Mins, the min across all processors will be computed.
[in,out]globalminsOn exit, contains the list of mins computed across all processors.
[in,out]errReturn any error information.
integer(c_int) function fepetra_serialcomm::mypid ( class(epetra_serialcomm), intent(in)  this)


Return my process ID.

In MPI mode returns the rank of the calling process. In serial mode returns 0. Implements Epetra_Comm.

integer(c_int) function fepetra_serialcomm::numproc ( class(epetra_serialcomm), intent(in)  this)


Return my process ID.

Returns total number of processes (always returns 1 for SerialComm). Implements Epetra_Comm.

subroutine fepetra_serialcomm::scansum ( class(epetra_serialcomm), intent(in)  this,
real(c_double), dimension(:), intent(in)  MyVals,
real(c_double), dimension(:), intent(inout)  scan_sums,
type(error), intent(inout), optional  err 
)


Epetra_SerialComm Scan Sum function.

A no-op for a serial communicator. Implements Epetra_Comm.

Parameters
[in]myvalsOn entry, contains the list of values to be summed across all processors.
[in,out]scan_sumsOn exit, contains the list of values summed across processors 0 through i.
[in,out]errReturn any error information.
subroutine fepetra_serialcomm::scansum ( class(epetra_serialcomm), intent(in)  this,
integer(c_int), dimension(:), intent(in)  MyVals,
integer(c_int), dimension(:), intent(inout)  scan_sums,
type(error), intent(inout), optional  err 
)


Epetra_SerialComm Scan Sum function.

A no-op for a serial communicator. Implements Epetra_Comm.

Parameters
[in]myvalsOn entry, contains the list of values to be summed across all processors.
[in,out]scan_sumsOn exit, contains the list of values summed across processors 0 through i.
[in,out]errReturn any error information.
subroutine fepetra_serialcomm::scansum_long ( class(epetra_serialcomm), intent(in)  this,
integer(c_long), dimension(:), intent(in)  MyVals,
integer(c_long), dimension(:), intent(inout)  scan_sums,
type(error), intent(inout), optional  err 
)


Epetra_SerialComm Scan Sum function.

A no-op for a serial communicator. Implements Epetra_Comm.

Parameters
[in]myvalsOn entry, contains the list of values to be summed across all processors.
[in,out]scan_sumsOn exit, contains the list of values summed across processors 0 through i.
[in,out]errReturn any error information.
subroutine fepetra_serialcomm::sum_long ( class(epetra_serialcomm), intent(in)  this,
integer(c_long), dimension(:), intent(in)  PartialSums,
integer(c_long), dimension(:), intent(inout)  GlobalSums,
type(error), intent(inout), optional  err 
)


Epetra_SerialComm Global Summ function.

A no-op for a serial communicator. Implements Epetra_Comm.

Parameters
[in]partialsumsOn entry, contains the list of values, usually partial sums computed locally, to be summed across all processors.
[in,out]globalsumsOn exit, contains the list of values summed across all processors.
[in,out]errReturn any error information.
subroutine fepetra_serialcomm::sumall ( class(epetra_serialcomm), intent(in)  this,
integer(c_int), dimension(:), intent(in)  PartialSums,
integer(c_int), dimension(:), intent(inout)  GlobalSums,
type(error), intent(inout), optional  err 
)


Epetra_SerialComm Global Summ function.

A no-op for a serial communicator. Implements Epetra_Comm.

Parameters
[in]partialsumsOn entry, contains the list of values, usually partial sums computed locally, to be summed across all processors.
[in,out]globalsumsOn exit, contains the list of values summed across all processors.
[in,out]errReturn any error information.
subroutine fepetra_serialcomm::sumall ( class(epetra_serialcomm), intent(in)  this,
real(c_double), dimension(:), intent(in)  PartialSums,
real(c_double), dimension(:), intent(inout)  GlobalSums,
type(error), intent(inout), optional  err 
)


Epetra_SerialComm Global Summ function.

A no-op for a serial communicator. Implements Epetra_Comm.

Parameters
[in]partialsumsOn entry, contains the list of values, usually partial sums computed locally, to be summed across all processors.
[in,out]globalsumsOn exit, contains the list of values summed across all processors.
[in,out]errReturn any error information.

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