Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members File Members
DomainComponent Class Reference#include <DomainComponent.h>
Inheritance diagram for DomainComponent::
List of all members.
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]
|
|
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]
|
|
int DomainComponent::updateParameter (
|
int parameterID,
|
|
Information & info ) [virtual]
|
|
The documentation for this class was generated from the following files:
|