XC Open source finite element analysis program
Public Member Functions | Protected Member Functions | Friends | List of all members

A TransformationDOF_Group object is instantiated by the TransformationConstraintHandler for every node in the domain which is constrained by an MFreedom_Constraint or an SFreedom_Constrant. More...

#include <TransformationDOF_Group.h>

Inheritance diagram for XC::TransformationDOF_Group:
XC::DOF_Group XC::TaggedObject

Public Member Functions

 ~TransformationDOF_Group ()
 Destructor.
 
int doneID (void)
 
const ID & getID (void) const
 Method to return the current ID.
 
virtual void setID (int dof, int value)
 to set the corresponding index of the ID to value.
 
Matrix * getT (void)
 
virtual int getNumDOF (void) const
 
virtual int getNumFreeDOF (void) const
 
virtual int getNumConstrainedDOF (void) const
 
const Matrix & getTangent (Integrator *theIntegrator)
 
const Vector & getUnbalance (Integrator *theIntegrator)
 
void addM_Force (const Vector &Udotdot, double fact=1.0)
 
const Vector & getTangForce (const Vector &x, double fact=1.0)
 
const Vector & getC_Force (const Vector &x, double fact=1.0)
 
const Vector & getM_Force (const Vector &x, double fact=1.0)
 
const Vector & getCommittedDisp (void)
 Returns the commited value for the displacement.
 
const Vector & getCommittedVel (void)
 Returns the commited value for the velocity.
 
const Vector & getCommittedAccel (void)
 Returns the commited value for the acceleration.
 
void setNodeDisp (const Vector &u)
 Method to set the corresponding nodes displacements to the values in u, components identified by myID.
 
void setNodeVel (const Vector &udot)
 Method to set the corresponding nodes velocities to the values in u, components identified by myID.
 
void setNodeAccel (const Vector &udotdot)
 Method to set the corresponding nodes accelerations to the values in u, components identified by myID.
 
void incrNodeDisp (const Vector &u)
 Method to set the corresponding nodes displacements increments to the values in u, components identified by myID.
 
void incrNodeVel (const Vector &udot)
 Method to set the corresponding nodes velocities increments to the values in u, components identified by myID.
 
void incrNodeAccel (const Vector &udotdot)
 Method to set the corresponding nodes accelerations increments to the values in u, components identified by myID.
 
virtual void setEigenvector (int mode, const Vector &eigenvalue)
 
int addSFreedom_Constraint (SFreedom_Constraint &theSP)
 
int enforceSPs (void)
 
void addM_ForceSensitivity (const Vector &Udotdot, double fact=1.0)
 
void addD_ForceSensitivity (const Vector &vel, double fact=1.0)
 
void addD_Force (const Vector &vel, double fact=1.0)
 
const Vector & getDispSensitivity (int gradNumber)
 
const Vector & getVelSensitivity (int gradNumber)
 
const Vector & getAccSensitivity (int gradNumber)
 
int saveSensitivity (Vector *v, Vector *vdot, Vector *vdotdot, int gradNum, int numGrads)
 
- Public Member Functions inherited from XC::DOF_Group
virtual void setID (const ID &values)
 
int inicID (const int &value)
 
virtual int getNodeTag (void) const
 
virtual void zeroTangent (void)
 
virtual void addMtoTang (double fact=1.0)
 
virtual void addCtoTang (double fact=1.0)
 
virtual void zeroUnbalance (void)
 
virtual void addPtoUnbalance (double fact=1.0)
 
virtual void addPIncInertiaToUnbalance (double fact=1.0)
 
virtual void Print (std::ostream &, int=0)
 Imprime el objeto.
 
virtual void resetNodePtr (void)
 
- Public Member Functions inherited from XC::TaggedObject
 TaggedObject (int tag, EntCmd *owr=nullptr)
 Constructor.
 
virtual TaggedObject * getCopy (void) const
 Virtual constructor.
 
void assignTag (int newTag)
 Establece el valor del tag.
 
int getTag (void) const
 

Protected Member Functions

 TransformationDOF_Group (int tag, Node *myNode, MFreedom_ConstraintBase *, TransformationConstraintHandler *)
 
 TransformationDOF_Group (int tag, Node *myNode, TransformationConstraintHandler *)
 
std::vector< SFreedom_Constraint * > getSFreedomConstraintArray (int) const
 Create SFreedom_Constraint pointer array.
 
MFreedom_ConstraintBase * getMFreedomConstraint (void)
 Returns a pointer to the multi-freedom constraint.
 
const MFreedom_ConstraintBase * getMFreedomConstraint (void) const
 Returns a pointer to the multi-freedom constraint.
 
size_t getNumRetainedNodes (void) const
 Returns the number of retained nodes.
 
size_t getNumRetainedNodeDOFs (void) const
 Returns the number of retained degrees of freedom (retained nodes x retained DOFs on each node).
 
std::vector< Node * > getPointersToRetainedNodes (void)
 Returns a vector with the pointers to the retained nodes.
 
const Vector & setupResidual (int numCNodeDOF, const ID &, const ID &, const Vector &, const std::vector< Node * > &, const Vector &(Node::*response)(void) const)
 Computes the residual vector and returns it.
 
const Vector & getCommittedResponse (const Vector &(Node::*response)(void) const)
 Returns the commited value for the response.
 
void setupResidual (const Vector &, int(Node::*setTrial)(const Vector &))
 
- Protected Member Functions inherited from XC::DOF_Group
void addLocalM_Force (const Vector &Udotdot, double fact=1.0)
 
 DOF_Group (int tag, Node *myNode)
 
 DOF_Group (int tag, int ndof)
 
- Protected Member Functions inherited from XC::TaggedObject
void setTag (int newTag)
 Establece el valor del tag.
 

Friends

class AnalysisModel
 

Additional Inherited Members

- Protected Attributes inherited from XC::DOF_Group
UnbalAndTangent unbalAndTangent
 
Node * myNode
 

Detailed Description

A TransformationDOF_Group object is instantiated by the TransformationConstraintHandler for every node in the domain which is constrained by an MFreedom_Constraint or an SFreedom_Constrant.


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