6 #ifndef TPZBOOSTGRAPH_H 7 #define TPZBOOSTGRAPH_H 13 #include <boost/graph/adjacency_list.hpp> 14 #include <boost/graph/sloan_ordering.hpp> 15 #include <boost/graph/cuthill_mckee_ordering.hpp> 16 #include <boost/graph/properties.hpp> 17 #include <boost/graph/bandwidth.hpp> 18 #include <boost/graph/profile.hpp> 19 #include <boost/graph/wavefront.hpp> 20 #include <boost/graph/properties.hpp> 26 typedef boost::adjacency_list<boost::setS,boost::vecS,boost::undirectedS,
27 boost::property<boost::vertex_color_t,boost::default_color_type,
28 boost::property<boost::vertex_degree_t,int,
29 boost::property<boost::vertex_priority_t,double > > > > Graph;
31 typedef boost::graph_traits<Graph>::vertex_descriptor Vertex;
32 typedef boost::graph_traits<Graph>::vertices_size_type size_type;
34 typedef std::pair<std::size_t, std::size_t> Pair;
52 enum GraphType { KMC, KMCExpensive, Sloan };
61 TPZBoostGraph(int64_t NElements, int64_t NNodes);
63 virtual ~TPZBoostGraph();
73 void setGType(GraphType M) { fGType = M; }
88 boost::property_map<Graph,boost::vertex_degree_t>::type m_Degrees;
94 boost::property_map<Graph, boost::vertex_index_t>::type m_Index_map;
103 #endif // USING_BOOST 105 #endif //TPZBOOSTGRAPH_H Templated vector implementation.
Contains the TPZRenumbering class which defines the behavior to implementing node sequence numbering ...
This abstract class which defines the behavior which derived classes need to implement for implement...
virtual void ClearDataStructures()
This will reset all datastructures the object may contain.
virtual void Resequence(TPZVec< int64_t > &perm, TPZVec< int64_t > &iperm)