Plugins
cr_reorder.h File Reference
#include <vector>
#include "lib_disc/function_spaces/approximation_space.h"
#include "common/profiler/profiler.h"
#include <boost/graph/adjacency_list.hpp>
#include "lib_disc/dof_manager/dof_distribution.h"

Go to the source code of this file.

Classes

struct  ug::CompareDeg
 

Namespaces

 ug
 

Functions

void ug::ComputeCRCuthillMcKeeOrder (std::vector< size_t > &vNewIndex, std::vector< std::vector< size_t > > &vvConnections, size_t minpind, bool bReverse)
 
void ug::computeDegree (std::vector< size_t > &degree, std::vector< std::vector< size_t > > &vvConnections, size_t minpind)
 
template<typename TElem , typename TGridFunction >
void ug::cr_get_connections (std::vector< std::vector< size_t > > &vvConnection, size_t &minpind, DoFDistribution &dd, TGridFunction &u)
 
void ug::CRCuthillMcKee (std::vector< size_t > &newIndex, std::vector< std::vector< size_t > > &vvConnection, size_t dim, size_t minpind, bool bReverse, bool bseparate, bool orderp, bool orderv)
 orders the dof distribution using Cuthill-McKee More...
 
void ug::CRKing (std::vector< size_t > &newIndex, std::vector< std::vector< size_t > > &vvConnection, size_t dim, size_t minpind, bool bReverse, bool bseparate, bool orderp, bool orderv)
 orders the dof distribution using King More...
 
void ug::CRMinimumDegree (std::vector< size_t > &newIndex, std::vector< std::vector< size_t > > &vvConnection, size_t dim, size_t minpind, bool bseparate, bool orderp, bool orderv)
 orders the dof distribution using minimum degree algorithm More...
 
template<typename TDomain , typename TGridFunction >
void ug::CROrderCuthillMcKee (ApproximationSpace< TDomain > &approxSpace, TGridFunction &u, bool bReverse, bool bseparate, bool orderp, bool orderv)
 orders the all DofDistributions of the ApproximationSpace using Cuthill-McKee More...
 
template<typename TDomain , typename TGridFunction >
void ug::CROrderKing (ApproximationSpace< TDomain > &approxSpace, TGridFunction &u, bool bReverse, bool bseparate, bool orderp, bool orderv)
 orders the all DofDistributions of the ApproximationSpace using Cuthill-McKee More...
 
template<typename TDomain , typename TGridFunction >
void ug::CROrderMinimumDegree (ApproximationSpace< TDomain > &approxSpace, TGridFunction &u, bool bseparate, bool orderp, bool orderv)
 orders the all DofDistributions of the ApproximationSpace using minimum degree algorithm
More...
 
template<typename TDomain , typename TGridFunction >
void ug::CROrderSloan (ApproximationSpace< TDomain > &approxSpace, TGridFunction &u, bool bseparate, bool orderp, bool orderv)
 orders the all DofDistributions of the ApproximationSpace using Sloan More...
 
void ug::CRSloan (std::vector< size_t > &newIndex, std::vector< std::vector< size_t > > &vvConnection, size_t dim, size_t minpind, bool bseparate, bool orderp, bool orderv)
 orders the dof distribution using Sloan More...
 
template<class TGraph >
void ug::extractPGraph (TGraph &G, std::vector< std::vector< size_t > > &vvConnection, size_t pmin, size_t dim, bool directed)
 
template<class TGraph >
void ug::extractVGraph (TGraph &G, std::vector< std::vector< size_t > > &vvConnection, size_t pmin, size_t dim, bool directed)
 
template<typename TDomain , typename TGridFunction >
void ug::OrderCRCuthillMcKee (ApproximationSpace< TDomain > &approxSpace, TGridFunction &u, bool bReverse)
 orders the all DofDistributions of the ApproximationSpace using Cuthill-McKee More...