50 #ifndef _ZOLTAN2_PARTITIONMAPPING_HPP_ 51 #define _ZOLTAN2_PARTITIONMAPPING_HPP_ 54 #include "Teuchos_Comm.hpp" 65 template <
typename Adapter>
70 #ifndef DOXYGEN_SHOULD_SKIP_THIS 74 typedef typename Adapter::gid_t gid_t;
78 const Teuchos::Comm<int> *
comm;
91 const Teuchos::Comm<int> *comm_,
123 const Teuchos::Comm<int> *comm_,
const Teuchos::Comm< int > * comm
PartitionMapping(const Environment *envConst_, const Teuchos::Comm< int > *comm_, const MachineRepresentation< scalar_t > *machine_)
Defines the Model interface.
const Zoltan2::PartitioningSolution< Adapter > * soln
virtual size_t getLocalNumberOfParts() const =0
Returns the number of parts to be assigned to this process.
zoltan2_partId_t partId_t
Defines the PartitioningSolution class.
Zoltan2::BasicUserTypes< scalar_t, gno_t, lno_t, gno_t > user_t
zoltan2_partId_t partId_t
PartitionMapping(const Environment *envConst_)
const Zoltan2::MachineRepresentation< scalar_t > * machine
PartitionMapping maps a solution or an input distribution to ranks.
A PartitioningSolution is a solution to a partitioning problem.
PartitionMapping(const Teuchos::Comm< int > *comm_, const Zoltan2::MachineRepresentation< scalar_t > *machine_, const Zoltan2::Model< typename Adapter::base_adapter_t > *model_, const Zoltan2::PartitioningSolution< Adapter > *soln_, const Environment *envConst_ )
Constructor Constructor builds the map from parts to ranks. KDDKDD WILL NEED THE SOLUTION FOR INTELLI...
virtual void getProcsForPart(partId_t partId, int &numProcs, int *procs) const =0
Get the processes containing a part.
The user parameters, debug, timing and memory profiling output objects, and error checking methods...
virtual void getPartsForProc(int procId, partId_t &numParts, partId_t *parts) const =0
Get the parts belonging to a process.
long measure_stays(partId_t *remap, int *idx, partId_t *adj, long *wgt, partId_t nrhs, partId_t nlhs)
Defines the Environment class.
const Zoltan2::Model< typename Adapter::base_adapter_t > * model
virtual ~PartitionMapping()