EpetraExt Package Browser (Single Doxygen Collection)  Development
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
EpetraExt::Permutation< T > Class Template Reference

#include <EpetraExt_Permutation.h>

Inheritance diagram for EpetraExt::Permutation< T >:
Inheritance graph
[legend]

Public Member Functions

 Permutation (Epetra_DataAccess CV, const Epetra_BlockMap &map, int *permutation)
 Constructor. More...
 
 Permutation (const Epetra_BlockMap &map)
 Constructor. More...
 
 Permutation (const Permutation< T > &src)
 Copy Constructor. More...
 
- Public Member Functions inherited from EpetraExt::TPermutation< T, int >
 TPermutation (Epetra_DataAccess CV, const Epetra_BlockMap &map, int *permutation)
 Constructor. More...
 
 TPermutation (const Epetra_BlockMap &map)
 Constructor. More...
 
 TPermutation (const TPermutation< T, int > &src)
 Copy Constructor. More...
 
virtual ~TPermutation ()
 Destructor. More...
 
OutputRef operator() (InputRef orig)
 This method creates a new object which is a permuted copy of the input argument. More...
 
OutputRef operator() (InputRef orig, bool column_permutation)
 This method creates a new object which is a permuted copy of the input argument. More...
 
- Public Member Functions inherited from EpetraExt::StructuralSameTypeTransform< T >
bool fwd ()
 Forward transfer of data from orig object input in the operator() method call to the new object created in this same call. More...
 
bool rvs ()
 Reverse transfer of data from new object created in the operator() method call to the orig object input to this same method. More...
 
virtual ~StructuralSameTypeTransform ()
 
- Public Member Functions inherited from EpetraExt::SameTypeTransform< T >
virtual ~SameTypeTransform ()
 
- Public Member Functions inherited from EpetraExt::Transform< T, T >
virtual ~Transform ()
 
virtual bool analyze (OriginalTypeRef orig)
 Initial analysis phase of transform. More...
 
virtual NewTypeRef construct ()
 Construction of new object as a result of the transform. More...
 
virtual bool isConstructed ()
 Check for whether transformed object has been constructed. More...
 

Additional Inherited Members

- Public Types inherited from EpetraExt::TPermutation< T, int >
typedef
EpetraExt::SameTypeTransform
< T >::TransformTypeRef 
OutputRef
 
typedef
EpetraExt::SameTypeTransform
< T >::TransformTypeRef 
InputRef
 
typedef
EpetraExt::SameTypeTransform
< T >::TransformTypePtr 
OutputPtr
 
typedef
EpetraExt::SameTypeTransform
< T >::TransformTypePtr 
InputPtr
 
- Public Types inherited from EpetraExt::SameTypeTransform< T >
typedef T TransformType
 
typedef T * TransformTypePtr
 
typedef T & TransformTypeRef
 
- Public Types inherited from EpetraExt::Transform< T, T >
typedef T OriginalType
 
typedef T * OriginalTypePtr
 
typedef Teuchos::RCP< T > OriginalTypeRCP
 
typedef T & OriginalTypeRef
 
typedef T NewType
 
typedef T * NewTypePtr
 
typedef Teuchos::RCP< T > NewTypeRCP
 
typedef T & NewTypeRef
 
- Protected Member Functions inherited from EpetraExt::Transform< T, T >
 Transform ()
 Default constructor, protected to allow only derived classes to use. More...
 
- Protected Attributes inherited from EpetraExt::Transform< T, T >
OriginalTypePtr origObj_
 
NewTypePtr newObj_
 

Detailed Description

template<typename T>
class EpetraExt::Permutation< T >

Definition at line 204 of file EpetraExt_Permutation.h.

Constructor & Destructor Documentation

template<typename T>
EpetraExt::Permutation< T >::Permutation ( Epetra_DataAccess  CV,
const Epetra_BlockMap map,
int *  permutation 
)
inline

Constructor.

Parameters
CVSet to either Copy or View.
mapDefines the index space to be permuted.
permutationArray defining the permutation. The length of this array must be 'map.NumMyElements()'. This array is the local portion of the 'p' vector described in the 'Detailed Description' section.

Definition at line 217 of file EpetraExt_Permutation.h.

template<typename T>
EpetraExt::Permutation< T >::Permutation ( const Epetra_BlockMap map)
inline

Constructor.

This constructor creates an empty permutation object. The contents must then be set using regular Epetra_IntVector methods.

Parameters
mapDefines the index space to be permuted.

Definition at line 229 of file EpetraExt_Permutation.h.

template<typename T>
EpetraExt::Permutation< T >::Permutation ( const Permutation< T > &  src)
inline

Copy Constructor.

Definition at line 235 of file EpetraExt_Permutation.h.


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