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 |
Detailed Description
template<typename InternalType1, typename InternalType2>
class viennacl::linalg::detail::amg::amg_slicing< InternalType1, InternalType2 >
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.
Member Function Documentation
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 |
Field Documentation
boost::numeric::ublas::vector<InternalType1> A_slice |
boost::numeric::ublas::vector<boost::numeric::ublas::vector<unsigned int> > Offset |
boost::numeric::ublas::vector<InternalType2> Pointvector_slice |
The documentation for this class was generated from the following file:
- /tmp/buildd/viennacl-1.2.0/viennacl/linalg/detail/amg/amg_base.hpp