Plugins
cr_reorder.cpp File Reference
#include <vector>
#include "lib_disc/function_spaces/approximation_space.h"
#include "common/profiler/profiler.h"
#include <boost/config.hpp>
#include <boost/graph/adjacency_list.hpp>
#include "boost/graph/graph_utility.hpp"
#include <boost/graph/cuthill_mckee_ordering.hpp>
#include <boost/graph/sloan_ordering.hpp>
#include <boost/graph/king_ordering.hpp>
#include <boost/graph/minimum_degree_ordering.hpp>
#include <boost/graph/properties.hpp>
#include <boost/graph/bandwidth.hpp>
#include <boost/graph/graphviz.hpp>
#include <boost/math/special_functions/round.hpp>
#include "lib_disc/dof_manager/dof_distribution.h"
#include "cr_reorder.h"

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)
 
void ug::computeNewIndicesFromPIndexset (std::vector< std::vector< size_t > > &vvConnection, std::vector< size_t > &newIndex, size_t pmin, const std::vector< int > &inv_perm, bool bseparate)
 
void ug::computeNewIndicesFromVIndexset (std::vector< std::vector< size_t > > &vvConnection, std::vector< size_t > &newIndex, size_t pmin, size_t dim, const std::vector< int > &inv_perm, bool bseparate, size_t strategy)
 
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...
 
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...