ForTrilinos
Data Types
FEpetra_SerialComm Module Reference

Data Types

type  Epetra_SerialComm

Functions/Subroutines

Constructor Functions
type(Epetra_SerialCommEpetra_SerialComm ()
 
Epetra_SerialComm Serial Constructor.
type(Epetra_SerialCommEpetra_SerialComm (this)
 
Epetra_SerialComm Copy Constructor.
Barrier Methods
subroutine barrier (this)
 
Epetra_SerialComm Barrier function.
Broadcast Methods
subroutine broadcast (this, MyVals, count, root, err)
 
Epetra_SerialComm Broadcast function.
subroutine broadcast (this, MyVals, count, root, err)
 
Epetra_SerialComm Broadcast function.
subroutine broadcast_long (this, MyVals, count, root, err)
 
Epetra_SerialComm Broadcast function.
subroutine broadcast (this, MyVals, count, root, err)
 
Epetra_SerialComm Broadcast function.
GatherAll Methods
subroutine GatherAll (this, MyVals, AllVals, count, err)
 
Epetra_SerialComm All Gather function.
subroutine GatherAll (this, MyVals, AllVals, count, err)
 
Epetra_SerialComm All Gather function.
subroutine gather_long (this, MyVals, AllVals, count, err)
 
Epetra_SerialComm All Gather function.
Sum Methods
subroutine SumAll (this, PartialSums, GlobalSums, count, err)
 
Epetra_SerialComm Global Summ function.
subroutine SumAll (this, PartialSums, GlobalSums, count, err)
 
Epetra_SerialComm Global Summ function.
subroutine sum_long (this, PartialSums, GlobalSums, count, err)
 
Epetra_SerialComm Global Summ function.
Max/Min Methods
subroutine MaxAll (this, PartialMaxs, GlobalMaxs, count, err)
 
Epetra_SerialComm Global Max function.
subroutine MaxAll (this, PartialMaxs, GlobalMaxs, count, err)
 
Epetra_SerialComm Global Max function.
subroutine max_long (this, PartialMaxs, GlobalMaxs, count, err)
 
Epetra_SerialComm Global Max function.
subroutine MinAll (this, PartialMins, GlobalMins, count, err)
 
Epetra_SerialComm Global Min function.
subroutine MinAll (this, PartialMins, GlobalMins, count, err)
 
Epetra_SerialComm Global Min function.
subroutine min_long (this, PartialMins, GlobalMins, count, err)
 
Epetra_SerialComm Global Min function.
Parallel Prefix Methods
subroutine ScanSum (this, MyVals, scan_sums, count, err)
 
Epetra_SerialComm Scan Sum function.
subroutine ScanSum (this, MyVals, scan_sums, count, err)
 
Epetra_SerialComm Scan Sum function.
subroutine ScanSum_long (this, MyVals, scan_sums, count, err)
 
Epetra_SerialComm Scan Sum function.
integer(c_int) MyPID (this)
 
Return my process ID.
integer(c_int) NumProc (this)
 
Return my process ID.

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)  count,
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:
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.
countIn On entry, contains the length of the list of MyVals.
rootIn On entry, contains the processor from which all processors will receive a copy of MyVals.
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)  count,
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:
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.
countIn On entry, contains the length of the list of MyVals.
rootIn On entry, contains the processor from which all processors will receive a copy of MyVals.
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)  count,
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:
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.
countIn On entry, contains the length of the list of MyVals.
rootIn On entry, contains the processor from which all processors will receive a copy of MyVals.
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)  count,
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:
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.
countIn On entry, contains the length of the list of MyVals.
rootIn On entry, contains the processor from which all processors will receive a copy of MyVals.
errReturn any error information
type(Epetra_SerialComm) FEpetra_SerialComm::Epetra_SerialComm ( type(Epetra_SerialComm),intent(in)  this)


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,
integer(c_int),intent(in)  count,
type(error),intent(inout),optional  err 
)


Epetra_SerialComm All Gather function.

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

Parameters:
MyValsOn entry, contains the list of values, to be sent to all processors.
AllValsOn exit, contains the list of values from all processors. Must be of size NumProc*Count.
countOn entry, contains the length of the list of MyVals.
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,
integer(c_int),intent(in)  count,
type(error),intent(inout),optional  err 
)


Epetra_SerialComm All Gather function.

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

Parameters:
MyValsOn entry, contains the list of values, to be sent to all processors.
AllValsOn exit, contains the list of values from all processors. Must be of size NumProc*Count.
countOn entry, contains the length of the list of MyVals.
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,
integer(c_int),intent(in)  count,
type(error),intent(inout),optional  err 
)


Epetra_SerialComm All Gather function.

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

