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

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

#include <ShellCrdTransf3dBase.h>

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

Public Member Functions

 ShellCrdTransf3dBase (void)
 Default constructor.
 
 ShellCrdTransf3dBase (const Vector &, const Vector &, const Vector &)
 Default constructor.
 
virtual ShellCrdTransf3dBasegetCopy (void) const =0
 
Matrix getTrfMatrix (void) const
 Returns the transformation matrix. More...
 
const VectorG1 (void) const
 Returns the eje 1 local (contained in the plane of the element)
 
const VectorG2 (void) const
 Returns the eje 2 local (contained in the plane of the element)
 
const VectorG3 (void) const
 Returns the eje 3 local (normal al plano of the element)
 
const VectorgetVPosCentroide (void) const
 Returns the element centroid.
 
Plano3d getPlane (void) const
 Returns element's plane.
 
Pos3d getProj (const Pos3d &)
 Returns point's projection over element's plane.
 
virtual int initialize (const NodePtrs &)=0
 
virtual int setup_nodal_local_coordinates (double xl[2][4]) const
 actualiza las local coordinates of the nodes.
 
virtual int update (void)=0
 
virtual int commitState (void)=0
 
virtual int revertToLastCommit (void)=0
 
virtual int revertToStart (void)=0
 
virtual Vector getBasicTrialDisp (const int &) const =0
 
virtual Vector getBasicTrialVel (const int &) const =0
 
virtual Vector getBasicTrialAccel (const int &) const =0
 
virtual void getGlobalTangent (Matrix &stiff) const
 Return the tangent stiffness matrix expressed in the global coordinate sistem.
 
virtual void getGlobalResidAndTangent (Vector &resid, Matrix &stiff) const
 Returns the residual vector and tangent stiffness matrix expressed in the global coordinate sistem.
 
virtual const VectorgetGlobalResistingForce (const Vector &p0) const =0
 
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.
 
 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.
 
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

DbTagDatagetDbTagData (void) const
 Returns a vector para almacenar los dbTags de los miembros de la clase.
 
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

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 transformations.

Member Function Documentation

XC::ParticlePos3d XC::ShellCrdTransf3dBase::getNaturalCoordinates ( const Pos3d &  pg,
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.

Parameters
pposition in element's local coordinates.
XC::Matrix XC::ShellCrdTransf3dBase::getTrfMatrix ( void  ) const

Returns the transformation matrix.

Return the transformation matrix.


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