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

#include <Zoltan2_AlgQuotient.hpp>

Inheritance diagram for Zoltan2::AlgQuotient< Adapter >:
Inheritance graph
[legend]
Collaboration diagram for Zoltan2::AlgQuotient< Adapter >:
Collaboration graph
[legend]

Public Types

typedef Adapter::base_adapter_t base_adapter_t
 
typedef Adapter::part_t part_t
 
typedef Adapter::user_t user_t
 
typedef Adapter::userCoord_t userCoord_t
 
typedef CommGraphModel
< typename
Adapter::base_adapter_t > 
graphModel_t
 
- Public Types inherited from Zoltan2::Algorithm< Adapter >
typedef Adapter::lno_t lno_t
 
typedef Adapter::gno_t gno_t
 
typedef Adapter::scalar_t scalar_t
 
typedef Adapter::part_t part_t
 

Public Member Functions

 AlgQuotient (const RCP< const Environment > &env__, const RCP< const Comm< int > > &problemComm__, const RCP< const IdentifierAdapter< user_t > > &adapter__, const modelFlag_t &graphFlags_)
 
 AlgQuotient (const RCP< const Environment > &env__, const RCP< const Comm< int > > &problemComm__, const RCP< const VectorAdapter< user_t > > &adapter__, const modelFlag_t &graphFlags_)
 
 AlgQuotient (const RCP< const Environment > &env__, const RCP< const Comm< int > > &problemComm__, const RCP< const MatrixAdapter< user_t, userCoord_t > > &adapter__, const modelFlag_t &graphFlags_)
 
 AlgQuotient (const RCP< const Environment > &env__, const RCP< const Comm< int > > &problemComm__, const RCP< const MeshAdapter< user_t > > &adapter__, const modelFlag_t &graphFlags_)
 
 AlgQuotient (const RCP< const Environment > &env__, const RCP< const Comm< int > > &problemComm__, const RCP< const GraphAdapter< user_t, userCoord_t > > &adapter__, const modelFlag_t &graphFlags_)
 
void partition (const RCP< PartitioningSolution< Adapter > > &solution)
 Partitioning method. More...
 
void migrateBack (const RCP< PartitioningSolution< Adapter > > &solution)
 
- Public Member Functions inherited from Zoltan2::Algorithm< Adapter >
virtual ~Algorithm ()
 
virtual int localOrder (const RCP< LocalOrderingSolution< lno_t > > &)
 Ordering method. More...
 
virtual int globalOrder (const RCP< GlobalOrderingSolution< gno_t > > &)
 Ordering method. More...
 
virtual void color (const RCP< ColoringSolution< Adapter > > &)
 Coloring method. More...
 
virtual void match ()
 Matching method. More...
 
virtual void partitionMatrix (const RCP< MatrixPartitioningSolution< Adapter > > &)
 Matrix Partitioning method. More...
 
virtual void map (const RCP< MappingSolution< Adapter > > &)
 Mapping method. More...
 
virtual bool isPartitioningTreeBinary () const
 return if algorithm determins tree to be binary More...
 
virtual void getPartitionTree (part_t, part_t &, std::vector< part_t > &, std::vector< part_t > &, std::vector< part_t > &, std::vector< part_t > &) const
 for partitioning methods, fill arrays with partition tree info More...
 
virtual std::vector
< coordinateModelPartBox > & 
getPartBoxesView () const
 for partitioning methods, return bounding boxes of the More...
 
virtual part_t pointAssign (int, scalar_t *) const
 pointAssign method: Available only for some partitioning algorithms More...
 
virtual void boxAssign (int, scalar_t *, scalar_t *, size_t &, part_t **) const
 boxAssign method: Available only for some partitioning algorithms More...
 
virtual void getCommunicationGraph (const PartitioningSolution< Adapter > *, ArrayRCP< part_t > &, ArrayRCP< part_t > &)
 returns serial communication graph of a computed partition More...
 
virtual int getRankForPart (part_t)
 In mapping, returns the rank to which a part is assigned. More...
 
virtual void getMyPartsView (part_t &, part_t *&)
 In mapping, returns a view of parts assigned to the current rank. More...
 

Static Public Member Functions

static void getValidParameters (ParameterList &pl)
 Set up validators specific to this algorithm. More...
 

Detailed Description

