Zoltan2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Public Member Functions | List of all members
Zoltan2::LocalOrderingSolution< lno_t > Class Template Reference

#include <Zoltan2_OrderingSolution.hpp>

Inheritance diagram for Zoltan2::LocalOrderingSolution< lno_t >:
Inheritance graph
[legend]
Collaboration diagram for Zoltan2::LocalOrderingSolution< lno_t >:
Collaboration graph
[legend]

Public Member Functions

 LocalOrderingSolution (lno_t perm_size)
 
- Public Member Functions inherited from Zoltan2::OrderingSolution< lno_t >
 OrderingSolution (lno_tperm_size)
 Constructor allocates memory for the solution. More...
 
bool havePerm () const
 Do we have the direct permutation? More...
 
void setHavePerm (bool status)
 Set havePerm (intended for ordering algorithms only) More...
 
bool haveInverse () const
 Do we have the inverse permutation? More...
 
void setHaveInverse (bool status)
 Set haveInverse (intended for ordering algorithms only) More...
 
void setHaveSeparator (bool status)
 set all separator flags. More...
 
bool haveSeparatorRange () const
 Do we have the separator range? More...
 
void setHaveSeparatorRange (bool status)
 Set haveSeparatorRange (intended for ordering algorithms only) More...
 
bool haveSeparatorTree () const
 Do we have the separator tree? More...
 
bool haveSeparators () const
 Do we have the separators? More...
 
void setHaveSeparatorTree (bool status)
 Set haveSeparatorTree (intended for ordering algorithms only) More...
 
void computePerm ()
 Compute direct permutation from inverse. More...
 
void computeInverse ()
 Compute inverse permutation. More...
 
void setNumSeparatorBlocks (lno_tnblks)
 Set number of separator column blocks. More...
 
size_t getPermutationSize () const
 Get (local) size of permutation. More...
 
lno_t getNumSeparatorBlocks () const
 Get number of separator column blocks. More...
 
const ArrayRCP< lno_t > & getPermutationRCP (bool inverse=false) const
 Get (local) permuted GIDs by RCP. More...
 
bool getVertexSeparator (lno_t &numBlocks, lno_t *range, lno_t *tree) const
 return vertex separator variables by reference. More...
 
const ArrayRCP< lno_t > & getSeparatorRangeRCP () const
 Get (local) separator range by RCP. More...
 
const ArrayRCP< lno_t > & getSeparatorTreeRCP () const
 Get (local) separator tree by RCP. More...
 
ArrayRCP< lno_t > & getPermutationRCPConst (bool inverse=false) const
 Get (local) permuted GIDs by const RCP. More...
 
ArrayRCP< lno_t > & getSeparatorRangeRCPConst () const
 Get separator range by const RCP. More...
 
ArrayRCP< lno_t > & getSeparatorTreeRCPConst () const
 Get separator tree by const RCP. More...
 
lno_t * getPermutationView (bool inverse=false) const
 Get pointer to permutation. If inverse = true, return inverse permutation. By default, perm[i] is where new index i can be found in the old ordering. When inverse==true, perm[i] is where old index i can be found in the new ordering. More...
 
lno_t * getSeparatorRangeView () const
 Get pointer to separator range. More...
 
lno_t * getSeparatorTreeView () const
 Get pointer to separator tree. More...
 
lno_t & NumSeparatorBlocks ()
 Get reference to separator column block. More...
 
int validatePerm ()
 returns 0 if permutation is valid, negative if invalid. More...
 
- Public Member Functions inherited from Zoltan2::Solution
virtual ~Solution ()
 

Additional Inherited Members

- Protected Attributes inherited from Zoltan2::OrderingSolution< lno_t >
size_t perm_size_
 
bool havePerm_
 
bool haveInverse_
 
bool haveSeparatorRange_
 
bool haveSeparatorTree_
 
ArrayRCP< lno_t > perm_
 
ArrayRCP< lno_t > invperm_
 
ArrayRCP< lno_t > separatorRange_
 
ArrayRCP< lno_t > separatorTree_
 
lno_t separatorColBlocks_
 

Detailed Description

template<typename lno_t>
class Zoltan2::LocalOrderingSolution< lno_t >

Definition at line 386 of file Zoltan2_OrderingSolution.hpp.

Constructor & Destructor Documentation

template<typename lno_t>
Zoltan2::LocalOrderingSolution< lno_t >::LocalOrderingSolution ( lno_t  perm_size)
inline

Definition at line 389 of file Zoltan2_OrderingSolution.hpp.


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