List of all members.
Public Member Functions |
| | CisMatrix (VectorSpace primaryVectorSpace, boolean rowOriented) |
|
void | insertEntries (int localRowColId, int[] indices, double[] entries, int combineMode) |
|
void | insertEntry (int localRowColId, int index, double entry, int combineMode) |
|
void | fillComplete () |
|
void | scale (double scaler) |
|
void | printOutAllVnodes (String iostream) |
|
void | printOut (String iostream) |
|
void | printOut (String iostream, boolean all) |
|
int | getNumMyNonZeros () |
|
int | getNumGlobalRows () |
|
int | getNumGlobalColumns () |
|
int | getNumMyRows () |
|
int | getNumMyColumns () |
|
boolean | isRowOriented () |
|
Graph | getGraph () |
|
double[] | getEntriesArray () |
|
int[] | getNumEntriesArray () |
|
int[] | getStartIndex () |
|
int[] | getNumEntries () |
|
boolean | isFilled () |
|
VectorSpace | getVectorSpace () |
| Serializable[] | packAndPrepare (DistObject distObjectSource, int[] exportGids, int[] exportLids) |
| int[][] | unpackAndCombine (Serializable[] importData, int combineMode) |
| void | copyAndPermute (DistObject distObjectSource, int numSameGids, int[] permuteToLids, int[] permuteFromLids, int combineMode) |
|
VectorSpace | getColumnVectorSpace () |
|
VectorSpace | getRowVectorSpace () |
|
VectorSpace | getPrimaryVectorSpace () |
|
VectorSpace | getSecondaryVectorSpace () |
|
void | multiply (boolean useTransposeA, MultiVector x, MultiVector y) |
|
void | writeExternal (ObjectOutput out) throws java.io.IOException |
|
void | readExternal (ObjectInput in) throws java.io.IOException, ClassNotFoundException |
|
Object | clone () |
|
boolean | equals (Object obj) |
Static Public Member Functions |
|
static CisMatrix | readFromFile (String fileName, Comm comm) |
|
static void | writeToFile (String fileName, CisMatrix cisMatrix) |
Static Public Attributes |
| static final boolean | ROW_ORIENTED = true |
| static final boolean | COL_ORIENTED = false |
|
static final boolean | USE_TRANSPOSE_A = true |
|
static final boolean | USE_A = false |
Detailed Description
Constructor & Destructor Documentation
| Jpetra::CisMatrix::CisMatrix |
( |
VectorSpace |
primaryVectorSpace, |
|
|
boolean |
rowOriented |
|
) |
| [inline] |
Construct an empty CisMatrix. The secondaryVectorSpace will be generated automatically once fillComplete is called.
- Parameters:
-
| primaryVectorSpace | describes what global elemenets this CisMatrix owns |
| rowOriented | determines whether the CisMatrix is row or column oriented |
Member Function Documentation
| void Jpetra::CisMatrix::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:
-
| distObjectSource | The object from which local values will be copied and permuted. |
| numSameGids | The number of global ids that are the same starting from myMinGlobalEntryId. |
| permuteToLids | The local IDs of this DistObject that will permute elements from distObjectSource according to the corresponding local IDs in permuteFromLids. |
| permuteFromLids | The local IDs from distObjectSource that will be permuted to the local IDs in permuteToLids correspndong to this DistObject. |
| combineMode | One of the declared combine mode constants in DistObject. |
Implements Jpetra::DistObject.
| Serializable [] Jpetra::CisMatrix::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:
-
| distObjectSource | The object from which elements will be packedup for exportation to other vnodes. |
| exportGids | The global IDs of the elements to be exported. |
| exportLids | The local IDs of elements to be exported. |
- Returns:
- The packed data that
Distributor.distribute will export to other vnodes.
Implements Jpetra::DistObject.
| int [][] Jpetra::CisMatrix::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:
-
| importData | The data object returned from Distributor.distribute which contains all elements sent to this vnode. |
| combineMode | One of the declared combine mode constants in DistObject. |
Implements Jpetra::DistObject.
Member Data Documentation
The documentation for this class was generated from the following file: