xc
Public Member Functions | Protected Member Functions | List of all members

Prescribed value over a single degree of freedom. More...

#include <ImposedMotionSP1.h>

Inheritance diagram for XC::ImposedMotionSP1:
XC::ImposedMotionBase XC::SFreedom_Constraint XC::Constraint XC::ContinuaReprComponent XC::DomainComponent XC::TaggedObject XC::MovableObject XC::DistributedBase

Public Member Functions

 ImposedMotionSP1 (void)
 constructor for FEM_ObjectBroker
 
 ImposedMotionSP1 (int spTag, int nodeTag, int ndof, int patternTag, int groundMotionTag)
 constructor for a subclass to use
 
int applyConstraint (double loadFactor)
 Applies constraint at the pseudo-time being passed as parameter. More...
 
bool isHomogeneous (void) const
 Returns true if it's an homogeneous constraint (prescribed value for the DOF is zero). More...
 
int sendSelf (CommParameters &)
 Sends object through the channel being passed as parameter.
 
int recvSelf (const CommParameters &)
 Receives object through the channel being passed as parameter.
 
void Print (std::ostream &s, int flag=0)
 Printing.
 
- Public Member Functions inherited from XC::ImposedMotionBase
 ImposedMotionBase (int classTag)
 Constructor. More...
 
 ImposedMotionBase (int classTag, int spTag, int nodeTag, int ndof, int patternTag, int theGroundMotionTag)
 Constructor. More...
 
 ~ImposedMotionBase (void)
 Destructor.
 
void setDomain (Domain *theDomain)
 Sets the domain of the constraint.
 
double getValue (void) const
 Returns the prescribed value.
 
int getMotion (void)
 Gets the constraint motion.
 
int sendData (CommParameters &cp)
 Sends object members through the channel being passed as parameter.
 
int recvData (const CommParameters &cp)
 Receives object through the channel being passed as parameter.
 
- Public Member Functions inherited from XC::SFreedom_Constraint
 SFreedom_Constraint (int classTag)
 Default constructor. More...
 
 SFreedom_Constraint (int spTag, int nodeTag)
 Constructor. More...
 
 SFreedom_Constraint (int spTag, int nodeTag, int ndof, int classTag)
 Constructor for a subclass to use. More...
 
 SFreedom_Constraint (int spTag, int nodeTag, int ndof, double value, bool isConstant=true)
 Constructor. More...
 
virtual SFreedom_ConstraintgetCopy (void) const
 Virtual constructor.
 
SFreedom_ConstraintgetCopy (const int &) const
 Returns a copy of the contraint with a different tag, it's used in BoundaryCondHandler::addSFreedom_Constraint(nodeTag,seed). More...
 
virtual int getDOF_Number (void) const
 Returns the constrained DOF number.
 
virtual bool affectsNodeAndDOF (int, int) const
 Returns true if the constraint affects the node and DOF arguments.
 
virtual void setLoadPatternTag (int loadPaternTag)
 Sets the load pattern tag for the constraint. More...
 
virtual int getLoadPatternTag (void) const
 Return the load pattern tag of the constraint.
 
void setIsConstant (const bool &b)
 
bool getIsConstant (void) const
 
int getVtkCellType (void) const
 Returns the cell type to be used to represent the object in VTK graphics. More...
 
int sendSelf (CommParameters &)
 Sends object through the channel being passed as parameter.
 
int recvSelf (const CommParameters &)
 Receives object through the channel being passed as parameter.
 
- Public Member Functions inherited from XC::Constraint
 Constraint (int classTag)
 Default constructor; receives the tag of the class as a paramenter. More...
 
 Constraint (int spTag, int nodeTag, int classTag)
 Constructor. More...
 
 ~Constraint (void)
 Destructor.
 
void setNodeTag (const int &nt)
 Sets the identifier of the node that will be constrained. More...
 
virtual int getNodeTag (void) const
 Returns the identifier of the constrained node.
 
virtual const NodegetNode (void) const
 Returns a pointer to the constrained node.
 
virtual int getNodeIdx (void) const
 Returns an index for the node (used for VTK arrays).
 
virtual bool affectsNode (int) const
 Returns true ifafecta to the node cuyo tag being passed as parameter.
 
- Public Member Functions inherited from XC::ContinuaReprComponent
 ContinuaReprComponent (int classTag)
 
 ContinuaReprComponent (int tag, int classTag)
 
virtual const bool isDead (void) const
 
virtual const bool isAlive (void) const
 
virtual void kill (void)
 
virtual void alive (void)
 
- Public Member Functions inherited from XC::DomainComponent
 ~DomainComponent (void)
 Destructor.
 
size_t getIdx (void) const
 Returns the index of the object (to be used in VTK arrays).
 
virtual DomaingetDomain (void) const
 Returns a pointer to the enclosing domain. More...
 
