Zoltan2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Public Member Functions | Protected Member Functions | List of all members
Zoltan2::Multiple_GID< gid_t, lid_t, user_t > Class Template Reference

#include <directoryTest_Impl.hpp>

Inheritance diagram for Zoltan2::Multiple_GID< gid_t, lid_t, user_t >:
Inheritance graph
[legend]
Collaboration diagram for Zoltan2::Multiple_GID< gid_t, lid_t, user_t >:
Collaboration graph
[legend]

Public Member Functions

 Multiple_GID (size_t gid_length_, size_t lid_length_)
 
- Public Member Functions inherited from Zoltan2::IDs< gid_t, lid_t, user_t >
 IDs ()
 
 IDs (size_t totalIds_, size_t idBase_, size_t idStride_, Teuchos::RCP< const Teuchos::Comm< int > > &comm_, int mode_, const std::string &test_name_, bool print_detailed_output_, bool performance_test_, bool bUseLocalIDs_)
 Construct IDs. More...
 
virtual void debug_print_subsets_and_decisions ()
 
void printResultMessage (bool pass) const
 
const std::string & get_test_name () const
 
virtual bool evaluateTests () const =0
 evaluateTests - determine if test worked More...
 
int getMode () const
 getMode - Replace, Add, or Aggregate More...
 
bool did_test_pass () const
 did_test_pass - did test pass More...
 
virtual std::string get_test_style () const =0
 get_test_style the test is either vector user_t or single user_t the test is either multiple gids or single gid so 4 combinations are possible - this just describes it More...
 
void print () const
 detailed notes on update IDs, find IDs, etc More...
 

Protected Member Functions

virtual lid_t get_not_found_lid () const
 
virtual std::string gid_to_string (gid_t gid) const
 
virtual std::string lid_to_string (lid_t lid) const
 
virtual bool check_lid_equal (const lid_t &a, const lid_t &b) const
 
virtual size_t gid_seed_value (const gid_t &gid) const
 
virtual int convert_gid_to_index (const gid_t &gid) const
 
virtual gid_t convert_index_to_gid (int index) const
 
virtual lid_t get_initial_lid (gid_t gid) const
 
- Protected Member Functions inherited from Zoltan2::IDs< gid_t, lid_t, user_t >
std::string get_mode_name () const
 
bool trueForAtLeastOneProc (int index, int rank) const
 
bool subset1 (int index, int rank) const
 
bool subset2 (int index, int rank) const
 
int proc_update_gid (gid_t gid, int rank) const
 
int proc_find_gid (gid_t gid, int rank) const
 
int proc_remove_gid (gid_t gid, int rank) const
 
virtual user_t get_not_found_user () const =0
 
virtual void initialize_with_not_found_user ()
 
virtual void initialize_with_not_found_lid ()
 
bool removedIDGlobally (gid_t gid) const
 
int sharedCount (gid_t gid) const
 
void print_gids (const std::vector< gid_t > &printIds, std::string name) const
 
void print_lids (const std::vector< lid_t > &printIds, std::string name) const
 
virtual void print_user_data () const =0
 
virtual void print_lid_data () const
 
virtual user_t get_expected_user (gid_t gid) const =0
 
virtual user_t get_initial_user (gid_t gid, int rank) const =0
 
virtual void execute ()
 
virtual void setup ()
 
virtual void test ()=0
 
template<typename directory_t >
void test_implement ()
 
void analyze ()
 
void output ()
 

Additional Inherited Members

- Protected Attributes inherited from Zoltan2::IDs< gid_t, lid_t, user_t >
size_t totalIds
 
size_t idBase
 
size_t idStride
 
Teuchos::RCP< const
Teuchos::Comm< int > > 
comm
 
size_t maxPrintSize
 
int mode
 
std::vector< gid_t > update_gids
 
std::vector< lid_t > update_lids
 
std::vector< user_tupdate_user
 
std::vector< gid_t > find_gids
 
std::vector< lid_t > find_lids
 
std::vector< user_tfind_user
 
std::vector< gid_t > remove_gids
 
bool did_setup
 
std::string test_name
 
bool passed
 
bool print_detailed_output
 
bool performance_test
 
bool bUseLocalIDs
 

Detailed Description

template<typename gid_t, typename lid_t, typename user_t>
class Zoltan2::Multiple_GID< gid_t, lid_t, user_t >

Definition at line 698 of file directoryTest_Impl.hpp.

Constructor & Destructor Documentation

template<typename gid_t , typename lid_t , typename user_t >
Zoltan2::Multiple_GID< gid_t, lid_t, user_t >::Multiple_GID ( size_t  gid_length_,
size_t  lid_length_ 
)
inline

Definition at line 701 of file directoryTest_Impl.hpp.

Member Function Documentation

template<typename gid_t , typename lid_t , typename user_t >
virtual lid_t Zoltan2::Multiple_GID< gid_t, lid_t, user_t >::get_not_found_lid ( ) const
inlineprotectedvirtual

Implements Zoltan2::IDs< gid_t, lid_t, user_t >.

Definition at line 709 of file directoryTest_Impl.hpp.

template<typename gid_t , typename lid_t , typename user_t >
virtual std::string Zoltan2::Multiple_GID< gid_t, lid_t, user_t >::gid_to_string ( gid_t  gid) const
inlineprotectedvirtual

Implements Zoltan2::IDs< gid_t, lid_t, user_t >.

Definition at line 717 of file directoryTest_Impl.hpp.

template<typename gid_t , typename lid_t , typename user_t >
virtual std::string Zoltan2::Multiple_GID< gid_t, lid_t, user_t >::lid_to_string ( lid_t  lid) const
inlineprotectedvirtual

Implements Zoltan2::IDs< gid_t, lid_t, user_t >.

Definition at line 727 of file directoryTest_Impl.hpp.

template<typename gid_t , typename lid_t , typename user_t >
virtual bool Zoltan2::Multiple_GID< gid_t, lid_t, user_t >::check_lid_equal ( const lid_t &  a,
const lid_t &  b 
) const
inlineprotectedvirtual

Implements Zoltan2::IDs< gid_t, lid_t, user_t >.

Definition at line 737 of file directoryTest_Impl.hpp.

template<typename gid_t , typename lid_t , typename user_t >
virtual size_t Zoltan2::Multiple_GID< gid_t, lid_t, user_t >::gid_seed_value ( const gid_t &  gid) const
inlineprotectedvirtual

Implements Zoltan2::IDs< gid_t, lid_t, user_t >.

Definition at line 746 of file directoryTest_Impl.hpp.

template<typename gid_t , typename lid_t , typename user_t >
virtual int Zoltan2::Multiple_GID< gid_t, lid_t, user_t >::convert_gid_to_index ( const gid_t &  gid) const
inlineprotectedvirtual

Implements Zoltan2::IDs< gid_t, lid_t, user_t >.

Definition at line 750 of file directoryTest_Impl.hpp.

template<typename gid_t , typename lid_t , typename user_t >
virtual gid_t Zoltan2::Multiple_GID< gid_t, lid_t, user_t >::convert_index_to_gid ( int  index) const
inlineprotectedvirtual

Implements Zoltan2::IDs< gid_t, lid_t, user_t >.

Definition at line 757 of file directoryTest_Impl.hpp.

template<typename gid_t , typename lid_t , typename user_t >
virtual lid_t Zoltan2::Multiple_GID< gid_t, lid_t, user_t >::get_initial_lid ( gid_t  gid) const
inlineprotectedvirtual

Implements Zoltan2::IDs< gid_t, lid_t, user_t >.

Definition at line 770 of file directoryTest_Impl.hpp.


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