XC Open source finite element analysis program
|
Linear coordinate transformation. Performs a linear transformation of element stiffness and responses between local and global reference systems. More...
#include <LinearCrdTransf3d.h>
Public Member Functions | |
LinearCrdTransf3d (int tag) | |
Default constructor. | |
LinearCrdTransf3d (int tag, const Vector &vecInLocXZPlane) | |
constructor More... | |
LinearCrdTransf3d (int tag, const Vector &vecInLocXZPlane, const Vector &rigJntOffsetI, const Vector &rigJntOffsetJ) | |
Constructor. | |
LinearCrdTransf3d (void) | |
Constructor; invoked by a FEM_ObjectBroker, recvSelf() needs to be invoked on this object. | |
int | update (void) |
Updates the transformation. | |
int | commitState (void) |
Commits state of the coordinate transformation. | |
int | revertToLastCommit (void) |
Returns to the last commited state. | |
int | revertToStart (void) |
Returns to the initial state. | |
const Vector & | getGlobalResistingForce (const Vector &basicForce, const Vector &p0) const |
Returns the load vector expresado en el sistema global of the element. | |
const Matrix & | getGlobalStiffMatrix (const Matrix &basicStiff, const Vector &basicForce) const |
Returns the stiffness matrix expresada en el sistema global of the element. | |
CrdTransf3d * | getCopy (void) const |
Virtual constructor. | |
void | Print (std::ostream &s, int flag=0) |
Imprime el objeto. | |
const Vector & | getPointGlobalCoordFromLocal (const Vector &) const |
const Vector & | getPointGlobalDisplFromBasic (double xi, const Vector &) const |
Public Member Functions inherited from XC::SmallDispCrdTransf3d | |
SmallDispCrdTransf3d (int tag, int classTag) | |
Default constructor. | |
SmallDispCrdTransf3d (int tag, int classTag, const Vector &vecInLocXZPlane) | |
Constructor: | |
double | getInitialLength (void) const |
Return the longitud inicial of the element. | |
double | getDeformedLength (void) const |
Return the longitud of the element deformado. | |
const Vector & | getBasicTrialDisp (void) const |
Returns the displacements of the element to which the transformation belongs Returns the following quantities in ub vector (see calc_ub): -ub(0)= dx2-dx1: Element elongation. -ub(1)= (dy1-dy2)/L+gz1: Rotation about z axis of node 1. -ub(2)= (dy1-dy2)/L+gz2: Rotation about z axis of node 2. -ub(3)= (dz2-dz1)/L+gy1: Rotation about y axis of node 1. -ub(4)= (dz2-dz1)/L+gy2: Rotation about y axis of node 2. -ub(5)= dx2-dx1: Twist. | |
const Vector & | getBasicIncrDisp (void) const |
const Vector & | getBasicIncrDeltaDisp (void) const |
const Vector & | getBasicTrialVel (void) const |
const Vector & | getBasicTrialAccel (void) const |
const Matrix & | getInitialGlobalStiffMatrix (const Matrix &basicStiff) const |
int | sendSelf (CommParameters &) |
Sends object members through the channel being passed as parameter. | |
int | recvSelf (const CommParameters &) |
Receives object members through the channel being passed as parameter. | |
Public Member Functions inherited from XC::CrdTransf3d | |
CrdTransf3d (int tag, int classTag) | |
Default constructor. | |
CrdTransf3d (int tag, int classTag, const Vector &vecInLocXZPlane) | |
Constructor: | |
int | initialize (Node *node1Pointer, Node *node2Pointer) |
virtual void | set_xz_vector (const Vector &vecInLocXZPlane) |
Asigna el valor del vector contenido en el plano XZ local. | |
Vector | get_xz_vector (void) const |
Returns the vector contenido en el plano XZ local. | |
const Vector & | getI (void) const |
Returns the ${i}$ unit vector of the local axis expressed in global coordinates for the current geometry. | |
const Vector & | getJ (void) const |
Returns the ${j}$ unit vector of the local axis expressed in global coordinates for the current geometry. | |
const Vector & | getK (void) const |
Returns the ${k}$ unit vector of the local axis expressed in global coordinates for the current geometry. | |
Matrix | getLocalAxes (bool) const |
Returs a matrix with the axes of the element as matrix rows [[x1,y1,z1],[x2,y2,z2],...·]. | |
int | getLocalAxes (Vector &xAxis, Vector &yAxis, Vector &zAxis) const |
Pos3d | getPosNodeI (void) const |
Returns the position of node I. | |
Pos3d | getPosNodeJ (void) const |
Return the position of node J. | |
Ref3d3d | getLocalReference (void) const |
Returns the local reference system. | |
Vector | getPointLocalCoordFromGlobal (const Vector &xg) const |
Returns the local coordinates del punto a partir de las globales. | |
const Vector & | getPointGlobalCoordFromBasic (const double &xi) const |
Returns the punto expresado en global coordinates. | |
const Matrix & | getPointsGlobalCoordFromBasic (const Vector &) const |
Returns the puntos expresados en global coordinates. | |
const Vector & | getVectorGlobalCoordFromLocal (const Vector &localCoords) const |
Returns the vector expressed in global coordinates. | |
const Matrix & | getVectorGlobalCoordFromLocal (const Matrix &localCoords) const |
Returns the vectores formados por las filas de la matriz expresados en global coordinates y colocados en otra matriz. | |
const Vector & | getVectorLocalCoordFromGlobal (const Vector &globalCoords) const |
Returns the vector expresado en local coordinates. | |
const Matrix & | getCooNodos (void) const |
Returns the coordinates of the nodes. | |
const Matrix & | getCooPuntos (const size_t &ndiv) const |
Returns puntos distribuidos entre los nodos extremos. | |
const Vector & | getCooPunto (const double &xrel) const |
Returns the punto correspondiente a la coordenada 0<=xrel<=1. | |
void | gira (const double &) |
Hace girar el la coordinate transformation en sentido antihorario el ángulo being passed as parameter. | |
Public Member Functions inherited from XC::CrdTransf | |
CrdTransf (int tag, int classTag, int dim_joint_offset) | |
Constructor. | |
virtual | ~CrdTransf (void) |
Destructor virtual. | |
const TransfCooLoader * | GetTransfCooLoader (void) const |
Returns (if possible) a pointer to the coordinate transformation handler (owner). | |
TransfCooLoader * | GetTransfCooLoader (void) |
Returs a pointer to the coordinate transformation handler (if possible). | |
std::string | getName (void) const |
Returns the name of the material. | |
double | getLength (bool initialGeometry=true) const |
virtual const Vector & | getBasicDisplSensitivity (int gradNumber) |
virtual const Vector & | getGlobalResistingForceShapeSensitivity (const Vector &basicForce, const Vector &uniformLoad) |
virtual const Vector & | getBasicTrialDispShapeSensitivity (void) |
double | getPointBasicCoordFromGlobal (const Vector &globalCoords) const |
const Matrix & | getPointsGlobalCoordFromLocal (const Matrix &localCoords) const |
Public Member Functions inherited from XC::TaggedObject | |
TaggedObject (int tag, EntCmd *owr=nullptr) | |
Constructor. | |
void | assignTag (int newTag) |
Establece el valor del tag. | |
int | getTag (void) const |
Public Member Functions inherited from XC::MovableObject | |
MovableObject (int classTag, int dbTag) | |
Constructor. | |
MovableObject (int classTag) | |
Constructor. | |
MovableObject (const MovableObject &otro) | |
Copy constructor. | |
MovableObject & | operator= (const MovableObject &otro) |
Operacdor asignación. | |
int | getClassTag (void) const |
Returns the tag de la clase. | |
int | getDbTag (void) const |
Returns the tag para la database. | |
int | getDbTag (CommParameters &) |
Returns the tag para la database. | |
void | setDbTag (int dbTag) |
Asigna el tag para la database. | |
void | setDbTag (CommParameters &) |
Asigna, sólo si es preciso, el tag para la database. | |
virtual int | setParameter (const std::vector< std::string > &argv, Parameter ¶m) |
virtual int | updateParameter (int parameterID, Information &info) |
virtual int | activateParameter (int parameterID) |
virtual int | setVariable (const std::string &variable, Information &) |
Returns the identificador de la variable cuyo nombre being passed as parameter. | |
virtual int | getVariable (const std::string &variable, Information &) |
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. | |
Additional Inherited Members | |
Protected Member Functions inherited from XC::SmallDispCrdTransf3d | |
virtual int | computeElemtLengthAndOrient (void) const |
virtual int | calculaEjesLocales (void) const |
Vector & | basic_to_local_resisting_force (const Vector &pb, const Vector &p0) const |
Transform resisting forces from the basic system to local coordinates. | |
const Vector & | local_to_global_resisting_force (const Vector &pl) const |
Matrix & | basic_to_local_stiff_matrix (const Matrix &KB) const |
const Matrix & | local_to_global_stiff_matrix (const Matrix &kl) const |
DbTagData & | getDbTagData (void) const |
Returns a vector para almacenar los dbTags de los miembros de la clase. | |
Protected Member Functions inherited from XC::CrdTransf3d | |
void | set_rigid_joint_offsetI (const Vector &rigJntOffsetI) |
check rigid joint offset for node I | |
void | set_rigid_joint_offsetJ (const Vector &rigJntOffsetJ) |
check rigid joint offset for node J | |
void | modif_ug_init_disp (double *ug) const |
void | global_to_local (const double *ug, double *ul) const |
Returns node displacements expressed in local coordinates. | |
void | calc_Wu (const double *ug, double *ul, double *Wu) const |
const Vector & | calc_ub (const double *ul, Vector &) const |
int | sendData (CommParameters &cp) |
Sends 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::CrdTransf | |
int | set_node_ptrs (Node *nodeIPointer, Node *nodeJPointer) |
Asigna los pointers to node dorsal y frontal. | |
int | sendData (CommParameters &cp) |
Sends 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::TaggedObject | |
void | setTag (int newTag) |
Establece el valor del tag. | |
Static Protected Member Functions inherited from XC::CrdTransf3d | |
static void | inic_ug (const Vector &d1, const Vector &d2, double *ug) |
brief Rellena el vector de desplazamiento globales of the nodes. | |
Protected Attributes inherited from XC::CrdTransf3d | |
Matrix | R |
Transformation matrix. | |
Protected Attributes inherited from XC::CrdTransf | |
Node * | nodeIPtr |
Node * | nodeJPtr |
pointers to los nodos extremos of the element. | |
double | L |
element length | |
Vector | nodeIOffset |
Vector | nodeJOffset |
rigid joint offsets | |
std::vector< double > | nodeIInitialDisp |
Initial displacement for I node. | |
std::vector< double > | nodeJInitialDisp |
Initial displacement for J node. | |
bool | initialDispChecked |
Static Protected Attributes inherited from XC::CrdTransf3d | |
static Vector | vectorI |
static Vector | vectorJ |
static Vector | vectorK |
static Vector | vectorCoo |
Linear coordinate transformation. Performs a linear transformation of element stiffness and responses between local and global reference systems.
XC::LinearCrdTransf3d::LinearCrdTransf3d | ( | int | tag, |
const Vector & | vecInLocXZPlane | ||
) |
constructor
vecInLocXZPlane | Vector in the plane XZ local. |