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

#include <Zoltan2_OrderingSolution.hpp>

Inheritance diagram for Zoltan2::GlobalOrderingSolution< gno_t >:
Inheritance graph
[legend]
Collaboration diagram for Zoltan2::GlobalOrderingSolution< gno_t >:
Collaboration graph
[legend]

Public Member Functions

 GlobalOrderingSolution (gno_t perm_size)
 
- Public Member Functions inherited from Zoltan2::OrderingSolution< gno_t >
 OrderingSolution (gno_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 (gno_tnblks)
 Set number of separator column blocks. More...
 
size_t getPermutationSize () const
 Get (local) size of permutation. More...
 
gno_t getNumSeparatorBlocks () const
 Get number of separator column blocks. More...
 
const ArrayRCP< gno_t > & getPermutationRCP (bool inverse=false) const
 Get (local) permuted GIDs by RCP. More...
 
bool getVertexSeparator (gno_t &numBlocks, gno_t *range, gno_t *tree) const
 return vertex separator variables by reference. More...
 
const ArrayRCP< gno_t > & getSeparatorRangeRCP () const
 Get (local) separator range by RCP. More...
 
const ArrayRCP< gno_t > & getSeparatorTreeRCP () const
 Get (local) separator tree by RCP. More...
 
ArrayRCP< gno_t > & getPermutationRCPConst (bool inverse=false) const
 Get (local) permuted GIDs by const RCP. More...
 
ArrayRCP< gno_t > & getSeparatorRangeRCPConst () const
 Get separator range by const RCP. More...
 
ArrayRCP< gno_t > & getSeparatorTreeRCPConst () const
 Get separator tree by const RCP. More...
 
gno_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...
 
gno_t * getSeparatorRangeView () const
 Get pointer to separator range. More...
 
gno_t * getSeparatorTreeView () const
 Get pointer to separator tree. More...
 
gno_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< gno_t >
size_t perm_size_
 
bool havePerm_
 
bool haveInverse_
 
bool haveSeparatorRange_
 
bool haveSeparatorTree_
 
ArrayRCP< gno_t > perm_
 
ArrayRCP< gno_t > invperm_
 
ArrayRCP< gno_t > separatorRange_
 
ArrayRCP< gno_t > separatorTree_
 
gno_t separatorColBlocks_
 

Detailed Description

template<typename gno_t>
class Zoltan2::GlobalOrderingSolution< gno_t >

Definition at line 393 of file Zoltan2_OrderingSolution.hpp.

Constructor & Destructor Documentation

template<typename gno_t>
Zoltan2::GlobalOrderingSolution< gno_t >::GlobalOrderingSolution ( gno_t  perm_size)
inline

Definition at line 396 of file Zoltan2_OrderingSolution.hpp.


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