const PreprocessorgetPreprocessor (void) const
 Returns (if possible) a pointer to the preprocessor.
 
PreprocessorgetPreprocessor (void)
 Return (if possible) a pointer to the preprocessor.
 
void set_index (const size_t &i)
 Set the index for the object (see numera in Set). More...
 
- Public Member Functions inherited from XC::TaggedObject
 TaggedObject (int tag, CommandEntity *owr=nullptr)
 Constructor. More...
 
void assignTag (int newTag)
 Set tag (to be called from Python interface).
 
int getTag (void) const
 Returns the tag associated with the object.
 
- Public Member Functions inherited from XC::MovableObject
 MovableObject (int classTag, int dbTag)
 Constructor. More...
 
 MovableObject (int classTag)
 Constructor. More...
 
 MovableObject (const MovableObject &)
 Copy constructor. Doesn't copy the dbTag.
 
MovableObjectoperator= (const MovableObject &)
 Assignment operator. Doesn't copy the dbTag.
 
int getClassTag (void) const
 Return the class identifier.
 
int getDbTag (void) const
 Return the object identifier in the database.
 
int getDbTag (CommParameters &)
 Return the object identifier in the database.
 
void setDbTag (int dbTag)
 Sets the object identifier in the database.
 
void setDbTag (CommParameters &)
 Sets the object identifier in the database if not already set. More...
 
virtual int setParameter (const std::vector< std::string > &argv, Parameter &param)
 Sets the value param to the parameter argv.
 
virtual int updateParameter (int parameterID, Information &info)
 Updates the parameter identified by parameterID with info.
 
virtual int activateParameter (int parameterID)
 Activates the parameter identified by parameterID.
 
virtual int setVariable (const std::string &variable, Information &)
 Set the value of the variable idenfified by var.
 
virtual int getVariable (const std::string &variable, Information &)
 Return the value of the variable idenfified by var.
 
- Public Member Functions inherited from XC::DistributedBase
 DistributedBase (void)
 Constructor.
 
const int & getDbTagDataPos (const int &i) const
 Returns the data at the i-th position.
 
void setDbTagDataPos (const int &i, const int &v)
 Sets the data at the i-th position.
 
void inicComm (const int &dataSize) const
 Initializes communication.
 

Protected Member Functions

int sendData (CommParameters &cp)
 Send object members through the channel being passed as parameter.
 
int recvData (const CommParameters &cp)
 Receives object members through the channel being passed as parameter.
 
- Protected Member Functions inherited from XC::SFreedom_Constraint
DbTagDatagetDbTagData (void) const
 Returns a vector to store the dbTags of the object members.
 
int sendData (CommParameters &cp)
 Sends data through the channel being passed as parameter.
 
int recvData (const CommParameters &cp)
 Receives data through the channel being passed as parameter.
 
- Protected Member Functions inherited from XC::Constraint
int sendData (CommParameters &)
 Send members through the channel being passed as parameter. More...
 
int recvData (const CommParameters &)
 Receives members through the channel being passed as parameter. More...
 
- Protected Member Functions inherited from XC::ContinuaReprComponent
int sendData (CommParameters &)
 Send members through the channel being passed as parameter.
 
int recvData (const CommParameters &)
 Receives members through the channel being passed as parameter.
 
- Protected Member Functions inherited from XC::DomainComponent
 DomainComponent (int tag, int classTag)
 Constructor. More...
 
int sendData (CommParameters &)
 Send object members through the channel being passed as parameter.
 
int recvData (const CommParameters &)
 Receive object members through the channel being passed as parameter.
 
- Protected Member Functions inherited from XC::TaggedObject
void setTag (int newTag)
 Set tag. More...
 

Additional Inherited Members

- Protected Attributes inherited from XC::ImposedMotionBase
GroundMotiontheGroundMotion
 
NodetheNode
 pointer to node being constrained
 
Vector theGroundMotionResponse
 
- Protected Attributes inherited from XC::SFreedom_Constraint
int dofNumber
 identifies which of the nodes dof is constrained
 
double valueR
 the reference value
 
double valueC
 if constant = the reference value, if not constant = the reference value * load factor
 
bool isConstant
 flag indicating if constant
 
int loadPatternTag
 
- Protected Attributes inherited from XC::Constraint
int constrNodeTag
 constrained node tag
 

Detailed Description

Prescribed value over a single degree of freedom.

Member Function Documentation

§ applyConstraint()

int XC::ImposedMotionSP1::applyConstraint ( double  time)
virtual

Applies constraint at the pseudo-time being passed as parameter.

Reimplemented from XC::SFreedom_Constraint.

§ isHomogeneous()

bool XC::ImposedMotionSP1::isHomogeneous ( void  ) const
virtual

Returns true if it's an homogeneous constraint (prescribed value for the DOF is zero).

Reimplemented from XC::ImposedMotionBase.


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