CSR< T > Class Template Reference

#include <Csr.hpp>

List of all members.

Classes

class  CsrNode
class  CsrNodeInternal
class  iterator

Public Types

typedef T Tind
typedef TindpTind
typedef const TindcpTind

Public Member Functions

std::vector< Tind >::iterator write (std::vector< Tind > &v) const
std::vector< T >::const_iterator read (const std::vector< T > &v)
std::istream & read (std::istream &is)
 CSR (const Tind size=0)
void resize (Tind size)
void reserve (Tind size)
Tind capacity () const
CsrNodeInternalat (const int pos)
void clear ()
iterator begin ()
iterator end ()
Tind size () const
bool empty () const
pTind xadj ()
pTind adjncy ()
pTind vwgt ()
pTind adjwgt ()
pTind el_id ()
pTind part ()
pTind adj_neig_no ()
cpTind xadj () const
cpTind adjncy () const
cpTind vwgt () const
cpTind adjwgt () const
cpTind el_id () const
cpTind part () const
cpTind adj_neig_no () const
void push_back (CsrNode &val)
void push_back (CsrNodeInternal &val)
void push_back (Tind el_id, pTind neigs, Tind n_neigs, Tind vtxwgt, Tind part, pTind neig_no)
template<class Archive >
void serialize (Archive &archive)
std::vector< T > & getOverlapElems (std::vector< T > &overlap, const int part_no)

Public Attributes

std::vector< Tindxadj_
std::vector< Tindadjncy_
std::vector< Tindvwgt_
std::vector< Tindadjwgt_
std::vector< Tindel_loc_id_
std::vector< Tindpart_
std::vector< Tindadj_neig_no_

Static Public Attributes

static const int n_max_neig = MMC_MAXELFAC

Friends

class CsrNode
class CsrNodeInternal
std::ostream & operator<< (std::ostream &os, CSR< T > const &csr)
std::istream & operator>> (std::istream &is, CSR< T > &csr)

template<typename T>
class CSR< T >


Member Typedef Documentation

template<typename T>
typedef const Tind* CSR< T >::cpTind
template<typename T>
typedef Tind* CSR< T >::pTind
template<typename T>
typedef T CSR< T >::Tind

Constructor & Destructor Documentation

template<typename T>
CSR< T >::CSR ( const Tind  size = 0  )  [inline]

Member Function Documentation

template<typename T>
cpTind CSR< T >::adj_neig_no (  )  const [inline]
template<typename T>
pTind CSR< T >::adj_neig_no (  )  [inline]

Here is the caller graph for this function:

template<typename T>
cpTind CSR< T >::adjncy (  )  const [inline]
template<typename T>
pTind CSR< T >::adjncy (  )  [inline]

Here is the caller graph for this function:

template<typename T>
cpTind CSR< T >::adjwgt (  )  const [inline]
template<typename T>
pTind CSR< T >::adjwgt (  )  [inline]

Here is the caller graph for this function:

template<typename T>
CsrNodeInternal& CSR< T >::at ( const int  pos  )  [inline]
template<typename T>
iterator CSR< T >::begin (  )  [inline]

Here is the caller graph for this function:

template<typename T>
Tind CSR< T >::capacity (  )  const [inline]
template<typename T>
void CSR< T >::clear (  )  [inline]

Reimplemented in PCSR< Tind >, and PCSR< idx_t >.

Here is the caller graph for this function:

template<typename T>
cpTind CSR< T >::el_id (  )  const [inline]
template<typename T>
pTind CSR< T >::el_id (  )  [inline]

Here is the caller graph for this function:

template<typename T>
bool CSR< T >::empty (  )  const [inline]

Reimplemented in PCSR< Tind >, and PCSR< idx_t >.

template<typename T>
iterator CSR< T >::end (  )  [inline]

Here is the caller graph for this function:

template<typename T>
std::vector<T>& CSR< T >::getOverlapElems ( std::vector< T > &  overlap,
const int  part_no 
) [inline]

Here is the caller graph for this function:

template<typename T>
cpTind CSR< T >::part (  )  const [inline]
template<typename T>
pTind CSR< T >::part (  )  [inline]

Here is the caller graph for this function:

template<typename T>
void CSR< T >::push_back ( Tind  el_id,
pTind  neigs,
Tind  n_neigs,
Tind  vtxwgt,
Tind  part,
pTind  neig_no 
) [inline]
template<typename T>
void CSR< T >::push_back ( CsrNodeInternal val  )  [inline]
template<typename T>
void CSR< T >::push_back ( CsrNode val  )  [inline]

Here is the caller graph for this function:

template<typename T>
std::istream& CSR< T >::read ( std::istream &  is  )  [inline]

Reimplemented in PCSR< Tind >, and PCSR< idx_t >.

template<typename T>
std::vector<T>::const_iterator CSR< T >::read ( const std::vector< T > &  v  )  [inline]

Reimplemented in PCSR< Tind >, and PCSR< idx_t >.

template<typename T>
void CSR< T >::reserve ( Tind  size  )  [inline]

Here is the caller graph for this function:

template<typename T>
void CSR< T >::resize ( Tind  size  )  [inline]

Here is the caller graph for this function:

template<typename T>
template<class Archive >
void CSR< T >::serialize ( Archive &  archive  )  [inline]

Reimplemented in PCSR< Tind >, and PCSR< idx_t >.

template<typename T>
Tind CSR< T >::size (  )  const [inline]

Here is the caller graph for this function:

template<typename T>
cpTind CSR< T >::vwgt (  )  const [inline]
template<typename T>
pTind CSR< T >::vwgt (  )  [inline]

Here is the caller graph for this function:

template<typename T>
std::vector<Tind>::iterator CSR< T >::write ( std::vector< Tind > &  v  )  const [inline]

Reimplemented in PCSR< Tind >, and PCSR< idx_t >.

template<typename T>
cpTind CSR< T >::xadj (  )  const [inline]
template<typename T>
pTind CSR< T >::xadj (  )  [inline]

Here is the caller graph for this function:


Friends And Related Function Documentation

template<typename T>
friend class CsrNode [friend]
template<typename T>
friend class CsrNodeInternal [friend]
template<typename T>
std::ostream& operator<< ( std::ostream &  os,
CSR< T > const &  csr 
) [friend]

Reimplemented in PCSR< Tind >, and PCSR< idx_t >.

template<typename T>
std::istream& operator>> ( std::istream &  is,
CSR< T > &  csr 
) [friend]

Reimplemented in PCSR< Tind >, and PCSR< idx_t >.


Member Data Documentation

template<typename T>
std::vector<Tind> CSR< T >::adj_neig_no_
template<typename T>
std::vector<Tind> CSR< T >::adjncy_
template<typename T>
std::vector<Tind> CSR< T >::adjwgt_
template<typename T>
std::vector<Tind> CSR< T >::el_loc_id_
template<typename T>
const int CSR< T >::n_max_neig = MMC_MAXELFAC [static]
template<typename T>
std::vector<Tind> CSR< T >::part_
template<typename T>
std::vector<Tind> CSR< T >::vwgt_
template<typename T>
std::vector<Tind> CSR< T >::xadj_

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 3 Jun 2020 for ModFEM by  doxygen 1.6.1