xc
|
Zero length element with SectionForceDeformation material. More...
#include <ZeroLengthSection.h>
Public Member Functions | |
ZeroLengthSection (int tag, int dimension, int Nd1, int Nd2, const Vector &x, const Vector &yprime, SectionForceDeformation &theSection) | |
Constructor. More... | |
ZeroLengthSection (int tag, int dimension, const Material *theSection) | |
Constructor: More... | |
ZeroLengthSection (void) | |
Default constructor. | |
ZeroLengthSection (const ZeroLengthSection &) | |
Copy constructor. | |
ZeroLengthSection & | operator= (const ZeroLengthSection &) |
Assignment operator. | |
Element * | getCopy (void) const |
Virtual constructor. | |
~ZeroLengthSection (void) | |
Destructor. | |
void | setDomain (Domain *theDomain) |
Set the enclosing domain. More... | |
int | getOrder (void) const |
int | update (void) |
Update element state. | |
int | commitState (void) |
Commit state of element by committing state of the section. More... | |
int | revertToLastCommit (void) |
Revert state of element to last commit by reverting to last committed state of the section. More... | |
int | revertToStart (void) |
Revert state of element to initial state by reverting to initial state of the section. More... | |
const Matrix & | getInternalForcesTransformation (void) const |
Return the matrix that transforms internal forces into element reactions. | |
void | setUpVectors (const Vector &, const Vector &) |
Set up the transformation matrix for orientation. More... | |
const Matrix & | getTangentStiff (void) const |
Return the tangent stiffness matrix. More... | |
const Matrix & | getInitialStiff (void) const |
Return tangent stiffness matrix for element. More... | |
void | alive (void) |
Reactivates the element. | |
int | addLoad (ElementalLoad *theLoad, double loadFactor) |
The element has no loads, so this operation has no effect and returns 0. | |
int | addInertiaLoadToUnbalance (const Vector &accel) |
The element has no mass, so this operation has no effect and returns 0. | |
const Vector & | getResistingForce (void) const |
Return resisting force vector for element. More... | |
const Vector & | getResistingForceIncInertia (void) const |
Returns the result of getResistingForce() as there is no element mass. | |
Vector | getVDirStrongAxisLocalCoord (void) const |
Returns the direction vector of element strong axis expressed in the local coordinate system. More... | |
Vector | getVDirWeakAxisLocalCoord (void) const |
Returns the direction vector of element weak axis expressed in the local coordinate system. More... | |
double | getStrongAxisAngle (void) const |
Returns the angle between element strong axis and local XZ plane. More... | |
double | getWeakAxisAngle (void) const |
Returns the angle between element weak axis and local XZ plane. More... | |
const Vector & | getVDirStrongAxisGlobalCoord (bool initialGeometry) const |
Returns the direction vector of element strong axis expressed in the global coordinate system. More... | |
const Vector & | getVDirWeakAxisGlobalCoord (bool initialGeometry) const |
Returns the direction vector of element weak axis expressed in the global coordinate system. More... | |
SectionForceDeformation * | getSection (void) |
int | sendSelf (Communicator &) |
Sends object through the communicator argument. | |
int | recvSelf (const Communicator &) |
Receives object through the communicator argument. | |
void | Print (std::ostream &s, int flag=0) const |
Prints the element node tags and section model to the stream {em s}. | |
Response * | setResponse (const std::vector< std::string > &argv, Information &eleInformation) |
setResponse() is a method invoked to determine if the element will respond to a request for a certain of information. More... | |
int | getResponse (int responseID, Information &eleInformation) |
Obtain information from an analysis. More... | |
const Vector & | getResistingForceSensitivity (int gradIndex) |
int | commitSensitivity (int gradIndex, int numGrads) |
![]() | |
Element0D (int tag, int classTag, int Nd1, int Nd2) | |
Constructor. More... | |
Element0D (int tag, int classTag, int Nd1, int Nd2, int dim) | |
Constructor. More... | |
Element0D (int tag, int classTag, int Nd1, int Nd2, int dim, const Vector &, const Vector &) | |
Constructor. More... | |
BoolArray3d | getNodePattern (void) const |
Return a grid of booleans, one for each of the element nodes. More... | |
int | getNumDOF (void) const |
Return the number of degrees of freedom. More... | |
size_t | getDimension (void) const |
Return the element dimension (0, 1, 2 o3 3). | |
int | getVtkCellType (void) const |
VTK interface. | |
const Vector & | getX (void) const |
Returns the direction vector of local X axis (first row of the transformation). | |
const Vector & | getY (void) const |
Returns the direction vector of local Y axis (second row of the transformation). | |
const Vector & | getZ (void) const |
Returns the direction vector of local Z axis (third row of the transformation). | |
Matrix | getLocalAxes (bool) const |
Returns a matrix with the axes of the element as matrix rows [[x1,y1,z1],[x2,y2,z2],...ยท]. | |
Rect3d3dCooSys | getCooSys (bool) const |
Returns the element coordinate system. | |
virtual const Matrix & | getTransformation (void) const |
Pos2d | getProjection (const Pos2d &p, bool initialGeometry=true) const |
Return the projection of the argument on the element. More... | |
Pos3d | getProjection (const Pos3d &p, bool initialGeometry=true) const |
Return the projection of the argument on the element. More... | |
virtual const Matrix & | getExtrapolationMatrix (void) const |
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. | |
![]() | |
ElementBase (int tag, int classTag) | |
Default constructor. | |
ElementBase (const ElementBase &) | |
Copy constructor. | |
ElementBase & | operator= (const ElementBase &) |
Assignment operator. | |
int | getNumExternalNodes (void) const |
Return the number of external nodes. | |
NodePtrsWithIDs & | getNodePtrs (void) |
Returns a pointer to the node vector. | |
const NodePtrsWithIDs & | getNodePtrs (void) const |
Returns a pointer to the node vector. | |
Pos3d | getCenterOfMassPosition (bool initialGeometry=true) const |
Return position of the element centroid. | |
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. | |
![]() | |
Element (int tag, int classTag) | |
Constructor that takes the element's unique tag and the number of external nodes for the element. More... | |
virtual int | getNumEdges (void) const |
Returns number of edges (it must be overloaded for elements that have nodes inside edges. More... | |
std::vector< int > | getIdxNodes (void) const |
Return the indexes of the nodes (used when creating VTK meshes). More... | |
virtual double | getLength (bool initialGeometry=true) const |
Return the element length. More... | |
virtual double | getArea (bool initialGeometry=true) const |
Return the element area. More... | |
virtual double | getVolume (bool initialGeometry=true) const |
Return the element volume. More... | |
virtual void | setIdNodes (const std::vector< int > &inodes) |
Set the nodes. | |
virtual void | setIdNodes (const ID &inodes) |
Set the nodes. | |
virtual void | setIdNode (const int &i, const int &inode) |
Set the i-th node. | |
int | find (const Node *) const |
Returns the index of the node whose pointer is being passed as parameter. More... | |
void | replaceNode (Node *, Node *) |
Replace the old node by the new one. More... | |
virtual bool | isSubdomain (void) |
Returns true if the element is a subdomain. | |
virtual const Matrix & | getDamp (void) const |
Returns the damping matrix. More... | |
virtual const Matrix & | getMass (void) const |
Returns the mass matrix. More... | |
virtual Matrix | getMass (const Node *) const |
Returns the mass matrix corresponding to the node argument. | |
Matrix | getTotalMass (void) const |
Returns the sum of the mass matrices corresponding to the nodes. | |
double | getTotalMassComponent (const int &) const |
Return the mass matrix component for the DOF argument. | |
Matrix | getNodeMatrixComponents (const Node *, const Matrix &) const |
Returns the components of the matrix relative to the node. More... | |
virtual void | zeroLoad (void) |
Zeroes the loads over the element. More... | |
virtual void | createInertiaLoad (const Vector &) |
Creates the inertia load that corresponds to the acceleration argument. More... | |
virtual int | setRayleighDampingFactors (const RayleighDampingFactors &rF) const |
Set Rayleigh damping factors. | |
const Vector & | getNodeResistingComponents (const size_t &, const Vector &) const |
Returns the generalized force of the element over the iNod-th node. More... | |
const Vector & | getNodeResistingForce (const size_t &iNod) const |
Returns the generalized force of the element over the iNod-th node. More... | |
const Vector & | getNodeResistingForceIncInertia (const size_t &iNod) const |
Returns the generalized force (including inertia forces) of the element over the node identified by the argument. More... | |
const Vector & | getNodeResistingForce (const Node *) const |
Returns the generalized force of the element over the node identified by the argument. More... | |
const Vector & | getNodeResistingForceIncInertia (const Node *) const |
Returns the generalized force (including inertia forces) of the element over the node identified by the argument. More... | |
const Vector & | getNodeResistingForceByTag (const int &) const |
Returns the generalized force of the element over the node identified by the given integer. More... | |
const Vector & | getNodeResistingForceIncInertiaByTag (const int &) const |
Returns the generalized force (including inertia forces) of the element over the node identified by the given integer. More... | |
Vector | getEquivalentStaticLoad (int mode, const double &) const |
Returns the equivalent static load for the mode being passed as parameter and the acceleration that corresponding that mode. More... | |
Matrix | getEquivalentStaticNodalLoads (int mode, const double &) const |
Returns the equivalent static load on each node for the mode being passed as parameter and the corresponding acceleration to the mode. More... | |
Response * | setMaterialResponse (Material *, const std::vector< std::string > &, const size_t &, Information &) |
virtual int | addInertiaLoadSensitivityToUnbalance (const Vector &accel, bool tag) |
virtual int | setParameter (const std::vector< std::string > &argv, Parameter ¶m) |
Sets the value param to the parameter argv . | |
int | setMaterialParameter (Material *, const std::vector< std::string > &, const size_t &, Parameter &) |
Set the value of a parameter of the material. More... | |
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 const Matrix & | getInitialStiffSensitivity (int gradNumber) |
virtual const Matrix & | getDampSensitivity (int gradNumber) |
virtual const Matrix & | getMassSensitivity (int gradNumber) |
virtual int | addResistingForceToNodalReaction (bool inclInertia) |
Adds nodal reactions. | |
double | MaxCooNod (int i) const |
Returns the maximum value of the i coordinate of the element nodes. | |
double | MinCooNod (int i) const |
Returns the minimum value of the i coordinate of the element nodes. | |
const Matrix & | getCooNodes (void) const |
Returns the coordinates of the nodes. | |
virtual Vector | getBaseVector (size_t i, bool initialGeometry=true) const |
Returns a base vector in the direction of the local i-th axis from the i-th row of the matrix returned by getLocalAxes. More... | |
virtual Vector3d | getBaseVector3d (size_t i, bool initialGeometry=true) const |
Returns a base vector in the direction of the local i-th axis from the i-th row of the matrix returned by getLocalAxes. More... | |
virtual Vector3d | getIVector3d (bool initialGeometry=true) const |
Returns a vector in the direction of the local x axis from the first row of the matrix returned by getLocalAxes. More... | |
virtual Vector3d | getJVector3d (bool initialGeometry=true) const |
Returns a vector in the direction of the local y axis from the second row of the matrix returned by getLocalAxes. More... | |
virtual Vector3d | getKVector3d (bool initialGeometry=true) const |
Returns a vector in the direction of the local z axis from the third row of the matrix returned by getLocalAxes. More... | |
virtual Rect2d2dCooSys | getCooSys2d (bool) const |
Returns the element coordinate system from the matrix returned by getLocalAxes. More... | |
Pos3d | getPosNode (const size_t &i, bool initialGeometry=true) const |
Returns the position of the i-th node. More... | |
std::deque< Pos3d > | getPosNodes (bool initialGeometry=true) const |
Returns the coordinates of the nodes. More... | |
Vector | getCenterOfMassCoordinates (bool initialGeometry=true) const |
Returns the coordinates of the center of mass of the element. More... | |
Pos3dArray3d | getPoints (const size_t &ni, const size_t &nj, const size_t &nk, bool initialGeometry=true) |
Returns a grid of points distributed along the element. More... | |
bool | In (const GeomObj3d &, const double &factor=1.0, const double &tol=0.0) const |
Return true if the element is inside the given object. | |
bool | Out (const GeomObj3d &, const double &factor=1.0, const double &tol=0.0) const |
Return true if the element is outside the given object. | |
bool | In (const GeomObj2d &, const double &factor=1.0, const double &tol=0.0) const |
Return true if the element is inside the given object. | |
bool | Out (const GeomObj2d &, const double &factor=1.0, const double &tol=0.0) const |
Return true if the element is outside the given object. | |
bool | Crosses (const GeomObj3d &, const double &factor=1.0, const double &tol=0.0) const |
Return true if the element cross (i.e. More... | |
bool | Crosses (const GeomObj2d &, const double &factor=1.0, const double &tol=0.0) const |
Return true if the element cross (i.e. More... | |
virtual double | getDist2 (const Pos2d &p, bool initialGeometry=true) const |
Returns the squared distance from the element to the point being passed as parameter. More... | |
virtual double | getDist (const Pos2d &p, bool initialGeometry=true) const |
Returns the the distance from the element to the point being passed as parameter. More... | |
virtual double | getDist2 (const Pos3d &p, bool initialGeometry=true) const |
Returns the squared distance from the element to the point being passed as parameter. More... | |
virtual double | getDist (const Pos3d &p, bool initialGeometry=true) const |
Returns the the distance from the element to the point being passed as parameter. More... | |
void | resetTributaries (void) const |
Resets tributary areas of connected nodes. | |
void | dumpTributaries (const std::vector< double > &) const |
Adds to the tributary magnitude of each node the vector being passed as parameter. More... | |
virtual void | computeTributaryLengths (bool initialGeometry=true) const |
Computes the tributary lengths that corresponds to each node of the element. More... | |
virtual double | getTributaryLength (const Node *) const |
Returns the tributary length corresponding to the node being passed as parameter. More... | |
virtual double | getTributaryLengthByTag (const int &) const |
Returns the tributary length corresponding to the node which tag se pasa as parameter. More... | |
virtual void | computeTributaryAreas (bool initialGeometry=true) const |
Compute tributary areas for each element node. More... | |
virtual double | getTributaryArea (const Node *) const |
Returns the tributary area corresponding to the node. | |
virtual double | getTributaryAreaByTag (const int &) const |
Returns the tributary area corresponding to the node. | |
virtual void | computeTributaryVolumes (bool initialGeometry=true) const |
Computes the tributary volumes that corresponds to each node of the element. More... | |
virtual double | getTributaryVolume (const Node *) const |
Returns the tributary volume corresponding to the node being passed as parameter. More... | |
virtual double | getTributaryVolumeByTag (const int &) const |
Returns the tributary volume corresponding to the node which tag se pasa as parameter. More... | |
virtual ParticlePos3d | getNaturalCoordinates (const Pos3d &, bool initialGeometry=true) const |
Return the natural coordinates that correspond to the given position. More... | |
virtual Vector | getInterpolationFactors (const ParticlePos3d &) const |
Returns interpolation factors for a material point. | |
virtual Vector | getInterpolationFactors (const Pos3d &) const |
Returns interpolation factors for a material point. | |
virtual const GaussModel & | getGaussModel (void) const |
Returns the Gauss integration model of the element. | |
virtual NodesEdge | getNodesEdge (const size_t &) const |
Returns the nodes of the element edge. | |
virtual int | getEdgeNodes (const Node *, const Node *) const |
Returns the edge of the element that ends in the nodes being passed as parameters. More... | |
int | getEdgeNodes (const int &, const int &) const |
Returns the edge of the element that ends in the nodes with the tags being passed as parameters. More... | |
virtual ID | getEdgesNode (const Node *) const |
Returns the edges of the element that ends in the node being passed as parameter. More... | |
std::set< int > | getEdgesNodes (const NodePtrSet &) const |
Returns the element edges that have both ends in the node set being passed as parameter. More... | |
ID | getEdgesNodeByTag (const int &) const |
Returns the edges of the element that have an en in the node with the tag being passed as parameter. More... | |
virtual ID | getLocalIndexNodesEdge (const size_t &i) const |
Returns the local indexes of the element nodes that lie over the i-th edge. More... | |
virtual std::set< std::string > | getMaterialNames (void) const |
Return the names of the material(s) of the element. | |
boost::python::list | getMaterialNamesPy (void) const |
Return the names of the material(s) of the element in a Python list. | |
virtual boost::python::list | getValuesAtNodes (const std::string &, bool silent=false) const |
Return a python list with the values of the argument property at element nodes. More... | |
std::set< SetBase * > | get_sets (void) const |
Returns the sets to which the element belongs. | |
void | add_to_sets (std::set< SetBase *> &) |
Adds the element to the sets being passed as parameters. | |
void | copySetsFrom (const Element &) |
Add this element to all the sets containing the given one. | |
![]() | |
MeshComponent (int classTag) | |
Constructor. | |
MeshComponent (int tag, int classTag) | |
Constructor. | |
![]() | |
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. | |
![]() | |
~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... | |
![]() | |
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. | |
![]() | |
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. | |
![]() | |
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. | |
![]() | |
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 |
![]() | |
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 | 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 . | |
![]() | |
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. | |
Protected Member Functions | |
int | sendData (Communicator &) |
Send members through the communicator argument. | |
int | recvData (const Communicator &) |
Receives members through the communicator argument. | |
![]() | |
virtual void | setUp (int Nd1, int Nd2, const Vector &x, const Vector &y) |
Establish the external nodes and set up the transformation matrix for orientation. More... | |
ElemPtrArray3d | sew (const SetEstruct &f1, const SetEstruct &f2) const |
int | sendData (Communicator &comm) |
Send members through the communicator argument. | |
int | recvData (const Communicator &comm) |
Receives members through the communicator argument. | |
![]() | |
TIPOMAT * | cast_material (const Material *ptr_mat) |
Casts the material pointer to a suitable type. | |
int | sendData (Communicator &comm) |
Send members through the communicator argument. | |
int | recvData (const Communicator &comm) |
Receives members through the communicator argument. | |
![]() | |
virtual ElemPtrArray3d | put_on_mesh (const NodePtrArray3d &, meshing_dir) const |
Places the element on the mesh. | |
const Vector & | getRayleighDampingForces (void) const |
Returns element Rayleigh damping forces. | |
const Material * | get_material_ptr (const std::string &) const |
Return a pointer to the material that corresponds to the name. More... | |
int | sendData (Communicator &comm) |
Sends object members through the communicator argument. | |
int | recvData (const Communicator &comm) |
Receives object members through the communicator argument. | |
![]() | |
void | setup_matrices (std::deque< Matrix > &, const int &) const |
Initializes the matrix container. | |
int | sendIdsLabels (int posDbTag, Communicator &) |
Send labelsthrough the communicator argument. | |
int | recvIdsLabels (int posDbTag, const Communicator &) |
Receive labels through the communicator argument. | |
int | sendData (Communicator &) |
Send members through the communicator argument. | |
int | recvData (const Communicator &) |
Receives members through the communicator argument. | |
![]() | |
int | sendData (Communicator &) |
Send members through the communicator argument. | |
int | recvData (const Communicator &) |
Receives members through the communicator argument. | |
![]() | |
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. | |
![]() | |
void | setTag (int newTag) |
Set tag. More... | |
bool | isEqual (const TaggedObject &) const |
Return true if both objects are equal. | |
![]() | |
template<class T > | |
void | string_to (T &, const std::string &) const |
![]() | |
bool | isEqual (const EntityWithProperties &) const |
Return true if both objects are equal. | |
![]() | |
virtual bool | isEqual (const EntityWithOwner &) const |
Return true if both objects are equal. | |
Additional Inherited Members | |
![]() | |
typedef std::vector< const Node * > | NodesEdge |
Nodes on an element edge. More... | |
![]() | |
typedef std::map< std::string, boost::python::object > | PythonDict |
![]() | |
static const int | numNodes (void) |
Returns the element number of nodes. | |
![]() | |
static void | setDeadSRF (const double &d) |
Assigns Stress Reduction Factor for element deactivation. | |
static DefaultTag & | getDefaultTag (void) |
Returns next element's tag value by default. | |
![]() | |
static void | resetStandardOutput (void) |
Reset the standard output streams to its defaults buffers. | |
![]() | |
static int | getVerbosityLevel (void) |
Get the value of the verbosity level. | |
static void | setVerbosityLevel (const int &) |
Set the value of the verbosity level. | |
![]() | |
static double | dead_srf = 1e-6 |
Stress reduction factor for foozen elements. | |
![]() | |
static CommandEntity * | entcmd_cast (boost::any &data) |
![]() | |
int | dimension |
= 2 or 3 dimensions | |
int | numDOF |
number of dof for ZeroLengthSection | |
Matrix | transformation |
transformation matrix for orientation | |
![]() | |
NodePtrsWithIDs | theNodes |
pointers to node. | |
![]() | |
Vector | load |
vector for applied nodal loads. | |
RayleighDampingFactors | rayFactors |
Rayleigh damping factors. | |
Matrix | Kc |
pointer to hold last committed matrix if needed for rayleigh damping | |
![]() | |
int | index |
Index for VTK arrays. | |
LabelContainer | labels |
Label container. | |
![]() | |
static Matrix | extrapolation_matrix |
Extrapolation matrix. | |
static const double | LenTol = 1.0e-6 |
Tolerance for zero length of element. | |
![]() | |
static int | verbosity = 1 |
Object that owns THIS ONE. More... | |
Zero length element with SectionForceDeformation material.
The ZeroLengthSection class represents an element defined by two nodes at the same geometric location, hence it has zero length. The nodes are connected by a SectionForceDeformation material which represents the force-deformation relationship for the element. ZeroLengthSection elements are constructed in a domain of dimension
2 or 3, connected by nodes {Nd1} and {Nd2}. The vector x
defines the local x-axis for the element and the vector yprime
lies in the local x-y plane for the element. The local z-axis is the cross product between x
and yprime
, and the local y-axis is the cross product between the local z-axis and x
. The section model acts in the local space defined by the x
and yprime
vectors. The section axial force-deformation acts along the element local x-axis and the section y-z axes directly corresponsd to the local element y-z axes.
XC::ZeroLengthSection::ZeroLengthSection | ( | int | tag, |
int | dim, | ||
int | Nd1, | ||
int | Nd2, | ||
const Vector & | x, | ||
const Vector & | yprime, | ||
SectionForceDeformation & | sec | ||
) |
Constructor.
tag | element identifier. |
dim | space dimension (1, 2 or 3). |
Nd1 | identifier of the first node. |
Nd2 | identifier of the second node. |
x | Vector that defines the local x-axis. |
yprime | Vector that defines the local x-y plane. |
sec | SectionForceDeformation material for the element. |
XC::ZeroLengthSection::ZeroLengthSection | ( | int | tag, |
int | dim, | ||
const Material * | sec | ||
) |
Constructor:
tag | element identifier. |
dim | space dimension (1, 2 or 3). |
sec | SectionForceDeformation material for the element. |
|
virtual |
Commit state of element by committing state of the section.
Return 0 if successful, !0 otherwise.
Reimplemented from XC::Element.
|
virtual |
Return tangent stiffness matrix for element.
The element tangent is computed from the section tangent matrix, \(k_b\), as \(K_e = A^T k_b A\).
Implements XC::Element.
|
virtual |
Return resisting force vector for element.
The element resisting force is computed from the section stress resultants, \(s\), as \(P_e = A^T s\). The section stress resulant is obtained by calling getStressResultant().
Implements XC::Element.
|
virtual |
Obtain information from an analysis.
getResponse is a method invoked to obtain information from an analysis. The method is invoked with the integer argument returned and the Information object that was prepared in a successful {setResponse()} method invocation. To return \(0\) if successful, a negative number if not. The base class implementation will always return \(-1\).
Reimplemented from XC::Element.
double XC::ZeroLengthSection::getStrongAxisAngle | ( | void | ) | const |
Returns the angle between element strong axis and local XZ plane.
|
virtual |
Return the tangent stiffness matrix.
To return the tangent stiffness matrix. The element is to compute its stiffness matrix based on the original location of the nodes and the current trial displacement at the nodes.
\[ K_e = {\frac{\partial f_{R_i}}{\partial U} \vert}_{U_{trial}} \]
Implements XC::Element.
const XC::Vector & XC::ZeroLengthSection::getVDirStrongAxisGlobalCoord | ( | bool | initialGeometry | ) | const |
Returns the direction vector of element strong axis expressed in the global coordinate system.
XC::Vector XC::ZeroLengthSection::getVDirStrongAxisLocalCoord | ( | void | ) | const |
Returns the direction vector of element strong axis expressed in the local coordinate system.
const XC::Vector & XC::ZeroLengthSection::getVDirWeakAxisGlobalCoord | ( | bool | initialGeometry | ) | const |
Returns the direction vector of element weak axis expressed in the global coordinate system.
XC::Vector XC::ZeroLengthSection::getVDirWeakAxisLocalCoord | ( | void | ) | const |
Returns the direction vector of element weak axis expressed in the local coordinate system.
double XC::ZeroLengthSection::getWeakAxisAngle | ( | void | ) | const |
Returns the angle between element weak axis and local XZ plane.
|
virtual |
Revert state of element to last commit by reverting to last committed state of the section.
Return 0 if successful, !0 otherwise.
Implements XC::Element.
|
virtual |
Revert state of element to initial state by reverting to initial state of the section.
Return 0 if successful, !0 otherwise.
Reimplemented from XC::Element.
|
virtual |
Set the enclosing domain.
Set a link to the enclosing Domain and to set the node pointers. also determines the number of dof associated with the XC::ZeroLengthSection element, we set matrix and vector pointers, allocate space for t matrix and define it as the basic deformation- displacement transformation matrix.
Reimplemented from XC::Element.
|
virtual |
setResponse() is a method invoked to determine if the element will respond to a request for a certain of information.
The information requested of the element is passed in the array of char pointers argv
of length {em argc}. If the element does not respond to the request a \(-1\) is returned. If it does respond, an integer value greater than or equal to \(0\) is returned. This is the responseID
passed in the getResponse() method. In addition the Element object is responsible for setting the Information object eleInformation
with the type of the return, i.e. {IntType, DoubleType, MatrixType, VectorType, IDType}, and for creating a Matrix, Vector or ID object for the Information object, if the information to be returned is of any of these types. The information object is responsible for invoking the destructor on these objects. The base class responds to no requests and will always return \(-1\).
Reimplemented from XC::Element.
Set up the transformation matrix for orientation.
x | vector components in global coordinates defining local x-axis (vector x) |
yp | vector components in global coordinates defining vector yp which lies in the local x-y plane for the element. The local z-axis is defined by the cross product between the vectors x and yp |
Reimplemented from XC::Element0D.