#include <Epetra_SerialComm.h>
Inheritance diagram for Epetra_SerialComm:
Public Member Functions | |
| Epetra_SerialComm & | operator= (const Epetra_SerialComm &Comm) |
| Assignment Operator. | |
Constructor/Destructor Methods | |
| Epetra_SerialComm () | |
| Epetra_SerialComm Serial Constructor. | |
| Epetra_SerialComm (const Epetra_SerialComm &Comm) | |
| Epetra_SerialComm Copy Constructor. | |
| Epetra_Comm * | Clone () const |
| Clone method. | |
| virtual | ~Epetra_SerialComm () |
| Epetra_SerialComm Destructor. | |
Barrier Methods | |
| void | Barrier () const |
| Epetra_SerialComm Barrier function. | |
Broadcast Methods | |
| int | Broadcast (double *MyVals, int Count, int Root) const |
| Epetra_SerialComm Broadcast function. | |
| int | Broadcast (int *MyVals, int Count, int Root) const |
| Epetra_SerialComm Broadcast function. | |
| int | Broadcast (long *MyVals, int Count, int Root) const |
| Epetra_SerialComm Broadcast function. | |
Gather Methods | |
| int | GatherAll (double *MyVals, double *AllVals, int Count) const |
| Epetra_SerialComm All Gather function. | |
| int | GatherAll (int *MyVals, int *AllVals, int Count) const |
| Epetra_SerialComm All Gather function. | |
| int | GatherAll (long *MyVals, long *AllVals, int Count) const |
| Epetra_SerialComm All Gather function. | |
Sum Methods | |
| int | SumAll (double *PartialSums, double *GlobalSums, int Count) const |
| Epetra_SerialComm Global Sum function. | |
| int | SumAll (int *PartialSums, int *GlobalSums, int Count) const |
| Epetra_SerialComm Global Sum function. | |
| int | SumAll (long *PartialSums, long *GlobalSums, int Count) const |
| Epetra_SerialComm Global Sum function. | |
Max/Min Methods | |
| int | MaxAll (double *PartialMaxs, double *GlobalMaxs, int Count) const |
| Epetra_SerialComm Global Max function. | |
| int | MaxAll (int *PartialMaxs, int *GlobalMaxs, int Count) const |
| Epetra_SerialComm Global Max function. | |
| int | MaxAll (long *PartialMaxs, long *GlobalMaxs, int Count) const |
| Epetra_SerialComm Global Max function. | |
| int | MinAll (double *PartialMins, double *GlobalMins, int Count) const |
| Epetra_SerialComm Global Min function. | |
| int | MinAll (int *PartialMins, int *GlobalMins, int Count) const |
| Epetra_SerialComm Global Min function. | |
| int | MinAll (long *PartialMins, long *GlobalMins, int Count) const |
| Epetra_SerialComm Global Min function. | |
Parallel Prefix Methods | |
| int | ScanSum (double *MyVals, double *ScanSums, int Count) const |
| Epetra_SerialComm Scan Sum function. | |
| int | ScanSum (int *MyVals, int *ScanSums, int Count) const |
| Epetra_SerialComm Scan Sum function. | |
| int | ScanSum (long *MyVals, long *ScanSums, int Count) const |
| Epetra_SerialComm Scan Sum function. | |
Attribute Accessor Methods | |
| int | MyPID () const |
| Return my process ID. | |
| int | NumProc () const |
| Returns total number of processes (always returns 1 for SerialComm). | |
Gather/Scatter and Directory Constructors | |
| Epetra_Distributor * | CreateDistributor () const |
| Create a distributor object. | |
| Epetra_Directory * | CreateDirectory (const Epetra_BlockMap &Map) const |
| Create a directory object for the given Epetra_BlockMap. | |
Print object to an output stream | |
| void | Print (ostream &os) const |
| Print method that implements Epetra_Object virtual Print method. | |
| void | PrintInfo (ostream &os) const |
| Print method that implements Epetra_Comm virtual PrintInfo method. | |
Expert Users and Developers Only | |
| int | ReferenceCount () const |
| Returns the reference count of SerialCommData. | |
| const Epetra_SerialCommData * | DataPtr () const |
| Returns a pointer to the SerialCommData instance this SerialComm uses. | |
The Epetra_SerialComm class is an implementation of Epetra_Comm, providing the general information and services needed for other Epetra classes to run on a serial computer.
|
|
Epetra_SerialComm Serial Constructor. Builds an instance of a serial communicator. Even if the application is running in parallel via MPI, this communicator will execute in serial. The access functions return the number of processors to be 1 and the processor ID to be 0. |
|
|
Epetra_SerialComm Copy Constructor. Makes an exact copy of an existing Epetra_SerialComm instance. |
|
|
Epetra_SerialComm Destructor. Completely deletes a Epetra_SerialComm object.
|
|
|
Epetra_SerialComm Barrier function. A no-op for a serial communicator. Implements Epetra_Comm. |
|
||||||||||||||||
|
Epetra_SerialComm Broadcast function. A no-op for a serial communicator.
Implements Epetra_Comm. |
|
||||||||||||||||
|
Epetra_SerialComm Broadcast function. A no-op for a serial communicator.
Implements Epetra_Comm. |
|
||||||||||||||||
|
Epetra_SerialComm Broadcast function. A no-op for a serial communicator.
Implements Epetra_Comm. |
|
|
Returns a pointer to the SerialCommData instance this SerialComm uses. (Intended for developer use only for testing purposes.) |
|
||||||||||||||||
|
Epetra_SerialComm All Gather function. A copy for a serial communicator.
Implements Epetra_Comm. |
|
||||||||||||||||
|
Epetra_SerialComm All Gather function. A copy for a serial communicator.
Implements Epetra_Comm. |
|
||||||||||||||||
|
Epetra_SerialComm All Gather function. A copy for a serial communicator.
Implements Epetra_Comm. |
|
||||||||||||||||
|
Epetra_SerialComm Global Max function. A copy for a serial communicator.
Implements Epetra_Comm. |
|
||||||||||||||||
|
Epetra_SerialComm Global Max function. A copy for a serial communicator.
Implements Epetra_Comm. |
|
||||||||||||||||
|
Epetra_SerialComm Global Max function. A copy for a serial communicator.
Implements Epetra_Comm. |
|
||||||||||||||||
|
Epetra_SerialComm Global Min function. A copy for a serial communicator.
Implements Epetra_Comm. |
|
||||||||||||||||
|
Epetra_SerialComm Global Min function. A copy for a serial communicator.
Implements Epetra_Comm. |
|
||||||||||||||||
|
Epetra_SerialComm Global Min function. A copy for a serial communicator.
Implements Epetra_Comm. |
|
|
Return my process ID. In MPI mode returns the rank of the calling process. In serial mode returns 0. Implements Epetra_Comm. |
|
|
Returns the reference count of SerialCommData. (Intended for testing purposes.) |
|
||||||||||||||||
|
Epetra_SerialComm Scan Sum function. A copy for a serial communicator.
Implements Epetra_Comm. |
|
||||||||||||||||
|
Epetra_SerialComm Scan Sum function. A copy for a serial communicator.
Implements Epetra_Comm. |
|
||||||||||||||||
|
Epetra_SerialComm Scan Sum function. A copy for a serial communicator.
Implements Epetra_Comm. |
|
||||||||||||||||
|
Epetra_SerialComm Global Sum function. A copy for a serial communicator.
Implements Epetra_Comm. |
|
||||||||||||||||
|
Epetra_SerialComm Global Sum function. A copy for a serial communicator.
Implements Epetra_Comm. |
|
||||||||||||||||
|
Epetra_SerialComm Global Sum function. A copy for a serial communicator.
Implements Epetra_Comm. |
1.3.9.1