Static Public Member Functions | |
| const char * | typeName () |
| T * | clone (T *example, Epetra_DataAccess CV, const Epetra_BlockMap &map, int int_argument) |
| void | replaceMap (T *obj, const Epetra_BlockMap &map) |
| T * | produceColumnPermutation (Permutation< T > *perm, T *srcObj) |
First the default definition, which catches all types "T", followed by some specializations for anticipated types. Any type other than the types specifically anticipated will be handled by this default definition, allowing the Permutation class to abort or return NULL where appropriate.
We define these trait structs in this file rather than in a separate file in an attempt to avoid some template-instantiation complications...
|
||||||||||||||||||||||||
|
clone function accepts an example of the object being cloned, and enough constructor arguments to be able to create any of these: CrsMatrix, CrsGraph, Vector, MultiVector. And probably more later... Why is an example object needed? For instance, if a MultiVector is created, we may want to know how many vectors it should contain... |
|
||||||||||||||||
|
return new object, which is a column-permutation of srcObj |
|
||||||||||||||||
|
replace the object's row-map (or if it's not a matrix, replace its only map) |
|
|||||||||
|
return a string name for the object type |
1.3.9.1