ViennaCL - The Vienna Computing Library  1.5.2
Public Member Functions | Data Fields
amg_slicing< InternalType1, InternalType2 > Class Template Reference

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
unsigned int levels_
boost::numeric::ublas::vector<boost::numeric::ublas::vector<unsigned int> > Offset
boost::numeric::ublas::vector<InternalType2> Pointvector_slice
unsigned int threads_

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