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

#include <Zoltan2_AlgDefaultMapping.hpp>

Inheritance diagram for Zoltan2::AlgDefaultMapping< Adapter, MachineRep >:
Inheritance graph
[legend]
Collaboration diagram for Zoltan2::AlgDefaultMapping< Adapter, MachineRep >:
Collaboration graph
[legend]

Public Member Functions

 AlgDefaultMapping (const Teuchos::RCP< const Teuchos::Comm< int > > &comm_, const Teuchos::RCP< const MachineRep > &machine_, const Teuchos::RCP< const Adapter > &adapter_, const Teuchos::RCP< const Zoltan2::PartitioningSolution< Adapter > > &psoln_, const Teuchos::RCP< const Environment > &envConst)
 
void map (Teuchos::RCP< MappingSolution< Adapter > > msoln)
 
int getRankForPart (part_t p)
 In mapping, returns the rank to which a part is assigned. More...
 
void getMyPartsView (part_t &numParts, part_t *&parts)
 In mapping, returns a view of parts assigned to the current rank. More...
 
void map (const RCP< PartitioningSolution< Adapter > > &solution)
 
 AlgDefaultMapping (const Teuchos::RCP< const Teuchos::Comm< int > > &comm_, const Teuchos::RCP< const MachineRepresentation< pcoord_t, part_t > > &machine_, const Teuchos::RCP< const Adapter > &adapter_, const Teuchos::RCP< const Zoltan2::PartitioningSolution< Adapter > > &psoln_, const Teuchos::RCP< const Environment > &envConst)
 
void map (Teuchos::RCP< MappingSolution< Adapter > > msoln)
 
int getRankForPart (part_t p)
 In mapping, returns the rank to which a part is assigned. More...
 
void getPartsForRankView (int rank, part_t &numParts, part_t *&parts)
 
void map (const RCP< PartitioningSolution< Adapter > > &solution)
 
 AlgDefaultMapping (const Teuchos::RCP< const Teuchos::Comm< int > > &comm_, const Teuchos::RCP< const MachineRepresentation< pcoord_t, part_t > > &machine_, const Teuchos::RCP< const Adapter > &adapter_, const Teuchos::RCP< const Zoltan2::PartitioningSolution< Adapter > > &psoln_, const Teuchos::RCP< const Environment > &envConst)
 
void map (Teuchos::RCP< MappingSolution< Adapter > > msoln)
 
int getRankForPart (part_t p)
 In mapping, returns the rank to which a part is assigned. More...
 
void getPartsForRankView (int rank, part_t &numParts, part_t *&parts)
 
