|
xc
|
??. More...
#include <MFreedom_Joint2D.h>


Public Member Functions | |
| MFreedom_Joint2D (void) | |
| Constructor. | |
| MFreedom_Joint2D (Domain *theDomain, int tag, int nodeRetain, int nodeConstr, int Maindof, int fixedend, int LrgDsp=0) | |
| Constructor. More... | |
| int | applyConstraint (double pseudoTime) |
| Applies the constraint at the pseudo-time being passed as parameter. More... | |
| virtual const Matrix & | getConstraint (void) const |
| Returns the constraint matrix. More... | |
| int | sendSelf (Communicator &) |
| Sends the object through the communicator argument. | |
| int | recvSelf (const Communicator &) |
| Receives the object through the communicator argument. | |
| void | Print (std::ostream &s, int flag=0) const |
| Printing. | |
Public Member Functions inherited from XC::MFreedom_Joint | |
| MFreedom_Joint (int tag, int classTag) | |
| Constructor. More... | |
| MFreedom_Joint (Domain *theDomain, int tag, int classTag, int nodeRetain, int nodeConstr, int LrgDsp) | |
| Constructor. More... | |
| ~MFreedom_Joint (void) | |
| Destructor. | |
| bool | isTimeVarying (void) const |
| Returns true if constraint varies with time (geometric non-linearity). | |
| void | setDomain (Domain *theDomain) |
| Sets the domain of the constraint. | |
Public Member Functions inherited from XC::MFreedom_Constraint | |
| MFreedom_Constraint (int tag, int classTag) | |
| ! More... | |
| MFreedom_Constraint (int tag) | |
| Constructor. More... | |
| MFreedom_Constraint (int tag, int nodeRetain, int nodeConstr, int classTag) | |
| Constructor to be called from subclasses. More... | |
| MFreedom_Constraint (int tag, int nodeRetain, int nodeConstr, const ID &constrainedDOF, const ID &retainedDOF) | |
| Constructor to be called from subclasses. More... | |
| MFreedom_Constraint (int tag, int nodeRetain, int nodeConstr, const ID &constrainedDOF, const ID &retainedDOF, int classTag) | |
| Constructor to be called from subclasses. More... | |
| MFreedom_Constraint (int tag, int nodeRetain, int nodeConstr, Matrix &constrnt, ID &constrainedDOF, ID &retainedDOF) | |
| Constructor. More... | |
| virtual const int & | getNodeRetained (void) const |
| Returns the tag of the retained (or primary) node. | |
| virtual int & | getNodeRetained (void) |
| Returns the tag of the retained (or primary) node. | |
| virtual size_t | getNumRetainedNodes (void) const |
| Returns the number of retained nodes. | |
| std::vector< Node * > | getPointersToRetainedNodes (void) |
| Returns a vector with the pointers to the retained nodes. | |
| std::vector< const Node * > | getPointersToRetainedNodes (void) const |
| Returns a vector with the pointers to the retained nodes. | |
| bool | affectsNode (int) const |
| Returns true ifafecta to the node cuyo tag being passed as parameter. | |
| bool | affectsNodeAndDOF (int, int) const |
| Returns true if the constraint affects the node and DOF arguments. | |
| virtual const ID & | getRetainedDOFs (void) const |
| Returns the identifiers of the retained degrees of freedom. | |
| virtual const Vector & | getRetainedDOFsInitialDisplacement (void) const |
| Return the initial displacements of the retained DOFs. | |
| boost::python::dict | getPyDict (void) const |
| Return a Python dictionary with the object members values. | |
| void | setPyDict (const boost::python::dict &) |
| Set the values of the object members from a Python dictionary. | |
| int | getVtkCellType (void) const |
| Interfaz con VTK. | |
| int | addResistingForceToNodalReaction (bool inclInertia) |
| Add to nodes the actions due to this constraint. More... | |
Public Member Functions inherited from XC::MFreedom_ConstraintBase | |
| MFreedom_ConstraintBase (int tag, int classTag) | |
| Constructor. More... | |
| MFreedom_ConstraintBase (int tag, int nodeConstr, int classTag) | |
| Constructor to be called from subclasses. More... | |
| MFreedom_ConstraintBase (int tag, int nodeConstr, const ID &, int classTag) | |
| Constructor to be called from subclasses. More... | |
| MFreedom_ConstraintBase (int tag, int nodeConstr, const Matrix &, const ID &, int classTag) | |
| Constructor. More... | |
| virtual const int & | getNodeConstrained (void) const |
| Return the identifier of the constrained node. | |
| virtual int & | getNodeConstrained (void) |
| Return the identifier of the constrained node. | |
| virtual const ID & | getConstrainedDOFs (void) const |
| Returns the identifiers of the constrained degrees of fredom. | |
| virtual const Vector & | getConstrainedDOFsInitialDisplacement (void) const |
| std::vector< int > | getIdxNodes (void) const |
| Return the indices of the nodes (for VTK). | |
| bool | isTimeVarying (void) const |
| Returns true if the constraint varies with time. | |
| bool | affectsNode (int) const |
| Returns true if the constraints affects the node identified by the tag being passed as parameter. More... | |
| bool | affectsNodeAndDOF (int theNode, int theDOF) const |
| Returns true if the constraint affects the node and DOF arguments. | |
| int | addResistingForceToNodalReaction (bool inclInertia) |
| Add reactions to nodes. | |
| boost::python::dict | getPyDict (void) const |
| Return a Python dictionary with the object members values. | |
| void | setPyDict (const boost::python::dict &) |
| Set the values of the object members from a Python dictionary. | |
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 Node * | getNode (void) const |
| Returns a pointer to the constrained node. | |
| virtual int | getNodeIdx (void) const |
| Returns an index for the node (used for VTK arrays). | |
Public Member Functions inherited from XC::ContinuaReprComponent | |
| ContinuaReprComponent (int classTag) | |
| ContinuaReprComponent (int tag, int classTag) | |
| virtual const bool | isDead (void) const |
| Return true if the component is not active. | |
| virtual const bool | isAlive (void) const |
| Return true if the component is active. | |
| virtual void | kill (void) |
| Deactivates the component. | |
| virtual void | alive (void) |
| Activates the component. | |
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 Domain * | getDomain (void) const |
| Returns a pointer to the enclosing domain. More... | |
| const Preprocessor * | getPreprocessor (void) const |
| Returns (if possible) a pointer to the preprocessor. | |
| Preprocessor * | getPreprocessor (void) |
| Return (if possible) a pointer to the preprocessor. | |
| const LoadPattern * | getCurrentLoadPattern (void) const |
| Return the current load pattern. | |
| LoadPattern * | getCurrentLoadPattern (void) |
| Return the current load pattern. | |
| 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... | |
| virtual TaggedObject * | getCopy (void) const |
| Virtual constructor. | |
| void | assignTag (int newTag) |
| Set tag (to be called from Python interface). | |
| int | getTag (void) const |
| Returns the tag associated with the object. | |
| boost::python::dict | getPyDict (void) const |
| Return a Python dictionary with the object members values. | |
| void | setPyDict (const boost::python::dict &) |
| Set the values of the object members from a Python dictionary. | |
Public Member Functions inherited from CommandEntity | |
| CommandEntity (CommandEntity *owr=nullptr) | |
| Default constructor. | |
| CommandEntity * | Owner (void) |
| Return a pointer to the object owner. | |
| const CommandEntity * | Owner (void) const |
| Return un puntero al objeto propietario de ESTE. | |
| const StandardOutputWrapper & | getStandardOutputWrapper (void) const |
| Return the regular output stream wrapper. | |
| StandardOutputWrapper & | getStandardOutputWrapper (void) |
| Return the regular output stream wrapper. | |
| const std::string & | getLogFileName (void) const |
| Returns log file name. | |
| void | setLogFileName (const std::string &) |
| Sets log file name. | |
| const std::string & | getErrFileName (void) const |
| Returns err file name. | |
| void | setErrFileName (const std::string &) |
| Sets error file name. | |
| const std::string & | getOutputFileName (void) const |
| Returns regular output file name. | |
| void | setOutputFileName (const std::string &) |
| Sets regular output file name. | |
| boost::python::object | evalPy (boost::python::object dict, const std::string &) |
| Return the Python object that results from evaluating the argument. | |
| boost::python::object | execPy (boost::python::object dict, const std::string &) |
| Return the Python objects that results from executing the code in the string argument. | |
| boost::python::object | execFilePy (boost::python::object dict, const std::string &) |
| Return the Python object that results from executing the code in the file. | |
Public Member Functions inherited from EntityWithProperties | |
| EntityWithProperties (EntityWithProperties *owr=nullptr) | |
| Default constructor. | |
| void | clearPyProps (void) |
| Clear python properties map. | |
| bool | hasPyProp (const std::string &) |
| Returns true if property exists. | |
| boost::python::object | getPyProp (const std::string &str) |
| Return the Python object with the name being passed as parameter. | |
| void | setPyProp (std::string str, boost::python::object val) |
| Sets/appends a value tho the Python object's dictionary. | |
| void | copyPropsFrom (const EntityWithProperties &) |
| Copy the properties from the argument. | |
| boost::python::list | getPropNames (void) const |
| Return the names of the object properties weightings. | |
| const PythonDict & | getPropertiesDict (void) const |
| Return a std::map container with the properties of the object. | |
Public Member Functions inherited from EntityWithOwner | |
| EntityWithOwner (EntityWithOwner *owr=nullptr) | |
| Default constructor. | |
| EntityWithOwner (const EntityWithOwner &) | |
| Copy constructor. | |
| EntityWithOwner & | operator= (const EntityWithOwner &) |
| Assignment operator. | |
| virtual bool | operator== (const EntityWithOwner &) const |
| Comparison operator. | |
| virtual | ~EntityWithOwner (void) |
| Virtual destructor. | |
| virtual std::string | getClassName (void) const |
| Returns demangled class name. | |
| void | set_owner (EntityWithOwner *owr) |
| Assigns the owner of the object. | |
| EntityWithOwner * | Owner (void) |
| const EntityWithOwner * | Owner (void) const |
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. | |
| MovableObject & | operator= (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 (Communicator &) |
| Return the object identifier in the database. | |
| void | setDbTag (int dbTag) |
| Sets the object identifier in the database. | |
| void | setDbTag (Communicator &) |
| Sets the object identifier in the database if not already set. More... | |
| virtual int | setParameter (const std::vector< std::string > &argv, Parameter ¶m) |
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. | |
| virtual | ~DistributedBase (void) |
| Destructor. | |
| virtual DbTagData & | getDbTagData (void) const |
| Returns a vector to store class dbTags. | |
| 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. | |
Additional Inherited Members | |
Public Types inherited from EntityWithProperties | |
| typedef std::map< std::string, boost::python::object > | PythonDict |
Static Public Member Functions inherited from CommandEntity | |
| static void | resetStandardOutput (void) |
| Reset the standard output streams to its defaults buffers. | |
Static Public Member Functions inherited from EntityWithOwner | |
| static int | getVerbosityLevel (void) |
| Get the value of the verbosity level. | |
| static void | setVerbosityLevel (const int &) |
| Set the value of the verbosity level. | |
Protected Member Functions inherited from XC::MFreedom_Constraint | |
| void | set_retained_dofs (const ID &) |
| Sets the retained degrees of freedom. | |
| void | set_constrained_retained_dofs (const ID &constrainedDOF, const ID &retainedDOF) |
| Sets the retained and constrained degrees of freedom. | |
| void | initializeUr0 (const Domain *) |
| Compute the initial displacement at retained DOFs. | |
| int | sendData (Communicator &comm) |
| Sends data through the communicator argument. | |
| int | recvData (const Communicator &comm) |
| Receives data through the communicator argument. | |
Protected Member Functions inherited from XC::MFreedom_ConstraintBase | |
| void | set_constraint (const Matrix &c) |
| Set the constraint matrix. | |
| void | set_constrained_dofs (const ID &) |
| Set the constrained degrees of freedom. More... | |
| void | initializeUc0 (const Domain *) |
| Compute the initial displacement at constrained DOFs. | |
| int | sendData (Communicator &comm) |
| Send data through the communicator argument. | |
| int | recvData (const Communicator &comm) |
| Receive data through the communicator argument. | |
Protected Member Functions inherited from XC::Constraint | |
| int | sendData (Communicator &) |
| Send members through the communicator argument. More... | |
| int | recvData (const Communicator &) |
| Receives members through the communicator argument. More... | |
Protected Member Functions inherited from XC::ContinuaReprComponent | |
| int | sendData (Communicator &) |
| Send members through the communicator argument. | |
| int | recvData (const Communicator &) |
| Receives members through the communicator argument. | |
Protected Member Functions inherited from XC::DomainComponent | |
| DomainComponent (int tag, int classTag) | |
| Constructor. More... | |
| int | sendData (Communicator &) |
| Send object members through the communicator argument. | |
| int | recvData (const Communicator &) |
| Receive object members through the communicator argument. | |
Protected Member Functions inherited from XC::TaggedObject | |
| void | setTag (int newTag) |
| Set tag. More... | |
| bool | isEqual (const TaggedObject &) const |
| Return true if both objects are equal. | |
Protected Member Functions inherited from CommandEntity | |
| template<class T > | |
| void | string_to (T &, const std::string &) const |
Protected Member Functions inherited from EntityWithProperties | |
| bool | isEqual (const EntityWithProperties &) const |
| Return true if both objects are equal. | |
Protected Member Functions inherited from EntityWithOwner | |
| virtual bool | isEqual (const EntityWithOwner &) const |
| Return true if both objects are equal. | |
Static Protected Member Functions inherited from CommandEntity | |
| static CommandEntity * | entcmd_cast (boost::any &data) |
Protected Attributes inherited from XC::MFreedom_Joint | |
| Node * | RetainedNode |
| to identify the retained node | |
| Node * | ConstrainedNode |
| to identify the constrained node | |
| int | LargeDisplacement |
| flag for large displacements enabled; LrgDsp=0 means large displacement is not enabled | |
| double | Length0 |
Protected Attributes inherited from XC::MFreedom_Constraint | |
| int | retainedNodeTag |
| Tag of the retained node. | |
| ID | retainDOF |
| ID of retained DOF at retained node. | |
| Vector | Ur0 |
| initial displacement at retained node (same size as retainDOF) | |
Protected Attributes inherited from XC::MFreedom_ConstraintBase | |
| Matrix | constraintMatrix |
| Constraint matrix. | |
| ID | constrDOF |
| ID of constrained DOF at constrained node. | |
| Vector | Uc0 |
| initial displacement at constrained DOFs (same size as constrDOF) | |
Protected Attributes inherited from XC::Constraint | |
| int | constrNodeTag |
| constrained node tag | |
| bool | initialized |
| a flag to avoid recomputing the intial value in setDomain if already initialized | |
Static Protected Attributes inherited from EntityWithOwner | |
| static int | verbosity = 1 |
| Object that owns THIS ONE. More... | |
??.
| XC::MFreedom_Joint2D::MFreedom_Joint2D | ( | Domain * | domain, |
| int | tag, | ||
| int | nodeRetain, | ||
| int | nodeConstr, | ||
| int | Maindof, | ||
| int | fixedend, | ||
| int | LrgDsp = 0 |
||
| ) |
Constructor.
| theDomain | domain where the constraint is defined. |
| tag | tag for the multi-freedom constraint. |
| nodeRetain | identifier of the retained node. |
| nodeConstr | identifier of the constrained node. |
| LrgDsp | true if large displacement (geometric non-linearity) must be expected: 0 for constant constraint matrix(small deformations), 1 for time varying constraint matrix(large deformations), 2 for large deformations with length correction. |
|
virtual |
Applies the constraint at the pseudo-time being passed as parameter.
A method to invoked to inform the MFreedom_Constraint to determine \(C_{cr}\), for the time timeStamp. { The base class will do nothing, as Matrix is assumed to be constant.}
Reimplemented from XC::MFreedom_Constraint.
|
virtual |
Returns the constraint matrix.
Returns the current constraint Matrix, that determined in the last call to applyConstraint(). For the MFreedom_Constraint class, \(C_{cr}\) determined in the constructor is returned.
Reimplemented from XC::MFreedom_ConstraintBase.
1.8.13