ViennaCL - The Vienna Computing Library  1.2.0
Public Types | Public Member Functions
amg_pointvector Class Reference

A class for the AMG points. Holds pointers of type amg_point in a vector that can be accessed using [point-index]. Additional list of pointers sorted by influence number and index to improve coarsening performance (see amg_coarse_classic_onepass() in amg_coarse.hpp) Constructs indices for C points on the coarse level, needed for interpolation. More...

#include <amg_base.hpp>

Public Types

typedef VectorType::iterator iterator
typedef VectorType::const_iterator const_iterator

Public Member Functions

 amg_pointvector (unsigned int size=0)
 The constructor.
void init_points ()
void delete_points ()
void add_point (amg_point *point)
void update_cf (amg_point *point)
void clear_cf ()
void clear_influencelists ()
amg_pointoperator[] (unsigned int i) const
iterator begin ()
iterator end ()
const_iterator begin () const
const_iterator end () const
void resize (unsigned int size)
unsigned int size () const
unsigned int get_cpoints () const
unsigned int get_fpoints () const
void sort ()
amg_pointget_nextpoint ()
void add_influence (amg_point *point, unsigned int add)
void make_cpoint (amg_point *point)
void make_fpoint (amg_point *point)
void switch_ftoc (amg_point *point)
void build_index ()
template<typename MatrixType >
void get_influence_matrix (MatrixType &mat) const
template<typename VectorType >
void get_influence (VectorType &vec) const
template<typename VectorType >
void get_sorting (VectorType &vec) const
template<typename VectorType >
void get_C (VectorType &vec) const
template<typename VectorType >
void get_F (VectorType &vec) const
template<typename MatrixType >
void get_Aggregates (MatrixType &mat) const

Detailed Description

A class for the AMG points. Holds pointers of type amg_point in a vector that can be accessed using [point-index]. Additional list of pointers sorted by influence number and index to improve coarsening performance (see amg_coarse_classic_onepass() in amg_coarse.hpp) Constructs indices for C points on the coarse level, needed for interpolation.

Member Typedef Documentation

typedef VectorType::const_iterator const_iterator
typedef VectorType::iterator iterator

Constructor & Destructor Documentation

amg_pointvector ( unsigned int  size = 0)
inline

The constructor.

Parameters
sizeNumber of points

Member Function Documentation

void add_influence ( amg_point point,
unsigned int  add 
)
inline
void add_point ( amg_point point)
inline
iterator begin ( )
inline
const_iterator begin ( ) const
inline
void build_index ( )
inline
void clear_cf ( )
inline
void clear_influencelists ( )
inline
void delete_points ( )
inline
iterator end ( )
inline
const_iterator end ( ) const
inline
void get_Aggregates ( MatrixType &  mat) const
inline
void get_C ( VectorType &  vec) const
inline
unsigned int get_cpoints ( ) const
inline
void get_F ( VectorType &  vec) const
inline
unsigned int get_fpoints ( ) const
inline
void get_influence ( VectorType &  vec) const
inline
void get_influence_matrix ( MatrixType &  mat) const
inline
amg_point* get_nextpoint ( )
inline
void get_sorting ( VectorType &  vec) const
inline
void init_points ( )
inline
void make_cpoint ( amg_point point)
inline
void make_fpoint ( amg_point point)
inline
amg_point* operator[] ( unsigned int  i) const
inline
void resize ( unsigned int  size)
inline
unsigned int size ( ) const
inline
void sort ( )
inline
void switch_ftoc ( amg_point point)
inline
void update_cf ( amg_point point)
inline

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