Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

DomainComponent Class Reference

#include <DomainComponent.h>

Inheritance diagram for DomainComponent::

TaggedObject MovableObject Element Load LoadPattern MP_Constraint Node SP_Constraint BbarBrick BeamWithHinges2d BeamWithHinges3d Brick ConstantPressureVolumeQuad CorotTruss DispBeamColumn2d DispBeamColumn3d EightNodeBrick ElasticBeam2d ElasticBeam3d EnhancedQuad FourNodeQuad NLBeamColumn2d NLBeamColumn3d Truss TrussSection ZeroLength ZeroLengthND ZeroLengthSection ElementalLoad NodalLoad EarthquakePattern MultiSupportPattern ImposedMotionSP ImposedMotionSP1 List of all members.

Public Methods

virtual ~DomainComponent ()
virtual void setDomain (Domain *theDomain)
virtual DomaingetDomain (void) const
virtual int displaySelf (Renderer &, int displayMode, float fact)
 Method for visualisation, default does nothing. More...

virtual int setParameter (char **argv, int argc, Information &eleInformation)
 methods for sensitivity studies. More...

virtual int updateParameter (int responseID, Information &eleInformation)

Protected Methods

 DomainComponent (int tag, int classTag)

Detailed Description

The DomainComponent class is an abstract class, example subclasses include Element, Node, SP\_Constraint, MP\_Constraint, NodalLoad, ElementalLoad. Each object of these types is a component of an enclosing Domain object. The DomainComponent class provides methods to set and retrieve a pointer to the enclosing Domain object. \

}

Definition at line 60 of file DomainComponent.h.


Constructor & Destructor Documentation

DomainComponent::~DomainComponent ( ) [virtual]
 

Constructs a DomainComponent with a tag given by {tag}, whose class tag is given by {classTag}. The tag of a component is some unique means of identifying the component among like components, i.e. the tag of a node would be its unique node number. The {classTag} is a means of identifying the class of the object. No domain is associated with the object. The integer {tag} is passed to the TaggedObject constructor and the integer {classTag} is passed to the MovableObject constructor.

Definition at line 46 of file DomainComponent.cpp.

DomainComponent::DomainComponent ( int tag,
int classTag ) [protected]
 

Definition at line 39 of file DomainComponent.cpp.


Member Function Documentation

int DomainComponent::displaySelf ( Renderer & theViewer,
int displayMode,
float fact ) [virtual]
 

Method for visualisation, default does nothing.

Reimplemented in BbarBrick, BeamWithHinges2d, BeamWithHinges3d, Brick, CorotTruss, DispBeamColumn2d, DispBeamColumn3d, EightNodeBrick, ElasticBeam2d, ElasticBeam3d, EnhancedQuad, FourNodeQuad, NLBeamColumn2d, NLBeamColumn3d, Node, Truss, TrussSection, ZeroLength, ZeroLengthND, and ZeroLengthSection.

Definition at line 70 of file DomainComponent.cpp.

Domain * DomainComponent::getDomain ( void ) const [virtual]
 

Returns a pointer to the Domain to which the component was added, or if the {setDomain()} command was never called on the object.

Definition at line 61 of file DomainComponent.cpp.

Referenced by TransformationFE::TransformationFE(), LoadPattern::addElementalLoad(), Element::addInertiaLoadToUnbalance(), LoadPattern::addNodalLoad(), LoadPattern::addSP_Constraint(), ImposedMotionSP1::applyConstraint(), ImposedMotionSP::applyConstraint(), UniformExcitation::applyLoad(), NodalLoad::applyLoad(), and EarthquakePattern::applyLoad().

void DomainComponent::setDomain ( Domain * theDomain ) [virtual]
 

Sets the encompassing domain of the component to that given by {theDomain}. This method is invoked by {theDomain} when the component is being added to the domain, in an {addDomain..} invocation (see interface for Domain).

Reimplemented in BbarBrick, BeamWithHinges2d, BeamWithHinges3d, Brick, ConstantPressureVolumeQuad, CorotTruss, DispBeamColumn2d, DispBeamColumn3d, EightNodeBrick, ElasticBeam2d, ElasticBeam3d, EnhancedQuad, FourNodeQuad, LoadPattern, NLBeamColumn2d, NLBeamColumn3d, NodalLoad, Truss, TrussSection, UniformExcitation, ZeroLength, ZeroLengthND, and ZeroLengthSection.

Definition at line 53 of file DomainComponent.cpp.

Referenced by Domain::addElement(), LoadPattern::addElementalLoad(), Domain::addElementalLoad(), Domain::addMP_Constraint(), Domain::addNode(), LoadPattern::addSP_Constraint(), Domain::addSP_Constraint(), Domain::removeElement(), LoadPattern::removeElementalLoad(), Domain::removeLoadPattern(), Domain::removeMP_Constraint(), Domain::removeNode(), LoadPattern::removeSP_Constraint(), Domain::removeSP_Constraint(), ZeroLengthSection::setDomain(), ZeroLengthND::setDomain(), ZeroLength::setDomain(), TrussSection::setDomain(), Truss::setDomain(), NodalLoad::setDomain(), NLBeamColumn3d::setDomain(), NLBeamColumn2d::setDomain(), LoadPattern::setDomain(), FourNodeQuad::setDomain(), EnhancedQuad::setDomain(), ElasticBeam3d::setDomain(), ElasticBeam2d::setDomain(), EightNodeBrick::setDomain(), DispBeamColumn3d::setDomain(), DispBeamColumn2d::setDomain(), CorotTruss::setDomain(), ConstantPressureVolumeQuad::setDomain(), Brick::setDomain(), BeamWithHinges3d::setDomain(), BeamWithHinges2d::setDomain(), and BbarBrick::setDomain().

int DomainComponent::setParameter ( char ** argv,
int argc,
Information & info ) [virtual]
 

methods for sensitivity studies.

Reimplemented in BeamWithHinges2d, BeamWithHinges3d, ElasticBeam2d, FourNodeQuad, LoadPattern, NodalLoad, Truss, and TrussSection.

Definition at line 76 of file DomainComponent.cpp.

int DomainComponent::updateParameter ( int parameterID,
Information & info ) [virtual]
 

Reimplemented in BeamWithHinges2d, BeamWithHinges3d, ElasticBeam2d, FourNodeQuad, LoadPattern, NodalLoad, Truss, and TrussSection.

Definition at line 84 of file DomainComponent.cpp.


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