ug4
ug::RiverOrdering< TAlgebra, TDomain, O_t > Class Template Reference

#include <riverorder.h>

+ Inheritance diagram for ug::RiverOrdering< TAlgebra, TDomain, O_t >:

Public Types

typedef boost::graph_traits< G_t >::adjacency_iterator adj_iter
 
typedef IOrderingAlgorithm< TAlgebra, O_t > baseclass
 
typedef boost::adjacency_list< boost::vecS, boost::vecS, boost::bidirectionalS > G_t
 
typedef GridFunction< TDomain, TAlgebra > GridFunc_t
 Grid function type for the solution. More...
 
typedef TAlgebra::matrix_type M_t
 
typedef TAlgebra::vector_type V_t
 
typedef boost::graph_traits< G_t >::vertex_descriptor vd
 
- Public Types inherited from ug::IOrderingAlgorithm< TAlgebra, O_t >
typedef TAlgebra::matrix_type M_t
 
typedef TAlgebra::vector_type V_t
 

Public Member Functions

void check ()
 
SmartPtr< IOrderingAlgorithm< TAlgebra, O_t > > clone ()
 
void compute ()
 
vd get_source_vertex (std::vector< BOOL > &visited, G_t &g)
 
void init (M_t *)
 
void init (M_t *, const O_t &)
 
void init (M_t *, const V_t &, const O_t &)
 
void init (M_t *A, const V_t &V)
 
virtual const char * name () const
 
O_t & ordering ()
 
 RiverOrdering ()
 
 RiverOrdering (const LexOrdering< TAlgebra, TDomain, O_t > &parent)
 clone constructor More...
 
void select_sources (const char *ssName)
 
void topological_ordering (O_t &o, G_t &g)
 
- Public Member Functions inherited from ug::IOrderingAlgorithm< TAlgebra, O_t >
virtual void init (M_t *, const std::vector< size_t > &)=0
 
virtual void init (M_t *, const V_t &, const std::vector< size_t > &)=0
 
 IOrderingAlgorithm ()
 
virtual ~IOrderingAlgorithm ()
 

Private Attributes

G_t g
 
std::vector< BOOLm_sources
 
int m_ssIdx
 
const char * m_ssName
 
O_t o
 

Member Typedef Documentation

◆ adj_iter

template<typename TAlgebra , typename TDomain , typename O_t >
typedef boost::graph_traits<G_t>::adjacency_iterator ug::RiverOrdering< TAlgebra, TDomain, O_t >::adj_iter

◆ baseclass

template<typename TAlgebra , typename TDomain , typename O_t >
typedef IOrderingAlgorithm<TAlgebra, O_t> ug::RiverOrdering< TAlgebra, TDomain, O_t >::baseclass

◆ G_t

template<typename TAlgebra , typename TDomain , typename O_t >
typedef boost::adjacency_list<boost::vecS, boost::vecS, boost::bidirectionalS> ug::RiverOrdering< TAlgebra, TDomain, O_t >::G_t

◆ GridFunc_t

template<typename TAlgebra , typename TDomain , typename O_t >
typedef GridFunction<TDomain, TAlgebra> ug::RiverOrdering< TAlgebra, TDomain, O_t >::GridFunc_t

Grid function type for the solution.

◆ M_t

template<typename TAlgebra , typename TDomain , typename O_t >
typedef TAlgebra::matrix_type ug::RiverOrdering< TAlgebra, TDomain, O_t >::M_t

◆ V_t

template<typename TAlgebra , typename TDomain , typename O_t >
typedef TAlgebra::vector_type ug::RiverOrdering< TAlgebra, TDomain, O_t >::V_t

◆ vd

template<typename TAlgebra , typename TDomain , typename O_t >
typedef boost::graph_traits<G_t>::vertex_descriptor ug::RiverOrdering< TAlgebra, TDomain, O_t >::vd

Constructor & Destructor Documentation

◆ RiverOrdering() [1/2]

template<typename TAlgebra , typename TDomain , typename O_t >
ug::RiverOrdering< TAlgebra, TDomain, O_t >::RiverOrdering ( )
inline

◆ RiverOrdering() [2/2]

template<typename TAlgebra , typename TDomain , typename O_t >
ug::RiverOrdering< TAlgebra, TDomain, O_t >::RiverOrdering ( const LexOrdering< TAlgebra, TDomain, O_t > &  parent)
inline

clone constructor

Member Function Documentation

◆ check()

template<typename TAlgebra , typename TDomain , typename O_t >
void ug::RiverOrdering< TAlgebra, TDomain, O_t >::check ( )
inlinevirtual

◆ clone()

template<typename TAlgebra , typename TDomain , typename O_t >
SmartPtr<IOrderingAlgorithm<TAlgebra, O_t> > ug::RiverOrdering< TAlgebra, TDomain, O_t >::clone ( )
inlinevirtual

◆ compute()

◆ get_source_vertex()

template<typename TAlgebra , typename TDomain , typename O_t >
vd ug::RiverOrdering< TAlgebra, TDomain, O_t >::get_source_vertex ( std::vector< BOOL > &  visited,
G_t g 
)
inline

◆ init() [1/4]

template<typename TAlgebra , typename TDomain , typename O_t >
void ug::RiverOrdering< TAlgebra, TDomain, O_t >::init ( M_t )
inlinevirtual

◆ init() [2/4]

template<typename TAlgebra , typename TDomain , typename O_t >
void ug::RiverOrdering< TAlgebra, TDomain, O_t >::init ( M_t ,
const O_t &   
)
inline

◆ init() [3/4]

template<typename TAlgebra , typename TDomain , typename O_t >
void ug::RiverOrdering< TAlgebra, TDomain, O_t >::init ( M_t ,
const V_t ,
const O_t &   
)
inline

◆ init() [4/4]

◆ name()

template<typename TAlgebra , typename TDomain , typename O_t >
virtual const char* ug::RiverOrdering< TAlgebra, TDomain, O_t >::name ( ) const
inlinevirtual

◆ ordering()

template<typename TAlgebra , typename TDomain , typename O_t >
O_t& ug::RiverOrdering< TAlgebra, TDomain, O_t >::ordering ( )
inlinevirtual

◆ select_sources()

template<typename TAlgebra , typename TDomain , typename O_t >
void ug::RiverOrdering< TAlgebra, TDomain, O_t >::select_sources ( const char *  ssName)
inline

◆ topological_ordering()

template<typename TAlgebra , typename TDomain , typename O_t >
void ug::RiverOrdering< TAlgebra, TDomain, O_t >::topological_ordering ( O_t &  o,
G_t g 
)
inline

Member Data Documentation

◆ g

◆ m_sources

template<typename TAlgebra , typename TDomain , typename O_t >
std::vector<BOOL> ug::RiverOrdering< TAlgebra, TDomain, O_t >::m_sources
private

◆ m_ssIdx

template<typename TAlgebra , typename TDomain , typename O_t >
int ug::RiverOrdering< TAlgebra, TDomain, O_t >::m_ssIdx
private

◆ m_ssName

template<typename TAlgebra , typename TDomain , typename O_t >
const char* ug::RiverOrdering< TAlgebra, TDomain, O_t >::m_ssName
private

◆ o


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