Jpetra Development
Public Member Functions
Jpetra::NullDistObject Class Reference
Inheritance diagram for Jpetra::NullDistObject:
Inheritance graph
[legend]
Collaboration diagram for Jpetra::NullDistObject:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 NullDistObject (VectorSpace vectorSpace)
void copyAndPermute (DistObject distObjectSource, int numSameGids, int[] permuteToLids, int[] permuteFromLids, int combineMode)
Serializable[] packAndPrepare (DistObject distObjectSource, int[] exportGids, int[] exportLids)
int[][] unpackAndCombine (Serializable[] importData, int combineMode)
VectorSpace getVectorSpace ()

Detailed Description

Author:
Jason Cross

Constructor & Destructor Documentation

Jpetra::NullDistObject::NullDistObject ( VectorSpace  vectorSpace) [inline]

Creates a new instance of NullDistObject


Member Function Documentation

void Jpetra::NullDistObject::copyAndPermute ( DistObject  distObjectSource,
int  numSameGids,
int[]  permuteToLids,
int[]  permuteFromLids,
int  combineMode 
) [inline, virtual]

Should not be called directly by the user.

This method must be overridden by classes extending DistObject.

Parameters:
distObjectSourceThe object from which local values will be copied and permuted.
numSameGidsThe number of global ids that are the same starting from myMinGlobalEntryId.
permuteToLidsThe local IDs of this DistObject that will permute elements from distObjectSource according to the corresponding local IDs in permuteFromLids.
permuteFromLidsThe local IDs from distObjectSource that will be permuted to the local IDs in permuteToLids correspndong to this DistObject.
combineModeOne of the declared combine mode constants in DistObject.

Implements Jpetra::DistObject.

Serializable [] Jpetra::NullDistObject::packAndPrepare ( DistObject  distObjectSource,
int[]  exportGids,
int[]  exportLids 
) [inline, virtual]

Should not be called directly by the user.

This method must be overridden by classes extending DistObject.

Parameters:
distObjectSourceThe object from which elements will be packedup for exportation to other vnodes.
exportGidsThe global IDs of the elements to be exported.
exportLidsThe local IDs of elements to be exported.
Returns:
The packed data that Distributor.distribute will export to other vnodes.

Implements Jpetra::DistObject.

int [][] Jpetra::NullDistObject::unpackAndCombine ( Serializable[]  importData,
int  combineMode 
) [inline, virtual]

Should not be called directly by the user.

This method must be overridden by classes extending DistObject.

Parameters:
importDataThe data object returned from Distributor.distribute which contains all elements sent to this vnode.
combineModeOne of the declared combine mode constants in DistObject.

Implements Jpetra::DistObject.


The documentation for this class was generated from the following file:
 All Classes Functions Variables