xc
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members

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

#include <ShellCorotCrdTransf3d.h>

Inheritance diagram for XC::ShellCorotCrdTransf3d:
XC::ShellCrdTransf3dBase XC::MovableObject XC::DistributedBase

Public Member Functions

 ShellCorotCrdTransf3d (void)
 Default constructor.
 
 ShellCorotCrdTransf3d (const Vector &, const Vector &, const Vector &)
 Constructor.
 
 ShellCorotCrdTransf3d (const NodePtrs &t)
 Computes basic vectors from the node coordinates.
 
virtual ShellCrdTransf3dBasegetCopy (void) const
 Virtual constructor.
 
const VectorG1trial (void) const
 Returns the local axis 1 (lies in the plane of the element)
 
const VectorG2trial (void) const
 Returns the local axis 2 (lies in the plane of the element)
 
const VectorG3trial (void) const
 Returns the local axis 3 (normal to the element plane)
 
Matrix getR0 (void) const
 Returns the transformation matrix corresponding to element initial configuration. More...
 
Matrix getR (void) const
 Returns the transformation matrix corresponding to element current configuration. More...
 
Matrix getR0T (void) const
 Returns the transposed of the transformation matrix corresponding to element initial configuration. More...
 
virtual int initialize (const NodePtrs &)
 Sets the transformations from node positions.
 
virtual int update (void)
 Updates the transformation from current node positions.
 
virtual int commitState (void)
 Consuma la coordinate transformation de acuerdo con el estado actual.
 
virtual int revertToLastCommit (void)
 Returns to the last commited state.
 
virtual int revertToStart (void)
 Returns to the initial state.
 
virtual Vector getBasicTrialDisp (const int &) const
 Returns the displacement vectors expressed on the basic system.
 
virtual Vector getBasicTrialVel (const int &) const
 
virtual Vector getBasicTrialAccel (const int &) const
 Returns the acceleration vector de expressed on the the basic system.
 
void getGlobalTangent (Matrix &stiff) const
 Return the tangent stiffness matrix expresada en globales.
 
void getGlobalResidAndTangent (Vector &resid, Matrix &stiff) const
 Returns the unbalanced vector expresado en globales.
 
virtual const VectorgetGlobalResistingForce (const Vector &p0) const
 Returns the load vector expresado en el sistema global of the element.
 
int sendSelf (CommParameters &)
 Send the object through the channel being passed as parameter.
 
int recvSelf (const CommParameters &)
 Receives object through the channel being passed as parameter.
 
- Public Member Functions inherited from XC::ShellCrdTransf3dBase
 ShellCrdTransf3dBase (void)
 Default constructor.
 
 ShellCrdTransf3dBase (const Vector &, const Vector &, const Vector &)
 Default constructor.
 
Matrix getTrfMatrix (void) const
 Returns the transformation matrix. More...
 
const VectorG1 (void) const
 Returns the first local axis (contained in the plane of the element)
 
const VectorG2 (void) const
 Returns the second local axis (contained in the plane of the element)
 
const VectorG3 (void) const
 Returns the third local axis (normal to the plane of the element)
 
const VectorgetVPosCentroide (void) const
 Returns the element centroid.
 
Plane getPlane (void) const
 Returns element's plane.
 
Pos3d getProj (const Pos3d &)
 Returns point's projection over element's plane.
 
virtual int setup_nodal_local_coordinates (double xl[2][4]) const
 Update local coordinates of the nodes.
 
const VectorgetVectorGlobalCoordFromLocal (const Vector &localCoords) const
 Returns the vector expressed in global coordinates.
 
const MatrixgetVectorGlobalCoordFromLocal (const Matrix &localCoords) const
 Returns the vectors expressed in global coordinates.
 
const VectorgetVectorLocalCoordFromGlobal (const Vector &globalCoords) const
 Returns the vector expresado en local coordinates.
 
virtual Matrix getLocalAxes (bool initialGeometry=true) const
 Returs a matrix with the axes of the element as matrix rows [[x1,y1,z1],[x2,y2,z2],...ยท].
 
Ref2d3d getLocalReference (bool initialGeometry=true) const
 Returns element's reference.
 
Pos2d getLocalCoordinates (const Pos3d &) const
 Returns point's local coordinates.
 
ParticlePos3d getNaturalCoordinates (const Pos3d &, double xl[2][4]) const
 Return natural coordinates for point xyz (in cartesian coord.) based on $ 23.6 from Felippa book:"Introduction to Finite Element Methods" see IFEM.Ch23.pdf. More...
 
- 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.
 
