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

Base class for 3D coordinate transformation. More...

#include <CrdTransf3d.h>

Inheritance diagram for XC::CrdTransf3d:
XC::CrdTransf XC::TaggedObject XC::MovableObject XC::DistributedBase XC::CorotCrdTransf3d XC::SmallDispCrdTransf3d XC::LinearCrdTransf3d XC::PDeltaCrdTransf3d

Public Member Functions

 CrdTransf3d (int tag, int classTag)
 Default constructor.
 
 CrdTransf3d (int tag, int classTag, const Vector &vecInLocXZPlane)
 Constructor:
 
virtual CrdTransf3dgetCopy (void) const =0
 Virtual 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 VectorgetI (void) const
 Returns the ${i}$ unit vector of the local axis expressed in global coordinates for the current geometry.
 
const VectorgetJ (void) const
 Returns the ${j}$ unit vector of the local axis expressed in global coordinates for the current geometry.
 
const VectorgetK (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 VectorgetPointGlobalCoordFromBasic (const double &xi) const
 Returns the punto expresado en global coordinates.
 
const MatrixgetPointsGlobalCoordFromBasic (const Vector &) const
 Returns the puntos expresados en global coordinates.
 
const VectorgetVectorGlobalCoordFromLocal (const Vector &localCoords) const
 Returns the vector expressed in global coordinates.
 
const MatrixgetVectorGlobalCoordFromLocal (const Matrix &localCoords) const
 Returns the vectores formados por las filas de la matriz expresados en global coordinates y colocados en otra matriz.
 
const VectorgetVectorLocalCoordFromGlobal (const Vector &globalCoords) const
 Returns the vector expresado en local coordinates.
 
const MatrixgetCooNodos (void) const
 Returns the coordinates of the nodes.
 
const MatrixgetCooPuntos (const size_t &ndiv) const
 Returns puntos distribuidos entre los nodos extremos.
 
const VectorgetCooPunto (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 TransfCooLoaderGetTransfCooLoader (void) const
 Returns (if possible) a pointer to the coordinate transformation handler (owner).
 
TransfCooLoaderGetTransfCooLoader (void)
 Returs a pointer to the coordinate transformation handler (if possible).
 
std::string getName (void) const
 Returns the name of the material.
 
virtual int update (void)=0
 
virtual double getInitialLength (void) const =0
 
virtual double getDeformedLength (void) const =0
 
double getLength (bool initialGeometry=true) const
 
virtual int commitState (void)=0
 
virtual int revertToLastCommit (void)=0
 
virtual int revertToStart (void)=0
 
virtual const VectorgetBasicTrialDisp (void) const =0
 
virtual const VectorgetBasicIncrDisp (void) const =0
 
virtual const VectorgetBasicIncrDeltaDisp (void) const =0
 
virtual const VectorgetBasicTrialVel (void) const =0
 
virtual const VectorgetBasicTrialAccel (void) const =0
 
virtual const VectorgetBasicDisplSensitivity (int gradNumber)
 
virtual const VectorgetGlobalResistingForceShapeSensitivity (const Vector &basicForce, const Vector &uniformLoad)
 
virtual const VectorgetBasicTrialDispShapeSensitivity (void)
 
virtual const VectorgetGlobalResistingForce (const Vector &basicForce, const Vector &uniformLoad) const =0
 
virtual const MatrixgetGlobalStiffMatrix (const Matrix &basicStiff, const Vector &basicForce) const =0
 
virtual const MatrixgetInitialGlobalStiffMatrix (const Matrix &basicStiff) const =0
 
virtual const VectorgetPointGlobalCoordFromLocal (const Vector &localCoords) const =0
 
double getPointBasicCoordFromGlobal (const Vector &globalCoords) const
 
const MatrixgetPointsGlobalCoordFromLocal (const Matrix &localCoords) const
 
virtual const VectorgetPointGlobalDisplFromBasic (double xi, const Vector &basicDisps) const =0
 
- 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
 
virtual void Print (std::ostream &s, int flag=0)
 Imprime el objeto.
 
- Public Member Functions inherited from XC::MovableObject
 MovableObject (int classTag, int dbTag)
 Constructor.
 
 MovableObject (int classTag)
 Constructor.
 
 MovableObject (const MovableObject &otro)
 Copy constructor.
 
MovableObjectoperator= (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 sendSelf (CommParameters &)=0
 
virtual int recvSelf (const CommParameters &)=0
 
virtual int setParameter (const std::vector< std::string > &argv, Parameter &param)
 
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.
 
virtual DbTagDatagetDbTagData (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

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 Vectorcalc_ub (const double *ul, Vector &) const
 
virtual int computeElemtLengthAndOrient (void) const =0
 
virtual int calculaEjesLocales (void) const =0
 
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

static void inic_ug (const Vector &d1, const Vector &d2, double *ug)
 brief Rellena el vector de desplazamiento globales of the nodes.
 

Protected Attributes

Matrix R
 Transformation matrix.
 
- Protected Attributes inherited from XC::CrdTransf
NodenodeIPtr
 
NodenodeJPtr
 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

static Vector vectorI
 
static Vector vectorJ
 
static Vector vectorK
 
static Vector vectorCoo
 

Detailed Description

Base class for 3D coordinate transformation.

Member Function Documentation

const XC::Vector & XC::CrdTransf3d::calc_ub ( const double *  ul,
Vector ub 
) const
protected

Sean dx1,dy1,dz1,gx1,gy1,gz1 los desplazamientos y giros del nodo dorsal y dx2,dy2,dz2,gx2,gy2,gz2 los del nodo frontal expresados en local coordinates. This function gets the following displacements on the ul parameter and returns the following magnitudes on the ub vector: -ub(0)= dx2-dx1: element elongation. -ub(1)= (dy1-dy2)/L+gz1: rotation of node 1 about z axis. -ub(2)= (dy1-dy2)/L+gz2: rotation of node 2 about z axis. -ub(3)= (dz2-dz1)/L+gy1: rotation of node 1 about y axis. -ub(4)= (dz2-dz1)/L+gy2: rotation of node 2 about y axis. -ub(5)= dx2-dx1: element torsion.

void XC::CrdTransf3d::modif_ug_init_disp ( double *  ug) const
protected

brief Modifical el vector de desplazamiento globales of the nodes de acuerdo con los desplazamientos iniciales.


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