Zoltan2
|
#include <Zoltan2_AlgBlockMapping.hpp>
Public Member Functions | |
AlgBlockMapping (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) | |
AlgBlockMapping (const Teuchos::RCP< const Teuchos::Comm< int > > comm_, const part_t nparts) | |
Constructor that allows this mapping method to be used as a. More... | |
void | sharedConstructor () |
void | map (const 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... | |
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 |
Definition at line 68 of file Zoltan2_AlgBlockMapping.hpp.
|
inline |
Constructor that can be accessed directly by user through MappingProblem.
env | parameters for the problem and library configuration |
comm | the communicator for the problem |
adapter | the user's input adapter |
Definition at line 87 of file Zoltan2_AlgBlockMapping.hpp.
|
inline |
Constructor that allows this mapping method to be used as a.
Definition at line 169 of file Zoltan2_AlgBlockMapping.hpp.
|
inline |
Definition at line 181 of file Zoltan2_AlgBlockMapping.hpp.
|
inline |
Definition at line 188 of file Zoltan2_AlgBlockMapping.hpp.
|
inlinevirtual |
In mapping, returns the rank to which a part is assigned.
Reimplemented from Zoltan2::Algorithm< Adapter >.
Definition at line 194 of file Zoltan2_AlgBlockMapping.hpp.
|
inlinevirtual |
In mapping, returns a view of parts assigned to the current rank.
Reimplemented from Zoltan2::Algorithm< Adapter >.
Definition at line 204 of file Zoltan2_AlgBlockMapping.hpp.