dune-pdelab  2.0.0
Public Member Functions | List of all members
Dune::PDELab::PermutationOrderingTag Struct Reference

Indicate permuted ordering of the unknowns of non-leaf grid function spaces according to a given permutation. More...

#include <dune/pdelab/gridfunctionspace/tags.hh>

Public Member Functions

 PermutationOrderingTag (std::vector< std::size_t > perm)
 Constructs n PermutationOrderingTag using the permutation given by std::vector perm. More...
 
const std::vector< std::size_t > & permutation () const
 Returns the permutation. More...
 
void updatePermutation (const std::vector< std::size_t > &perm)
 Replaces the existing permutation by a new one. More...
 

Detailed Description

Indicate permuted ordering of the unknowns of non-leaf grid function spaces according to a given permutation.

This class instructs the non-leaf GridFunctionSpaces to reorder the dofs given by a permutation of indices (in form of a std::vector<size_t> as handed over in the constructor.

Constructor & Destructor Documentation

Dune::PDELab::PermutationOrderingTag::PermutationOrderingTag ( std::vector< std::size_t >  perm)
inline

Constructs n PermutationOrderingTag using the permutation given by std::vector perm.

Member Function Documentation

const std::vector<std::size_t>& Dune::PDELab::PermutationOrderingTag::permutation ( ) const
inline

Returns the permutation.

void Dune::PDELab::PermutationOrderingTag::updatePermutation ( const std::vector< std::size_t > &  perm)
inline

Replaces the existing permutation by a new one.


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