ViennaCL - The Vienna Computing Library
1.5.1
|
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_point * | operator[] (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_point * | get_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 |
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.
typedef VectorType::const_iterator const_iterator |
typedef VectorType::iterator iterator |
amg_pointvector | ( | unsigned int | size = 0 | ) | [inline] |
The constructor.
size | Number of points |
void add_influence | ( | amg_point * | point, |
unsigned int | add | ||
) | [inline] |
const_iterator begin | ( | ) | const [inline] |
void build_index | ( | ) | [inline] |
void clear_cf | ( | ) | [inline] |
void clear_influencelists | ( | ) | [inline] |
void delete_points | ( | ) | [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] |