ViennaCL - The Vienna Computing Library
1.5.0
|
A class for the matrix slicing for parallel coarsening schemes (RS0/RS3). More...
#include <amg_base.hpp>
Public Member Functions | |
void | init (unsigned int levels, unsigned int threads=0) |
void | slice (unsigned int level, InternalType1 const &A, InternalType2 const &Pointvector) |
void | join (unsigned int level, InternalType2 &Pointvector) const |
Data Fields | |
boost::numeric::ublas::vector < InternalType1 > | A_slice |
boost::numeric::ublas::vector < InternalType2 > | Pointvector_slice |
boost::numeric::ublas::vector < boost::numeric::ublas::vector < unsigned int > > | Offset |
unsigned int | threads_ |
unsigned int | levels_ |
A class for the matrix slicing for parallel coarsening schemes (RS0/RS3).
Holds information on a per-processor basis and offers functionality to slice and join the data structures.
void init | ( | unsigned int | levels, |
unsigned int | threads = 0 |
||
) | [inline] |
void join | ( | unsigned int | level, |
InternalType2 & | Pointvector | ||
) | const [inline] |
void slice | ( | unsigned int | level, |
InternalType1 const & | A, | ||
InternalType2 const & | Pointvector | ||
) | [inline] |
boost::numeric::ublas::vector<InternalType1> A_slice |
unsigned int levels_ |
boost::numeric::ublas::vector<boost::numeric::ublas::vector<unsigned int> > Offset |
boost::numeric::ublas::vector<InternalType2> Pointvector_slice |
unsigned int threads_ |