|
Jpetra Development
|


Public Member Functions | |
| MultiVector (VectorSpace vectorSpace) | |
| MultiVector (VectorSpace vectorSpace, double[][] values) | |
| void | putScalar (double scalar) |
| void | putRandom (RandomNumberGenerator random) |
| double[] | maxValue () |
| double[] | minValue () |
| double[] | meanValue () |
| void | scale (double scalar) |
| double[] | dot (MultiVector otherMultiVector) |
| double[] | norm1 () |
| double[] | norm2 () |
| double[] | normInf () |
| void | Reciprocal () |
| void | abs () |
| VectorSpace | getVectorSpace () |
| double[][] | getValues () |
| void | update (double scalarA, MultiVector A, double scalarThis) |
| void | update (double scalarA, MultiVector A, double scalarB, MultiVector B, double scalarThis) |
| void | printOutAllVnodes (String iostream) |
| void | printOut (String iostream) |
| void | printOut (String iostream, boolean all) |
| int | getNumCols () |
| int | getNumRows () |
| 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) |
| void | writeExternal (ObjectOutput out) throws java.io.IOException |
| void | readExternal (ObjectInput in) throws java.io.IOException, ClassNotFoundException |
| Object | clone () |
| boolean | equals (Object obj) |
| void | setBlas (Blas blas) |
| Blas | getBlas () |
Static Public Member Functions | |
| static MultiVector | readFromFile (String fileName, Comm comm) |
| static void | writeToFile (String fileName, MultiVector multiVector) |
Package Attributes | |
| VectorSpace | vectorSpace |
| double[][] | values |
| void Jpetra::MultiVector::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.
| 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::MultiVector::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.
| 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. |
Distributor.distribute will export to other vnodes. Implements Jpetra::DistObject.
| int [][] Jpetra::MultiVector::unpackAndCombine | ( | Serializable[] | importData, |
| int | combineMode | ||
| ) | [inline, virtual] |
Should not be called directly by the user.
This method must be overridden by classes extending DistObject.
| 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.
1.7.4