Parameters:
MyValsOn entry, contains the list of values, to be sent to all processors.
AllValsOn exit, contains the list of values from all processors. Must be of size NumProc*Count.
countOn entry, contains the length of the list of MyVals.
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,
integer(c_int),intent(in)  count,
type(error),intent(inout),optional  err 
)


Epetra_SerialComm Global Max function.

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

Parameters:
PartialMaxsOn entry, contains the list of values, usually partial maxs computed locally, using these Partial Maxs, the max across all processors will be computed.
GlobalMaxsOn exit, contains the list of maxs computed across all processors.
countOn entry, contains the length of the list of values.
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,
integer(c_int),intent(in)  count,
type(error),intent(inout),optional  err 
)


Epetra_SerialComm Global Max function.

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

Parameters:
PartialMaxsOn entry, contains the list of values, usually partial maxs computed locally, using these Partial Maxs, the max across all processors will be computed.
GlobalMaxsOn exit, contains the list of maxs computed across all processors.
countOn entry, contains the length of the list of values.
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,
integer(c_int),intent(in)  count,
type(error),intent(inout),optional  err 
)


Epetra_SerialComm Global Max function.

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

Parameters:
PartialMaxsOn entry, contains the list of values, usually partial maxs computed locally, using these Partial Maxs, the max across all processors will be computed.
GlobalMaxsOn exit, contains the list of maxs computed across all processors.
countOn entry, contains the length of the list of values.
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,
integer(c_int),intent(in)  count,
type(error),intent(inout),optional  err 
)


Epetra_SerialComm Global Min function.

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

Parameters:
PartialMinsOn entry, contains the list of values, usually partial mins computed locally; using these Partial Mins, the min across all processors will be computed.
GlobalMinsOn exit, contains the list of mins computed across all processors.
countOn entry, contains the length of the list of values.
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,
integer(c_int),intent(in)  count,
type(error),intent(inout),optional  err 
)


Epetra_SerialComm Global Min function.

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

Parameters:
PartialMinsOn entry, contains the list of values, usually partial mins computed locally; using these Partial Mins, the min across all processors will be computed.
GlobalMinsOn exit, contains the list of mins computed across all processors.
countOn entry, contains the length of the list of values.
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,
integer(c_int),intent(in)  count,
type(error),intent(inout),optional  err 
)


Epetra_SerialComm Global Min function.

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

Parameters:
PartialMinsOn entry, contains the list of values, usually partial mins computed locally; using these Partial Mins, the min across all processors will be computed.
GlobalMinsOn exit, contains the list of mins computed across all processors.
countOn entry, contains the length of the list of values.
errReturn any error information.
integer(c_int) 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) 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,
integer(c_int),intent(in)  count,
type(error),intent(inout),optional  err 
)


Epetra_SerialComm Scan Sum function.

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

Parameters:
MyValsOn entry, contains the list of values to be summed across all processors.
scan_sumsOn exit, contains the list of values summed across processors 0 through i.
countOn entry, contains the length of the list of values.
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,
integer(c_int),intent(in)  count,
type(error),intent(inout),optional  err 
)


Epetra_SerialComm Scan Sum function.

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

Parameters:
MyValsOn entry, contains the list of values to be summed across all processors.
scan_sumsOn exit, contains the list of values summed across processors 0 through i.
countOn entry, contains the length of the list of values.
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,
integer(c_int),intent(in)  count,
type(error),intent(inout),optional  err 
)


Epetra_SerialComm Scan Sum function.

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

Parameters:
MyValsOn entry, contains the list of values to be summed across all processors.
scan_sumsOn exit, contains the list of values summed across processors 0 through i.
countOn entry, contains the length of the list of values.
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,
integer(c_int),intent(in)  count,
type(error),intent(inout),optional  err 
)


Epetra_SerialComm Global Summ function.

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

Parameters:
PartialSumsOn entry, contains the list of values, usually partial sums computed locally, to be summed across all processors.
GlobalSumsOn exit, contains the list of values summed across all processors.
countOn entry, contains the length of the list of values.
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,
integer(c_int),intent(in)  count,
type(error),intent(inout),optional  err 
)


Epetra_SerialComm Global Summ function.

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

Parameters:
PartialSumsOn entry, contains the list of values, usually partial sums computed locally, to be summed across all processors.
GlobalSumsOn exit, contains the list of values summed across all processors.
countOn entry, contains the length of the list of values.
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,
integer(c_int),intent(in)  count,
type(error),intent(inout),optional  err 
)


Epetra_SerialComm Global Summ function.

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

Parameters:
PartialSumsOn entry, contains the list of values, usually partial sums computed locally, to be summed across all processors.
GlobalSumsOn exit, contains the list of values summed across all processors.
countOn entry, contains the length of the list of values.
errReturn any error information.
 All Classes Namespaces Files Functions