EpetraExt Package Browser (Single Doxygen Collection) Development
Loading...
Searching...
No Matches
EpetraExt::Perm_traits< Epetra_CrsGraph > Struct Reference

A specialization of Perm_traits for the specific type Epetra_CrsGraph. More...

#include <EpetraExt_Permutation_impl.h>

Inheritance diagram for EpetraExt::Perm_traits< Epetra_CrsGraph >:

Static Public Member Functions

static const char * typeName ()
 typeName implementation
 
static Epetra_CrsGraphclone (Epetra_CrsGraph *example, Epetra_DataAccess CV, const Epetra_BlockMap &map, int rowLength)
 clone implementation
 
static void replaceMap (Epetra_CrsGraph *graph, const Epetra_BlockMap &map)
 replaceMap implementation
 
template<typename int_type>
static Epetra_CrsGraphTproduceColumnPermutation (TPermutation< Epetra_CrsGraph, int_type > *perm, Epetra_CrsGraph *srcObj)
 return new object which is a column-permutation of srcObj
 
static Epetra_CrsGraphproduceColumnPermutation (TPermutation< Epetra_CrsGraph, int > *perm, Epetra_CrsGraph *srcObj)
 return new object which is a column-permutation of srcObj
 
static Epetra_CrsGraphproduceColumnPermutation (TPermutation< Epetra_CrsGraph, long long > *perm, Epetra_CrsGraph *srcObj)
 return new object which is a column-permutation of srcObj
 
static const char * typeName ()
 return a std::string name for the object type
 
static Epetra_CrsGraphclone (Epetra_CrsGraph *example, Epetra_DataAccess CV, const Epetra_BlockMap &map, int int_argument)
 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.
 
static void replaceMap (Epetra_CrsGraph *obj, const Epetra_BlockMap &map)
 replace the object's row-map (or if it's not a matrix, replace its only map)
 
static Epetra_CrsGraphproduceColumnPermutation (TPermutation< Epetra_CrsGraph, int_type > *perm, Epetra_CrsGraph *srcObj)
 return new object, which is a column-permutation of srcObj
 

Detailed Description

A specialization of Perm_traits for the specific type Epetra_CrsGraph.

Definition at line 256 of file EpetraExt_Permutation_impl.h.

Member Function Documentation

◆ typeName() [1/2]

static const char * EpetraExt::Perm_traits< Epetra_CrsGraph >::typeName ( )
inlinestatic

typeName implementation

Definition at line 259 of file EpetraExt_Permutation_impl.h.

◆ clone() [1/2]

static Epetra_CrsGraph * EpetraExt::Perm_traits< Epetra_CrsGraph >::clone ( Epetra_CrsGraph * example,
Epetra_DataAccess CV,
const Epetra_BlockMap & map,
int rowLength )
inlinestatic

clone implementation

Definition at line 264 of file EpetraExt_Permutation_impl.h.

◆ replaceMap() [1/2]

static void EpetraExt::Perm_traits< Epetra_CrsGraph >::replaceMap ( Epetra_CrsGraph * graph,
const Epetra_BlockMap & map )
inlinestatic

replaceMap implementation

Definition at line 277 of file EpetraExt_Permutation_impl.h.

◆ TproduceColumnPermutation()

template<typename int_type>
static Epetra_CrsGraph * EpetraExt::Perm_traits< Epetra_CrsGraph >::TproduceColumnPermutation ( TPermutation< Epetra_CrsGraph, int_type > * perm,
Epetra_CrsGraph * srcObj )
inlinestatic

return new object which is a column-permutation of srcObj

Definition at line 283 of file EpetraExt_Permutation_impl.h.

◆ produceColumnPermutation() [1/3]

static Epetra_CrsGraph * EpetraExt::Perm_traits< Epetra_CrsGraph >::produceColumnPermutation ( TPermutation< Epetra_CrsGraph, int > * perm,
Epetra_CrsGraph * srcObj )
inlinestatic

return new object which is a column-permutation of srcObj

Definition at line 359 of file EpetraExt_Permutation_impl.h.

◆ produceColumnPermutation() [2/3]

static Epetra_CrsGraph * EpetraExt::Perm_traits< Epetra_CrsGraph >::produceColumnPermutation ( TPermutation< Epetra_CrsGraph, long long > * perm,
Epetra_CrsGraph * srcObj )
inlinestatic

return new object which is a column-permutation of srcObj

Definition at line 369 of file EpetraExt_Permutation_impl.h.

◆ typeName() [2/2]

static const char * EpetraExt::Perm_traits< Epetra_CrsGraph >::typeName ( )
inlinestatic

return a std::string name for the object type

Definition at line 79 of file EpetraExt_Permutation_impl.h.

◆ clone() [2/2]

static Epetra_CrsGraph * EpetraExt::Perm_traits< Epetra_CrsGraph >::clone ( Epetra_CrsGraph * example,
Epetra_DataAccess CV,
const Epetra_BlockMap & map,
int int_argument )
inlinestatic

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...

Definition at line 89 of file EpetraExt_Permutation_impl.h.

◆ replaceMap() [2/2]

static void EpetraExt::Perm_traits< Epetra_CrsGraph >::replaceMap ( Epetra_CrsGraph * obj,
const Epetra_BlockMap & map )
inlinestatic

replace the object's row-map (or if it's not a matrix, replace its only map)

Definition at line 98 of file EpetraExt_Permutation_impl.h.

◆ produceColumnPermutation() [3/3]

static Epetra_CrsGraph * EpetraExt::Perm_traits< Epetra_CrsGraph >::produceColumnPermutation ( TPermutation< Epetra_CrsGraph, int_type > * perm,
Epetra_CrsGraph * srcObj )
inlinestatic

return new object, which is a column-permutation of srcObj

Definition at line 104 of file EpetraExt_Permutation_impl.h.


The documentation for this struct was generated from the following file: