DomainPartitioner Class Reference

#include <DomainPartitioner.h>

List of all members.

Public Member Functions

 DomainPartitioner (GraphPartitioner &theGraphPartitioner, LoadBalancer &theLoadBalancer)
 DomainPartitioner (GraphPartitioner &theGraphPartitioner)
virtual ~DomainPartitioner ()
virtual void setPartitionedDomain (PartitionedDomain &theDomain)
virtual int partition (int numParts, bool useMainDomain=false, int mainPartition=0)
virtual int balance (Graph &theWeightedSubdomainGraph)
virtual int getNumPartitions (void) const
virtual GraphgetPartitionGraph (void)
virtual GraphgetColoredGraph (void)
virtual int swapVertex (int from, int to, int vertexTag, bool adjacentVertexNotInOther=true)
virtual int swapBoundary (int from, int to, bool adjacentVertexNotInOther=true)
virtual int releaseVertex (int from, int vertexTag, Graph &theWeightedPartitionGraph, bool mustReleaseToLighter=true, double factorGreater=1.0, bool adjacentVertexNotInOther=true)
virtual int releaseBoundary (int from, Graph &theWeightedPartitionGraph, bool mustReleaseToLighter=true, double factorGreater=1.0, bool adjacentVertexNotInOther=true)


Detailed Description

Definition at line 50 of file DomainPartitioner.h.


Constructor & Destructor Documentation

DomainPartitioner::DomainPartitioner ( GraphPartitioner theGraphPartitioner,
LoadBalancer theLoadBalancer 
)

Definition at line 107 of file DomainPartitioner.cpp.

References LoadBalancer::setLinks().

DomainPartitioner::DomainPartitioner ( GraphPartitioner theGraphPartitioner  ) 

Definition at line 99 of file DomainPartitioner.cpp.

DomainPartitioner::~DomainPartitioner (  )  [virtual]

Definition at line 118 of file DomainPartitioner.cpp.


Member Function Documentation

void DomainPartitioner::setPartitionedDomain ( PartitionedDomain theDomain  )  [virtual]

Definition at line 129 of file DomainPartitioner.cpp.

Referenced by PartitionedDomain::partition().

int DomainPartitioner::balance ( Graph theWeightedSubdomainGraph  )  [virtual]

int DomainPartitioner::getNumPartitions ( void   )  const [virtual]

Definition at line 540 of file DomainPartitioner.cpp.

Graph & DomainPartitioner::getPartitionGraph ( void   )  [virtual]

Definition at line 548 of file DomainPartitioner.cpp.

References exit(), PartitionedDomain::getSubdomainGraph(), and opserr.

Graph & DomainPartitioner::getColoredGraph ( void   )  [virtual]

Definition at line 559 of file DomainPartitioner.cpp.

References exit(), Domain::getElementGraph(), and opserr.

int DomainPartitioner::swapVertex ( int  from,
int  to,
int  vertexTag,
bool  adjacentVertexNotInOther = true 
) [virtual]

Definition at line 572 of file DomainPartitioner.cpp.

References endln, and opserr.

Referenced by releaseVertex().

int DomainPartitioner::swapBoundary ( int  from,
int  to,
bool  adjacentVertexNotInOther = true 
) [virtual]

Definition at line 909 of file DomainPartitioner.cpp.

References endln, and opserr.

int DomainPartitioner::releaseVertex ( int  from,
int  vertexTag,
Graph theWeightedPartitionGraph,
bool  mustReleaseToLighter = true,
double  factorGreater = 1.0,
bool  adjacentVertexNotInOther = true 
) [virtual]

int DomainPartitioner::releaseBoundary ( int  from,
Graph theWeightedPartitionGraph,
bool  mustReleaseToLighter = true,
double  factorGreater = 1.0,
bool  adjacentVertexNotInOther = true 
) [virtual]


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

Generated on Mon Oct 23 15:05:41 2006 for OpenSees by doxygen 1.5.0