Epetra Package Browser (Single Doxygen Collection)
Development
|
Epetra_OskiPermutation: A class for storing the permutation performed on a Epetra_OskiMatrix. More...
#include <Epetra_OskiPermutation.h>
Private Attributes | |
const oski_perm_t * | Permutation_ |
Constructor/Destructor | |
Epetra_OskiPermutation () | |
Default Constructor. More... | |
Epetra_OskiPermutation (const Epetra_OskiPermutation &Source) | |
Copy Constructor. More... | |
Epetra_OskiPermutation (bool RowPerm, const Epetra_OskiMatrix &Source) | |
Constructor creates an Epetra_OskiPermutation from an Epetra_OskiMatrix. More... | |
virtual | ~Epetra_OskiPermutation () |
Destructor. More... | |
Replace Method | |
void | ReplacePermutation (const oski_perm_t &InPerm) |
Stores a permutation in the data structure. More... | |
Apply | |
int | PermuteVector (const bool TransA, Epetra_OskiMultiVector &Vector) const |
Permutes Vector according to the Permutation. If a transpose is desired it performs that operation. More... | |
Epetra_OskiPermutation: A class for storing the permutation performed on a Epetra_OskiMatrix.
The Epetra_OskiPermutation is one of the possible transformations that OSKI can perform on a matrix. The permutation is stored with the matrix in OSKI. Using this class a Epetra_OskiPermutation can be applied to an Epetra_OskiMultiVector.
Definition at line 65 of file Epetra_OskiPermutation.h.
Epetra_OskiPermutation::Epetra_OskiPermutation | ( | ) |
Default Constructor.
Epetra_OskiPermutation::Epetra_OskiPermutation | ( | const Epetra_OskiPermutation & | Source | ) |
Copy Constructor.
Epetra_OskiPermutation::Epetra_OskiPermutation | ( | bool | RowPerm, |
const Epetra_OskiMatrix & | Source | ||
) |
Constructor creates an Epetra_OskiPermutation from an Epetra_OskiMatrix.
Acquires the permutation from the passed in matrix and stores it within the object. If RowPerm is true this is a row permutation and if RowPerm is false this is a column permutation.
|
virtual |
Destructor.
void Epetra_OskiPermutation::ReplacePermutation | ( | const oski_perm_t & | InPerm | ) |
Stores a permutation in the data structure.
int Epetra_OskiPermutation::PermuteVector | ( | const bool | TransA, |
Epetra_OskiMultiVector & | Vector | ||
) | const |
Permutes Vector according to the Permutation. If a transpose is desired it performs that operation.
The Vector passed into this function is a view. It is the underlying object that is permuted by the function.
TransA | (In) If TransA = TRUE then use the transpose of the permutation and apply it to Vector. |
Vector | (In/Out) The vector that is permuted by Permutation^Trans. |
|
private |
Definition at line 113 of file Epetra_OskiPermutation.h.