template<typename Adapter>
class Zoltan2::AlgQuotient< Adapter >

Definition at line 34 of file Zoltan2_AlgQuotient.hpp.

Member Typedef Documentation

template<typename Adapter >
typedef Adapter::base_adapter_t Zoltan2::AlgQuotient< Adapter >::base_adapter_t

Definition at line 37 of file Zoltan2_AlgQuotient.hpp.

template<typename Adapter >
typedef Adapter::part_t Zoltan2::AlgQuotient< Adapter >::part_t

Definition at line 38 of file Zoltan2_AlgQuotient.hpp.

template<typename Adapter >
typedef Adapter::user_t Zoltan2::AlgQuotient< Adapter >::user_t

Definition at line 39 of file Zoltan2_AlgQuotient.hpp.

template<typename Adapter >
typedef Adapter::userCoord_t Zoltan2::AlgQuotient< Adapter >::userCoord_t

Definition at line 40 of file Zoltan2_AlgQuotient.hpp.

template<typename Adapter >
typedef CommGraphModel<typename Adapter::base_adapter_t> Zoltan2::AlgQuotient< Adapter >::graphModel_t

Definition at line 41 of file Zoltan2_AlgQuotient.hpp.

Constructor & Destructor Documentation

template<typename Adapter >
Zoltan2::AlgQuotient< Adapter >::AlgQuotient ( const RCP< const Environment > &  env__,
const RCP< const Comm< int > > &  problemComm__,
const RCP< const IdentifierAdapter< user_t > > &  adapter__,
const modelFlag_t graphFlags_ 
)
inline

AlgQuotient constructors

Parameters
envparameters for the problem and library configuration
problemCommthe communicator for the problem
adapterthe user's input adapter

The algorithm works only on a XpetraCrsGraphAdpater for now.

Definition at line 51 of file Zoltan2_AlgQuotient.hpp.

template<typename Adapter >
Zoltan2::AlgQuotient< Adapter >::AlgQuotient ( const RCP< const Environment > &  env__,
const RCP< const Comm< int > > &  problemComm__,
const RCP< const VectorAdapter< user_t > > &  adapter__,
const modelFlag_t graphFlags_ 
)
inline

Definition at line 62 of file Zoltan2_AlgQuotient.hpp.

template<typename Adapter >
Zoltan2::AlgQuotient< Adapter >::AlgQuotient ( const RCP< const Environment > &  env__,
const RCP< const Comm< int > > &  problemComm__,
const RCP< const MatrixAdapter< user_t, userCoord_t > > &  adapter__,
const modelFlag_t graphFlags_ 
)
inline

Definition at line 73 of file Zoltan2_AlgQuotient.hpp.

template<typename Adapter >
Zoltan2::AlgQuotient< Adapter >::AlgQuotient ( const RCP< const Environment > &  env__,
const RCP< const Comm< int > > &  problemComm__,
const RCP< const MeshAdapter< user_t > > &  adapter__,
const modelFlag_t graphFlags_ 
)
inline

Definition at line 84 of file Zoltan2_AlgQuotient.hpp.

template<typename Adapter >
Zoltan2::AlgQuotient< Adapter >::AlgQuotient ( const RCP< const Environment > &  env__,
const RCP< const Comm< int > > &  problemComm__,
const RCP< const GraphAdapter< user_t, userCoord_t > > &  adapter__,
const modelFlag_t graphFlags_ 
)
inline

Definition at line 95 of file Zoltan2_AlgQuotient.hpp.

Member Function Documentation

template<typename Adapter >
static void Zoltan2::AlgQuotient< Adapter >::getValidParameters ( ParameterList &  pl)
inlinestatic

Set up validators specific to this algorithm.

Definition at line 107 of file Zoltan2_AlgQuotient.hpp.

template<typename Adapter >
void Zoltan2::AlgQuotient< Adapter >::partition ( const RCP< PartitioningSolution< Adapter > > &  )
virtual

Partitioning method.

Reimplemented from Zoltan2::Algorithm< Adapter >.

Definition at line 131 of file Zoltan2_AlgQuotient.hpp.

template<typename Adapter >
void Zoltan2::AlgQuotient< Adapter >::migrateBack ( const RCP< PartitioningSolution< Adapter > > &  solution)

Definition at line 165 of file Zoltan2_AlgQuotient.hpp.


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