EpetraExt Development
Loading...
Searching...
No Matches
EpetraExt::Permutation64< T > Class Template Reference

#include <EpetraExt_Permutation.h>

Inheritance diagram for EpetraExt::Permutation64< T >:

Public Member Functions

 Permutation64 (Epetra_DataAccess CV, const Epetra_BlockMap &map, long long *permutation)
 Constructor.
 Permutation64 (const Epetra_BlockMap &map)
 Constructor.
 Permutation64 (const Permutation64< T > &src)
 Copy Constructor.
Public Member Functions inherited from EpetraExt::TPermutation< T, long long >
 TPermutation (Epetra_DataAccess CV, const Epetra_BlockMap &map, long long *permutation)
 Constructor.
virtual ~TPermutation ()
 Destructor.
OutputRef operator() (InputRef orig)
 This method creates a new object which is a permuted copy of the input argument.
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.
bool rvs ()
 Reverse transfer of data from new object created in the operator() method call to the orig object input to this same method.
virtual ~StructuralSameTypeTransform ()
Public Member Functions inherited from EpetraExt::SameTypeTransform< T >
virtual ~SameTypeTransform ()
virtual ~Transform ()
virtual bool analyze (OriginalTypeRef orig)
 Initial analysis phase of transform.
virtual NewTypeRef construct ()
 Construction of new object as a result of the transform.
virtual bool isConstructed ()
 Check for whether transformed object has been constructed.
virtual NewTypeRef operator() (OriginalTypeRef orig)=0
 Analysis of transform operation on original object and construction of new object.

Additional Inherited Members

Public Types inherited from EpetraExt::TPermutation< T, long long >
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
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
 Transform ()
 Default constructor, protected to allow only derived classes to use.
OriginalTypePtr origObj_
NewTypePtr newObj_

Detailed Description

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

Definition at line 251 of file EpetraExt_Permutation.h.

Constructor & Destructor Documentation

◆ Permutation64() [1/3]

template<typename T>
EpetraExt::Permutation64< T >::Permutation64 ( Epetra_DataAccess CV,
const Epetra_BlockMap & map,
long long * 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 264 of file EpetraExt_Permutation.h.

◆ Permutation64() [2/3]

template<typename T>
EpetraExt::Permutation64< T >::Permutation64 ( 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 276 of file EpetraExt_Permutation.h.

◆ Permutation64() [3/3]

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

Copy Constructor.

Definition at line 282 of file EpetraExt_Permutation.h.


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