MovableObjectoperator= (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 (CommParameters &)
 Return the object identifier in the database.
 
void setDbTag (int dbTag)
 Sets the object identifier in the database.
 
void setDbTag (CommParameters &)
 Sets the object identifier in the database if not already set. More...
 
virtual int setParameter (const std::vector< std::string > &argv, Parameter &param)
 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.
 
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

Vector global_to_local (const Vector &, const Vector &) const
 Returns the vector expresado en coordinates locales a partir del displacement expresado en globales. More...
 
Vector global_to_local_disp_nod (const int &) const
 Returns the i-th node translation vector expressed in local coordinates.
 
Vector global_to_local_vel_nod (const int &) const
 Returns the i-th node translational components of its velocity vector expressed in global coordinates. More...
 
Vector global_to_local_accel_nod (const int &) const
 Returns the i-th node translational components of its acceleration vector expressed in local coordinates. More...
 
Vector local_to_global (const Matrix &, const Matrix &, const Vector &) const
 Returns the global coordinates of the displacement vector. More...
 
Matrix local_to_global (const Matrix &, const Matrix &, const Matrix &) const
 Return the matrix expressed in global coordinates. More...
 
const Vectorlocal_to_global_resisting_force (const Vector &pl) const
 Returns the global coordinates of the load vector. More...
 
- Protected Member Functions inherited from XC::ShellCrdTransf3dBase
DbTagDatagetDbTagData (void) const
 Returns a vector to store the dbTags of the class members. More...
 
int sendData (CommParameters &)
 Sends object members through the channel being passed as parameter.
 
int recvData (const CommParameters &)
 Receives object members through the channel being passed as parameter.
 
Vector local_to_global (const Matrix &, const Vector &) const
 Returns the vector in global coordinates.
 
Matrix local_to_global (const Matrix &, const Matrix &) const
 Returns the matrix in global coordinates.
 

Protected Attributes

Vector v130
 
Vector v240
 
Vector g1trial
 Vector 1 of the reference trihedron.
 
Vector g2trial
 Vector 2 of the reference trihedron.
 
Vector g3trial
 Vector 3 of the reference trihedron.
 
Vector g1commit
 Vector 1 of the reference trihedron.
 
Vector g2commit
 Vector 2 of the reference trihedron.
 
Vector g3commit
 Vector 3 of the reference trihedron.
 
- Protected Attributes inherited from XC::ShellCrdTransf3dBase
const NodePtrstheNodes
 
Vector vpos_centroide
 Element centroid position.
 
Vector g1
 Vector 1 of the reference trihedron.
 
Vector g2
 Vector 2 of the reference trihedron.
 
Vector g3
 Vector 3 of the reference trihedron.
 

Detailed Description

Base class for 3D coordinate transformation.

Member Function Documentation

§ getR()

XC::Matrix XC::ShellCorotCrdTransf3d::getR ( void  ) const

Returns the transformation matrix corresponding to element current configuration.

§ getR0()

XC::Matrix XC::ShellCorotCrdTransf3d::getR0 ( void  ) const

Returns the transformation matrix corresponding to element initial configuration.

§ getR0T()

XC::Matrix XC::ShellCorotCrdTransf3d::getR0T ( void  ) const

Returns the transposed of the transformation matrix corresponding to element initial configuration.

§ global_to_local()

XC::Vector XC::ShellCorotCrdTransf3d::global_to_local ( const Vector di,
const Vector vi0 
) const
protected

Returns the vector expresado en coordinates locales a partir del displacement expresado en globales.

§ global_to_local_accel_nod()

XC::Vector XC::ShellCorotCrdTransf3d::global_to_local_accel_nod ( const int &  i) const
protected

Returns the i-th node translational components of its acceleration vector expressed in local coordinates.

§ global_to_local_vel_nod()

XC::Vector XC::ShellCorotCrdTransf3d::global_to_local_vel_nod ( const int &  i) const
protected

Returns the i-th node translational components of its velocity vector expressed in global coordinates.

§ local_to_global() [1/2]

XC::Vector XC::ShellCorotCrdTransf3d::local_to_global ( const Matrix R,
const Matrix Rd,
const Vector displ 
) const
protected

Returns the global coordinates of the displacement vector.

Parameters
displdisplacement vector expressed in local coordinates.

§ local_to_global() [2/2]

XC::Matrix XC::ShellCorotCrdTransf3d::local_to_global ( const Matrix R,
const Matrix Rd,
const Matrix kl 
) const
protected

Return the matrix expressed in global coordinates.

Parameters
klmatrix expressed in local coordinates.

§ local_to_global_resisting_force()

const XC::Vector & XC::ShellCorotCrdTransf3d::local_to_global_resisting_force ( const Vector pl) const
protected

Returns the global coordinates of the load vector.

Parameters
plload vector.

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