BEM++
2.0
|
Permutation of indices. More...
#include </home/wojtek/Projects/BEM/bempp-sven/bempp/lib/assembly/index_permutation.hpp>
Public Member Functions | |
IndexPermutation (const std::vector< unsigned int > &permutedIndices) | |
bool | operator== (const IndexPermutation &other) const |
bool | operator!= (const IndexPermutation &other) const |
const std::vector< unsigned int > & | permutedIndices () const |
std::vector< unsigned int > | unpermutedIndices () const |
template<typename ValueType > | |
void | permuteVector (const arma::Col< ValueType > &original, arma::Col< ValueType > &permuted) const |
Convert a vector from original to permuted ordering. | |
template<typename ValueType > | |
void | unpermuteVector (const arma::Col< ValueType > &permuted, arma::Col< ValueType > &original) const |
Convert a vector from permuted to original ordering. | |
unsigned int | permuted (unsigned int index) const |
Permute index. | |
size_t | size () const |
Return length of the vector of indices. | |
shared_ptr< const Epetra_CrsMatrix > | permutationMatrix () const |
Private Attributes | |
const std::vector< unsigned int > | m_permutedIndices |
Permutation of indices.
This class is used in ACA-mode assembly.