PartitionedDomain Class Reference

#include <PartitionedDomain.h>

Inheritance diagram for PartitionedDomain:

Domain List of all members.

Public Member Functions

 PartitionedDomain ()
 PartitionedDomain (DomainPartitioner &thePartitioner)
 PartitionedDomain (int numNodes, int numElements, int numSPs, int numMPs, int numLoadPatterns, int numSubdomains, DomainPartitioner &thePartitioner)
virtual ~PartitionedDomain ()
virtual bool addElement (Element *elePtr)
virtual bool addNode (Node *nodePtr)
virtual bool addLoadPattern (LoadPattern *)
virtual bool addSP_Constraint (SP_Constraint *)
virtual bool addSP_Constraint (SP_Constraint *, int loadPatternTag)
virtual bool addNodalLoad (NodalLoad *, int loadPatternTag)
virtual bool addElementalLoad (ElementalLoad *, int loadPatternTag)
virtual void clearAll (void)
virtual ElementremoveElement (int tag)
virtual NoderemoveNode (int tag)
virtual SP_ConstraintremoveSP_Constraint (int tag)
virtual MP_ConstraintremoveMP_Constraint (int tag)
virtual LoadPatternremoveLoadPattern (int loadTag)
virtual ElementItergetElements ()
virtual ElementgetElement (int tag)
virtual int getNumElements (void) const
virtual void setCommitTag (int newTag)
virtual void setCurrentTime (double newTime)
virtual void setCommittedTime (double newTime)
virtual void applyLoad (double pseudoTime)
virtual void setLoadConstant (void)
virtual int commit (void)
virtual int revertToLastCommit (void)
virtual int revertToStart (void)
virtual int update (void)
virtual int update (double newTime, double dT)
virtual int newStep (double dT)
virtual int addRecorder (Recorder &theRecorder)
virtual int removeRecorders (void)
virtual void Print (OPS_Stream &s, int flag=0)
virtual int setPartitioner (DomainPartitioner *thePartitioner)
virtual int partition (int numPartitions, bool usingMain=false, int mainPartitionID=0)
virtual bool addSubdomain (Subdomain *theSubdomain)
virtual int getNumSubdomains (void)
virtual SubdomaingetSubdomainPtr (int tag)
virtual SubdomainItergetSubdomains (void)
virtual NoderemoveExternalNode (int tag)
virtual GraphgetSubdomainGraph (void)
virtual double getNodeDisp (int nodeTag, int dof, int &errorFlag)
virtual int setMass (const Matrix &mass, int nodeTag)

Protected Member Functions

int barrierCheck (int result)
DomainPartitionergetPartitioner (void) const
virtual int buildEleGraph (Graph *theEleGraph)

Friends

class PartitionedDomainEleIter

Detailed Description

Definition at line 53 of file PartitionedDomain.h.


Constructor & Destructor Documentation

PartitionedDomain::PartitionedDomain (  ) 

Definition at line 63 of file PartitionedDomain.cpp.

References exit(), opserr, and PartitionedDomainEleIter.

PartitionedDomain::PartitionedDomain ( DomainPartitioner thePartitioner  ) 

Definition at line 86 of file PartitionedDomain.cpp.

References exit(), opserr, and PartitionedDomainEleIter.

PartitionedDomain::PartitionedDomain ( int  numNodes,
int  numElements,
int  numSPs,
int  numMPs,
int  numLoadPatterns,
int  numSubdomains,
DomainPartitioner thePartitioner 
)

Definition at line 109 of file PartitionedDomain.cpp.

References exit(), opserr, and PartitionedDomainEleIter.

PartitionedDomain::~PartitionedDomain (  )  [virtual]

Definition at line 138 of file PartitionedDomain.cpp.

References clearAll().


Member Function Documentation

bool PartitionedDomain::addElement ( Element elePtr  )  [virtual]

bool PartitionedDomain::addNode ( Node nodePtr  )  [virtual]

Reimplemented from Domain.

Definition at line 222 of file PartitionedDomain.cpp.

Referenced by main().

bool PartitionedDomain::addLoadPattern ( LoadPattern  )  [virtual]

Reimplemented from Domain.

Definition at line 299 of file PartitionedDomain.cpp.

References Domain::addLoadPattern(), getSubdomains(), TaggedObject::getTag(), and opserr.

bool PartitionedDomain::addSP_Constraint ( SP_Constraint  )  [virtual]

bool PartitionedDomain::addSP_Constraint ( SP_Constraint ,
int  loadPatternTag 
) [virtual]

bool PartitionedDomain::addNodalLoad ( NodalLoad ,
int  loadPatternTag 
) [virtual]

bool PartitionedDomain::addElementalLoad ( ElementalLoad ,
int  loadPatternTag 
) [virtual]

Reimplemented from Domain.

Definition at line 360 of file PartitionedDomain.cpp.

References opserr.

void PartitionedDomain::clearAll ( void   )  [virtual]

Element * PartitionedDomain::removeElement ( int  tag  )  [virtual]

Node * PartitionedDomain::removeNode ( int  tag  )  [virtual]

Reimplemented from Domain.

Definition at line 398 of file PartitionedDomain.cpp.

References Domain::domainChange(), Subdomain::removeNode(), and Domain::removeNode().

Referenced by DomainPartitioner::partition().

SP_Constraint * PartitionedDomain::removeSP_Constraint ( int  tag  )  [virtual]

Reimplemented from Domain.

Definition at line 422 of file PartitionedDomain.cpp.

References Domain::domainChange(), and Domain::removeSP_Constraint().

Referenced by DomainPartitioner::partition().

MP_Constraint * PartitionedDomain::removeMP_Constraint ( int  tag  )  [virtual]

Reimplemented from Domain.

Definition at line 451 of file PartitionedDomain.cpp.

References Domain::domainChange(), and Domain::removeMP_Constraint().

Referenced by DomainPartitioner::partition().

LoadPattern * PartitionedDomain::removeLoadPattern ( int  loadTag  )  [virtual]

Reimplemented from Domain.

Definition at line 479 of file PartitionedDomain.cpp.

References Domain::domainChange(), and Domain::removeLoadPattern().

ElementIter & PartitionedDomain::getElements (  )  [virtual]

Reimplemented from Domain.

Definition at line 504 of file PartitionedDomain.cpp.

References PartitionedDomainEleIter::reset().

Element * PartitionedDomain::getElement ( int  tag  )  [virtual]

Reimplemented from Domain.

Definition at line 512 of file PartitionedDomain.cpp.

References TaggedObjectStorage::getComponentPtr(), and Domain::getElement().

Referenced by DomainPartitioner::partition().

int PartitionedDomain::getNumElements ( void   )  const [virtual]

void PartitionedDomain::setCommitTag ( int  newTag  )  [virtual]

Reimplemented from Domain.

Definition at line 567 of file PartitionedDomain.cpp.

References Domain::setCommitTag().

void PartitionedDomain::setCurrentTime ( double  newTime  )  [virtual]

Reimplemented from Domain.

Definition at line 585 of file PartitionedDomain.cpp.

References Domain::setCurrentTime().

void PartitionedDomain::setCommittedTime ( double  newTime  )  [virtual]

Reimplemented from Domain.

Definition at line 602 of file PartitionedDomain.cpp.

References Domain::setCommittedTime().

void PartitionedDomain::applyLoad ( double  pseudoTime  )  [virtual]

Reimplemented from Domain.

Definition at line 550 of file PartitionedDomain.cpp.

References Domain::applyLoad().

Referenced by update().

void PartitionedDomain::setLoadConstant ( void   )  [virtual]

Reimplemented from Domain.

Definition at line 619 of file PartitionedDomain.cpp.

References Domain::setLoadConstant().

int PartitionedDomain::commit ( void   )  [virtual]

int PartitionedDomain::revertToLastCommit ( void   )  [virtual]

Reimplemented from Domain.

Definition at line 798 of file PartitionedDomain.cpp.

References opserr, Subdomain::revertToLastCommit(), and Domain::revertToLastCommit().

int PartitionedDomain::revertToStart ( void   )  [virtual]

Reimplemented from Domain.

Definition at line 825 of file PartitionedDomain.cpp.

References opserr, Subdomain::revertToStart(), and Domain::revertToStart().

int PartitionedDomain::update ( void   )  [virtual]

Reimplemented from Domain.

Definition at line 636 of file PartitionedDomain.cpp.

References barrierCheck(), Subdomain::computeNodalResponse(), Subdomain::update(), and Domain::update().

int PartitionedDomain::update ( double  newTime,
double  dT 
) [virtual]

int PartitionedDomain::newStep ( double  dT  )  [virtual]

Reimplemented from Domain.

Definition at line 740 of file PartitionedDomain.cpp.

References TaggedObject::getTag(), Subdomain::newStep(), Domain::newStep(), and opserr.

int PartitionedDomain::addRecorder ( Recorder theRecorder  )  [virtual]

Reimplemented from Domain.

Definition at line 853 of file PartitionedDomain.cpp.

References Domain::addRecorder(), and opserr.

int PartitionedDomain::removeRecorders ( void   )  [virtual]

Reimplemented from Domain.

Definition at line 876 of file PartitionedDomain.cpp.

References opserr, and Domain::removeRecorders().

void PartitionedDomain::Print ( OPS_Stream s,
int  flag = 0 
) [virtual]

int PartitionedDomain::setPartitioner ( DomainPartitioner thePartitioner  )  [virtual]

Definition at line 918 of file PartitionedDomain.cpp.

int PartitionedDomain::partition ( int  numPartitions,
bool  usingMain = false,
int  mainPartitionID = 0 
) [virtual]

bool PartitionedDomain::addSubdomain ( Subdomain theSubdomain  )  [virtual]

int PartitionedDomain::getNumSubdomains ( void   )  [virtual]

Subdomain * PartitionedDomain::getSubdomainPtr ( int  tag  )  [virtual]

Node * PartitionedDomain::removeExternalNode ( int  tag  )  [virtual]

Definition at line 1182 of file PartitionedDomain.cpp.

double PartitionedDomain::getNodeDisp ( int  nodeTag,
int  dof,
int &  errorFlag 
) [virtual]

Reimplemented from Domain.

Definition at line 1359 of file PartitionedDomain.cpp.

References Domain::getNodeDisp().

int PartitionedDomain::setMass ( const Matrix mass,
int  nodeTag 
) [virtual]

Reimplemented from Domain.

Definition at line 1383 of file PartitionedDomain.cpp.

References Domain::setMass().

int PartitionedDomain::barrierCheck ( int  result  )  [protected]

Referenced by update().

DomainPartitioner * PartitionedDomain::getPartitioner ( void   )  const [protected]

Definition at line 1012 of file PartitionedDomain.cpp.

Referenced by partition().


Friends And Related Function Documentation

friend class PartitionedDomainEleIter [friend]

Definition at line 125 of file PartitionedDomain.h.

Referenced by PartitionedDomain().


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

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