BEM++  2.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
Public Member Functions | Private Attributes | List of all members
Bempp::IndexPermutation Class Reference

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
 

Detailed Description

Permutation of indices.

This class is used in ACA-mode assembly.


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