class DomainComponent : public TaggedObject, public MovableObject


Inheritance:


Public Methods

virtual ~DomainComponent()
virtual void setDomain(Domain *theDomain)
virtual Domain* getDomain(void) const
virtual int displaySelf(Renderer &, int displayMode, float fact)
virtual int setParameter(char **argv, int argc, Information &eleInformation)
virtual int updateParameter(int responseID, Information &eleInformation)

Protected Methods

DomainComponent(int tag, int classTag)

Inherited from TaggedObject:

Public Methods

inline int getTag(void) const
virtual void Print(ostream &s, int flag =0)
friend ostream& operator<<(ostream &s, TaggedObject &m)
inline int TaggedObject::getTag(void) const

Protected Methods

void setTag(int newTag)

Inherited from MovableObject:

Public Methods

int getClassTag(void) const
int getDbTag(void) const
void setDbTag(int dbTag)
virtual int sendSelf(int commitTag, Channel &theChannel)
virtual int recvSelf(int commitTag, Channel &theChannel, FEM_ObjectBroker &theBroker)

Documentation

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.

virtual ~DomainComponent()

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.

virtual void setDomain(Domain *theDomain)

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).

virtual Domain* getDomain(void) const

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

virtual int displaySelf(Renderer &, int displayMode, float fact)

To cause the object to display itself using theRenderer. The integer displayMode is used to indicate what is to be displayed and the float fact is used to factor the nodal displacements. To return 0 if successful, a negative number if not. This base class simply returns 0. Its up to the subclasses to override this method if the objects are to be rendered.

virtual int setParameter(char **argv, int argc, Information &eleInformation)

virtual int updateParameter(int responseID, Information &eleInformation)

DomainComponent(int tag, int classTag)


Direct child classes:
SP_Constraint
Node
MP_Constraint
LoadPattern
Load
Element

alphabetic index Contents

this page has been generated automatically by a slightly modified version of doc++ for OpenSees

Copyright Contact Us