void map (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 partition (const RCP< PartitioningSolution< Adapter > > &)
 Partitioning 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...
 

Additional Inherited Members

- 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
 

Detailed Description

template<typename Adapter, typename MachineRep>
class Zoltan2::AlgDefaultMapping< Adapter, MachineRep >

Definition at line 28 of file Zoltan2_AlgDefaultMapping.hpp.

Constructor & Destructor Documentation

template<typename Adapter , typename MachineRep >
Zoltan2::AlgDefaultMapping< Adapter, MachineRep >::AlgDefaultMapping ( const Teuchos::RCP< const Teuchos::Comm< int > > &  comm_,
const Teuchos::RCP< const MachineRep > &  machine_,
const Teuchos::RCP< const Adapter > &  adapter_,
const Teuchos::RCP< const Zoltan2::PartitioningSolution< Adapter > > &  psoln_,
const Teuchos::RCP< const Environment > &  envConst 
)
inline

Constructor

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

Definition at line 51 of file Zoltan2_AlgDefaultMapping.hpp.

template<typename Adapter , typename MachineRep >
Zoltan2::AlgDefaultMapping< Adapter, MachineRep >::AlgDefaultMapping ( const Teuchos::RCP< const Teuchos::Comm< int > > &  comm_,
const Teuchos::RCP< const MachineRepresentation< pcoord_t, part_t > > &  machine_,
const Teuchos::RCP< const Adapter > &  adapter_,
const Teuchos::RCP< const Zoltan2::PartitioningSolution< Adapter > > &  psoln_,
const Teuchos::RCP< const Environment > &  envConst 
)
inline

Constructor

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

Definition at line 51 of file Zoltan2_AlgSparseMapping.hpp.

template<typename Adapter , typename MachineRep >
Zoltan2::AlgDefaultMapping< Adapter, MachineRep >::AlgDefaultMapping ( const Teuchos::RCP< const Teuchos::Comm< int > > &  comm_,
const Teuchos::RCP< const MachineRepresentation< pcoord_t, part_t > > &  machine_,
const Teuchos::RCP< const Adapter > &  adapter_,
const Teuchos::RCP< const Zoltan2::PartitioningSolution< Adapter > > &  psoln_,
const Teuchos::RCP< const Environment > &  envConst 
)
inline

Constructor

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

Definition at line 51 of file Zoltan2_AlgTpetraMapping.hpp.

Member Function Documentation

template<typename Adapter , typename MachineRep >
void Zoltan2::AlgDefaultMapping< Adapter, MachineRep >::map ( Teuchos::RCP< MappingSolution< Adapter > >  msoln)
inline

Definition at line 149 of file Zoltan2_AlgDefaultMapping.hpp.

template<typename Adapter , typename MachineRep >
int Zoltan2::AlgDefaultMapping< Adapter, MachineRep >::getRankForPart ( part_t  )
inlinevirtual

In mapping, returns the rank to which a part is assigned.

Reimplemented from Zoltan2::Algorithm< Adapter >.

Definition at line 156 of file Zoltan2_AlgDefaultMapping.hpp.

template<typename Adapter , typename MachineRep >
void Zoltan2::AlgDefaultMapping< Adapter, MachineRep >::getMyPartsView ( part_t &  ,
part_t *&   
)
inlinevirtual

In mapping, returns a view of parts assigned to the current rank.

Reimplemented from Zoltan2::Algorithm< Adapter >.

Definition at line 176 of file Zoltan2_AlgDefaultMapping.hpp.

template<typename Adapter , typename MachineRep >
void Zoltan2::AlgDefaultMapping< Adapter, MachineRep >::map ( const RCP< PartitioningSolution< Adapter > > &  solution)
template<typename Adapter , typename MachineRep >
void Zoltan2::AlgDefaultMapping< Adapter, MachineRep >::map ( Teuchos::RCP< MappingSolution< Adapter > >  msoln)
inline

Definition at line 149 of file Zoltan2_AlgSparseMapping.hpp.

template<typename Adapter , typename MachineRep >
int Zoltan2::AlgDefaultMapping< Adapter, MachineRep >::getRankForPart ( part_t  )
inlinevirtual

In mapping, returns the rank to which a part is assigned.

Reimplemented from Zoltan2::Algorithm< Adapter >.

Definition at line 156 of file Zoltan2_AlgSparseMapping.hpp.

template<typename Adapter , typename MachineRep >
void Zoltan2::AlgDefaultMapping< Adapter, MachineRep >::getPartsForRankView ( int  rank,
part_t &  numParts,
part_t *&  parts 
)
inline

Definition at line 176 of file Zoltan2_AlgSparseMapping.hpp.

template<typename Adapter , typename MachineRep >
void Zoltan2::AlgDefaultMapping< Adapter, MachineRep >::map ( const RCP< PartitioningSolution< Adapter > > &  solution)
template<typename Adapter , typename MachineRep >
void Zoltan2::AlgDefaultMapping< Adapter, MachineRep >::map ( Teuchos::RCP< MappingSolution< Adapter > >  msoln)
inline

Definition at line 149 of file Zoltan2_AlgTpetraMapping.hpp.

template<typename Adapter , typename MachineRep >
int Zoltan2::AlgDefaultMapping< Adapter, MachineRep >::getRankForPart ( part_t  )
inlinevirtual

In mapping, returns the rank to which a part is assigned.

Reimplemented from Zoltan2::Algorithm< Adapter >.

Definition at line 156 of file Zoltan2_AlgTpetraMapping.hpp.

template<typename Adapter , typename MachineRep >
void Zoltan2::AlgDefaultMapping< Adapter, MachineRep >::getPartsForRankView ( int  rank,
part_t &  numParts,
part_t *&  parts 
)
inline

Definition at line 176 of file Zoltan2_AlgTpetraMapping.hpp.

template<typename Adapter , typename MachineRep >
void Zoltan2::AlgDefaultMapping< Adapter, MachineRep >::map ( const RCP< PartitioningSolution< Adapter > > &  solution)

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