xc
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 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 initialize (const NodePtrs &)=0
 
virtual int setup_nodal_local_coordinates (double xl[2][4]) const
 Update 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. More...
 
virtual void getGlobalResidAndTangent (Vector &resid, Matrix &stiff) const
 Returns the residual vector and tangent stiffness matrix expressed in the global coordinate sistem. More...
 
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. 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 sendSelf (CommParameters &cp)=0
 Send the object. More...
 
virtual int recvSelf (const CommParameters &cp)=0
 Receive the object. 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

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

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

§ getDbTagData()

XC::DbTagData & XC::ShellCrdTransf3dBase::getDbTagData ( void  ) const
protectedvirtual

Returns a vector to store the dbTags of the class members.

Reimplemented from XC::DistributedBase.

§ getGlobalResidAndTangent()

void XC::ShellCrdTransf3dBase::getGlobalResidAndTangent ( Vector resid,
Matrix stiff 
) const
virtual

Returns the residual vector and tangent stiffness matrix expressed in the global coordinate sistem.

Reimplemented in XC::ShellCorotCrdTransf3d.

§ getGlobalTangent()

void XC::ShellCrdTransf3dBase::getGlobalTangent ( Matrix stiff) const
virtual

Return the tangent stiffness matrix expressed in the global coordinate sistem.

Reimplemented in XC::ShellCorotCrdTransf3d.

§ getNaturalCoordinates()

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.

§ getTrfMatrix()

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: