Subdomain Class Reference

#include <Subdomain.h>

Inheritance diagram for Subdomain:

Element Domain DomainComponent TaggedObject MovableObject ActorSubdomain ShadowSubdomain List of all members.

Public Member Functions

 Subdomain (int tag)
 Subdomain (int tag, TaggedObjectStorage &theInternalNodeStorage, TaggedObjectStorage &theExternalNodeStorage, TaggedObjectStorage &theElementsStorage, TaggedObjectStorage &theLoadPatternsStorage, TaggedObjectStorage &theMPsStorage, TaggedObjectStorage &theSPsStorage)
virtual ~Subdomain ()
virtual int buildSubdomain (int numSubdomains, PartitionedModelBuilder &theBuilder)
virtual void clearAll (void)
virtual bool addNode (Node *)
virtual NoderemoveNode (int tag)
virtual NodeItergetNodes (void)
virtual NodegetNode (int tag)
virtual Node ** getNodePtrs (void)
virtual bool hasNode (int tag)
virtual bool hasElement (int tag)
virtual int getNumNodes (void) const
virtual int commit (void)
virtual int revertToLastCommit (void)
virtual int revertToStart (void)
virtual int update (void)
virtual int update (double newTime, double dT)
virtual void Print (OPS_Stream &s, int flag=0)
virtual NodeItergetInternalNodeIter (void)
virtual NodeItergetExternalNodeIter (void)
virtual bool addExternalNode (Node *)
virtual void wipeAnalysis (void)
virtual void setDomainDecompAnalysis (DomainDecompositionAnalysis &theAnalysis)
virtual int setAnalysisAlgorithm (EquiSolnAlgo &theAlgorithm)
virtual int setAnalysisIntegrator (IncrementalIntegrator &theIntegrator)
virtual int setAnalysisLinearSOE (LinearSOE &theSOE)
virtual int setAnalysisConvergenceTest (ConvergenceTest &theTest)
virtual int invokeChangeOnAnalysis (void)
virtual int getNumExternalNodes (void) const
virtual const IDgetExternalNodes (void)
virtual int getNumDOF (void)
virtual int commitState (void)
virtual const MatrixgetTangentStiff (void)
virtual const MatrixgetInitialStiff (void)
virtual const MatrixgetDamp (void)
virtual const MatrixgetMass (void)
virtual void zeroLoad (void)
virtual int addLoad (ElementalLoad *theLoad, double loadFactor)
virtual int addInertiaLoadToUnbalance (const Vector &accel)
virtual const VectorgetResistingForce (void)
virtual const VectorgetResistingForceIncInertia (void)
virtual bool isSubdomain (void)
virtual int setRayleighDampingFactors (double alphaM, double betaK, double betaK0, double betaKc)
virtual int computeTang (void)
virtual int computeResidual (void)
virtual const MatrixgetTang (void)
void setFE_ElementPtr (FE_Element *theFE_Ele)
virtual const VectorgetLastExternalSysResponse (void)
virtual int computeNodalResponse (void)
virtual int newStep (double deltaT)
virtual bool doesIndependentAnalysis (void)
virtual int sendSelf (int commitTag, Channel &theChannel)
virtual int recvSelf (int commitTag, Channel &theChannel, FEM_ObjectBroker &theBroker)
virtual double getCost (void)

Protected Member Functions

virtual int buildMap (void)
FE_ElementgetFE_ElementPtr (void)
DomainDecompositionAnalysisgetDDAnalysis (void)

Protected Attributes

bool mapBuilt
IDmap
VectormappedVect
MatrixmappedMatrix
TaggedObjectStorageinternalNodes
TaggedObjectStorageexternalNodes

Detailed Description

Definition at line 60 of file Subdomain.h.


Constructor & Destructor Documentation

Subdomain::Subdomain ( int  tag  ) 

Definition at line 67 of file Subdomain.cpp.

References exit(), externalNodes, internalNodes, and opserr.

Subdomain::Subdomain ( int  tag,
TaggedObjectStorage theInternalNodeStorage,
TaggedObjectStorage theExternalNodeStorage,
TaggedObjectStorage theElementsStorage,
TaggedObjectStorage theLoadPatternsStorage,
TaggedObjectStorage theMPsStorage,
TaggedObjectStorage theSPsStorage 
)

Definition at line 95 of file Subdomain.cpp.

References exit(), externalNodes, internalNodes, and opserr.

Subdomain::~Subdomain (  )  [virtual]

Definition at line 130 of file Subdomain.cpp.

References externalNodes, internalNodes, map, mappedMatrix, and mappedVect.


Member Function Documentation

int Subdomain::buildSubdomain ( int  numSubdomains,
PartitionedModelBuilder theBuilder 
) [virtual]

void Subdomain::clearAll ( void   )  [virtual]

Reimplemented from Domain.

Reimplemented in ShadowSubdomain.

Definition at line 154 of file Subdomain.cpp.

References TaggedObjectStorage::clearAll(), Domain::clearAll(), externalNodes, and internalNodes.

Referenced by PartitionedDomain::clearAll(), and ActorSubdomain::run().

bool Subdomain::addNode ( Node  )  [virtual]

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

NodeIter & Subdomain::getNodes ( void   )  [virtual]

Reimplemented from Domain.

Reimplemented in ShadowSubdomain.

Definition at line 261 of file Subdomain.cpp.

References SubdomainNodIter::reset().

Referenced by commit(), revertToLastCommit(), and revertToStart().

Node * Subdomain::getNode ( int  tag  )  [virtual]

Reimplemented from Domain.

Definition at line 275 of file Subdomain.cpp.

References externalNodes, TaggedObjectStorage::getComponentPtr(), and internalNodes.

Referenced by DomainDecompositionAnalysis::domainChanged().

Node ** Subdomain::getNodePtrs ( void   )  [virtual]

Implements Element.

Definition at line 268 of file Subdomain.cpp.

References opserr.

bool Subdomain::hasNode ( int  tag  )  [virtual]

bool Subdomain::hasElement ( int  tag  )  [virtual]

Reimplemented in ShadowSubdomain.

Definition at line 304 of file Subdomain.cpp.

Referenced by ActorSubdomain::run().

int Subdomain::getNumNodes ( void   )  const [virtual]

Reimplemented from Domain.

Reimplemented in ShadowSubdomain.

Definition at line 314 of file Subdomain.cpp.

References externalNodes, TaggedObjectStorage::getNumComponents(), and internalNodes.

int Subdomain::commit ( void   )  [virtual]

Reimplemented from Domain.

Reimplemented in ShadowSubdomain.

Definition at line 321 of file Subdomain.cpp.

References Domain::commit(), Node::commitState(), and getNodes().

Referenced by PartitionedDomain::commit(), commitState(), and ActorSubdomain::run().

int Subdomain::revertToLastCommit ( void   )  [virtual]

Reimplemented from Domain.

Reimplemented in ShadowSubdomain.

Definition at line 334 of file Subdomain.cpp.

References getNodes(), Node::revertToLastCommit(), and Domain::revertToLastCommit().

Referenced by PartitionedDomain::revertToLastCommit(), and ActorSubdomain::run().

int Subdomain::revertToStart ( void   )  [virtual]

Reimplemented from Domain.

Reimplemented in ShadowSubdomain.

Definition at line 347 of file Subdomain.cpp.

References getNodes(), Domain::revertToLastCommit(), and Node::revertToStart().

Referenced by PartitionedDomain::revertToStart(), and ActorSubdomain::run().

int Subdomain::update ( void   )  [virtual]

Reimplemented from Domain.

Reimplemented in ActorSubdomain, and ShadowSubdomain.

Definition at line 360 of file Subdomain.cpp.

References Domain::update().

Referenced by PartitionedDomain::update().

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

Reimplemented from Domain.

Reimplemented in ShadowSubdomain.

Definition at line 366 of file Subdomain.cpp.

References Domain::update().

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

NodeIter & Subdomain::getInternalNodeIter ( void   )  [virtual]

Reimplemented in ShadowSubdomain.

Definition at line 392 of file Subdomain.cpp.

References SingleDomNodIter::reset().

Referenced by SubdomainNodIter::operator()().

NodeIter & Subdomain::getExternalNodeIter ( void   )  [virtual]

Reimplemented in ShadowSubdomain.

Definition at line 400 of file Subdomain.cpp.

References SingleDomNodIter::reset().

Referenced by getExternalNodes(), and SubdomainNodIter::reset().

void Subdomain::wipeAnalysis ( void   )  [virtual]

Reimplemented in ShadowSubdomain.

Definition at line 409 of file Subdomain.cpp.

References DomainDecompositionAnalysis::clearAll().

Referenced by ActorSubdomain::run(), and wipeAnalysis().

int Subdomain::setAnalysisAlgorithm ( EquiSolnAlgo theAlgorithm  )  [virtual]

Reimplemented in ShadowSubdomain.

Definition at line 426 of file Subdomain.cpp.

References DomainDecompositionAnalysis::setAlgorithm().

Referenced by ActorSubdomain::run(), and specifyAlgorithm().

int Subdomain::setAnalysisIntegrator ( IncrementalIntegrator theIntegrator  )  [virtual]

Reimplemented in ShadowSubdomain.

Definition at line 434 of file Subdomain.cpp.

References DomainDecompositionAnalysis::setIntegrator().

Referenced by ActorSubdomain::run(), and specifyIntegrator().

int Subdomain::setAnalysisLinearSOE ( LinearSOE theSOE  )  [virtual]

Reimplemented in ShadowSubdomain.

Definition at line 442 of file Subdomain.cpp.

References DomainDecompositionAnalysis::setLinearSOE().

Referenced by ActorSubdomain::run(), and specifySOE().

int Subdomain::setAnalysisConvergenceTest ( ConvergenceTest theTest  )  [virtual]

Reimplemented in ShadowSubdomain.

Definition at line 450 of file Subdomain.cpp.

References DomainDecompositionAnalysis::setConvergenceTest().

Referenced by ActorSubdomain::run(), and specifyCTest().

int Subdomain::invokeChangeOnAnalysis ( void   )  [virtual]

Definition at line 458 of file Subdomain.cpp.

References DomainDecompositionAnalysis::domainChanged(), and mapBuilt.

Referenced by buildSubdomain().

int Subdomain::getNumExternalNodes ( void   )  const [virtual]

Implements Element.

Reimplemented in ShadowSubdomain.

Definition at line 470 of file Subdomain.cpp.

References externalNodes, and TaggedObjectStorage::getNumComponents().

const ID & Subdomain::getExternalNodes ( void   )  [virtual]

int Subdomain::getNumDOF ( void   )  [virtual]

int Subdomain::commitState ( void   )  [virtual]

Reimplemented from Element.

Definition at line 528 of file Subdomain.cpp.

References commit().

const Matrix & Subdomain::getTangentStiff ( void   )  [virtual]

Implements Element.

Definition at line 534 of file Subdomain.cpp.

References opserr.

const Matrix & Subdomain::getInitialStiff ( void   )  [virtual]

Implements Element.

Definition at line 542 of file Subdomain.cpp.

References opserr.

const Matrix & Subdomain::getDamp ( void   )  [virtual]

Reimplemented from Element.

Definition at line 550 of file Subdomain.cpp.

References opserr.

const Matrix & Subdomain::getMass ( void   )  [virtual]

Reimplemented from Element.

Definition at line 558 of file Subdomain.cpp.

References opserr.

void Subdomain::zeroLoad ( void   )  [virtual]

Implements Element.

Definition at line 569 of file Subdomain.cpp.

References opserr.

int Subdomain::addLoad ( ElementalLoad theLoad,
double  loadFactor 
) [virtual]

Implements Element.

Definition at line 576 of file Subdomain.cpp.

References opserr.

int Subdomain::addInertiaLoadToUnbalance ( const Vector accel  )  [virtual]

Implements Element.

Definition at line 583 of file Subdomain.cpp.

const Vector & Subdomain::getResistingForce ( void   )  [virtual]

const Vector & Subdomain::getResistingForceIncInertia ( void   )  [virtual]

Reimplemented from Element.

Definition at line 612 of file Subdomain.cpp.

References getResistingForce(), and opserr.

bool Subdomain::isSubdomain ( void   )  [virtual]

Reimplemented from Element.

Definition at line 623 of file Subdomain.cpp.

int Subdomain::setRayleighDampingFactors ( double  alphaM,
double  betaK,
double  betaK0,
double  betaKc 
) [virtual]

Reimplemented from Domain.

Reimplemented in ShadowSubdomain.

Definition at line 630 of file Subdomain.cpp.

References Domain::setRayleighDampingFactors().

Referenced by ActorSubdomain::run().

int Subdomain::computeTang ( void   )  [virtual]

Reimplemented in ShadowSubdomain.

Definition at line 636 of file Subdomain.cpp.

References DomainDecompositionAnalysis::formTangent(), opserr, and Timer::start().

Referenced by FE_Element::getTangent(), and ActorSubdomain::run().

int Subdomain::computeResidual ( void   )  [virtual]

const Matrix & Subdomain::getTang ( void   )  [virtual]

void Subdomain::setFE_ElementPtr ( FE_Element theFE_Ele  ) 

Definition at line 703 of file Subdomain.cpp.

Referenced by FE_Element::FE_Element().

const Vector & Subdomain::getLastExternalSysResponse ( void   )  [virtual]

int Subdomain::computeNodalResponse ( void   )  [virtual]

int Subdomain::newStep ( double  deltaT  )  [virtual]

Reimplemented from Domain.

Reimplemented in ShadowSubdomain.

Definition at line 760 of file Subdomain.cpp.

References DomainDecompositionAnalysis::newStep().

Referenced by PartitionedDomain::newStep(), and ActorSubdomain::run().

bool Subdomain::doesIndependentAnalysis ( void   )  [virtual]

int Subdomain::sendSelf ( int  commitTag,
Channel theChannel 
) [virtual]

int Subdomain::recvSelf ( int  commitTag,
Channel theChannel,
FEM_ObjectBroker theBroker 
) [virtual]

double Subdomain::getCost ( void   )  [virtual]

Reimplemented in ShadowSubdomain.

Definition at line 814 of file Subdomain.cpp.

Referenced by PartitionedDomain::getSubdomainGraph(), and ActorSubdomain::run().

FE_Element * Subdomain::getFE_ElementPtr ( void   )  [protected]

Definition at line 710 of file Subdomain.cpp.


Member Data Documentation

Definition at line 161 of file Subdomain.h.

Referenced by buildMap(), getTang(), and ~Subdomain().


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

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