Loading [MathJax]/extensions/tex2jax.js
ug4
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
lexorder.cpp File Reference

Namespaces

namespace  ug
 the ug namespace
 

Functions

template<int dim>
void ug::ComputeLexicographicOrder (std::vector< size_t > &vNewIndex, std::vector< std::pair< MathVector< dim >, size_t > > &vPos, size_t orderDim, bool increasing)
 
template<typename TDomain >
void ug::OrderLex (ApproximationSpace< TDomain > &approxSpace, const char *order)
 orders the all DofDistributions of the ApproximationSpace using lexicographic order
 
template<typename TDomain >
void ug::OrderLexForDofDist (SmartPtr< DoFDistribution > dd, ConstSmartPtr< TDomain > domain, size_t orderDim, bool increasing)
 orders the dof distribution using Cuthill-McKee